|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.netuix.application.definition.PortalDefinition
public class PortalDefinition
A PortalDefinition
is an aggregator of DesktopDefinition
s.
DesktopDefinition
, Serialized FormConstructor 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.PortalPath
public String getContentUri()
public LocalizationResource getLocalizationResource()
LocalizationResource
associated with this CategoryDefinition
.getLocalizationResource
in interface CategoryDefinition
public void setLocalizationResource(LocalizationResource localizationResource)
LocalizationResource
for this CategoryDefinition
.setLocalizationResource
in interface CategoryDefinition
localizationResource
-public boolean isRoot()
isRoot
in interface CategoryDefinition
true
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 PortalDefinition
newDefinition
- new PortalDefinition
PortalDefinition
public static PortalDefinition clone(LocalizationResource localizationResource, PortalDefinition portalDefinition)
PortalDefinition
.localizationResource
- localized title and descriptionportalDefinition
- portal to be clonedPortalDefinition
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Date getCreatedDate()
getCreatedDate
in interface DateableDefinition
public Date getModifiedDate()
getModifiedDate
in interface DateableDefinition
public void setCreatedDate(Date createdDate)
public void setModifiedDate(Date modifiedDate)
public String toString()
toString
in class Object
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.