|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.netuix.application.definition.PortalDefinition
public class PortalDefinition
A PortalDefinition is an aggregator of
DesktopDefinitions.
DesktopDefinition,
Serialized Form| Constructor Summary | |
|---|---|
PortalDefinition(String webAppName,
PortalPath portalPath,
LocalizationResource lr,
String contentUri)
Constructor to create a new PortalDefinition object. |
|
| Method Summary | |
|---|---|
static PortalDefinition |
clone(LocalizationResource localizationResource,
PortalDefinition portalDefinition)
Clones the given PortalDefinition. |
boolean |
equals(Object o)
|
String |
getContentUri()
Returns the contentUri for this PortalDefinition |
Date |
getCreatedDate()
Gets the time that this object was created in the database. |
LocalizationResource |
getLocalizationResource()
Returns the LocalizationResource associated with
this CategoryDefinition. |
Date |
getModifiedDate()
Gets the time that this object was last updated in the database. |
PortalPath |
getPortalPath()
Returns the PortalPath for this portal. |
String |
getWebAppName()
Returns the name of the J2EE web application this portal is scoped to. |
int |
hashCode()
|
static String |
hasRequiredFields(PortalDefinition portalDefinition)
Checks that the given PortalDefinition has fields that are
required of a PortalDefinition. |
boolean |
isRoot()
Determines if the category is a root category. |
void |
setCreatedDate(Date createdDate)
|
void |
setLocalizationResource(LocalizationResource localizationResource)
Sets LocalizationResource for this
CategoryDefinition. |
void |
setModifiedDate(Date modifiedDate)
|
String |
toString()
|
static PortalDefinition |
update(PortalDefinition existingDefinition,
PortalDefinition newDefinition)
Updates an existing portal with a new PortalDefinition. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PortalDefinition(String webAppName,
PortalPath portalPath,
LocalizationResource lr,
String contentUri)
PortalDefinition object.
webAppName - name of the J2EE web application this portal is
scoped toportalPath - the PortalPath for this portal. The portal path is
the unique name of the portal and is used to access
the portal by being suffixed tothe web application urllr - localized title and descriptioncontentUri - the uri of content to display when a request is received
for this portalPortalPath| Method Detail |
|---|
public String getWebAppName()
public PortalPath getPortalPath()
PortalPath for this portal.
PortalPathpublic String getContentUri()
public LocalizationResource getLocalizationResource()
LocalizationResource associated with
this CategoryDefinition.
getLocalizationResource in interface CategoryDefinitionpublic void setLocalizationResource(LocalizationResource localizationResource)
LocalizationResource for this
CategoryDefinition.
setLocalizationResource in interface CategoryDefinitionlocalizationResource - public boolean isRoot()
isRoot in interface CategoryDefinitiontrue if this category is the rootpublic static String hasRequiredFields(PortalDefinition portalDefinition)
PortalDefinition has fields that are
required of a PortalDefinition. Returns an error string if
any of the required fields is missing null if everything is
correct.
portalDefinition -
public static PortalDefinition update(PortalDefinition existingDefinition,
PortalDefinition newDefinition)
PortalDefinition.
existingDefinition - existing PortalDefinitionnewDefinition - new PortalDefinition
PortalDefinition
public static PortalDefinition clone(LocalizationResource localizationResource,
PortalDefinition portalDefinition)
PortalDefinition.
localizationResource - localized title and descriptionportalDefinition - portal to be cloned
PortalDefinitionpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Date getCreatedDate()
getCreatedDate in interface DateableDefinitionpublic Date getModifiedDate()
getModifiedDate in interface DateableDefinitionpublic void setCreatedDate(Date createdDate)
public void setModifiedDate(Date modifiedDate)
public String toString()
toString in class Object
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||