|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.netuix.application.definition.PortletCategoryDefinition
public class PortletCategoryDefinition
Provides a mechanism to categorize PortletDefinition
s.
Field Summary | |
---|---|
protected boolean |
isRoot
|
Constructor Summary | |
---|---|
PortletCategoryDefinition(PortletCategoryDefinitionId pid,
LocalizationResource ld,
String webAppName)
Ctor. |
|
PortletCategoryDefinition(PortletCategoryDefinitionId pid,
LocalizationResource ld,
String webAppName,
boolean isRoot)
|
Method Summary | |
---|---|
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. |
PortletCategoryDefinitionId |
getParentId()
Returns the parent PortletCategoryDefinitionId
for this PortletCategoryDefinition . |
PortletCategoryDefinitionId |
getPortletCategoryDefinitionId()
Returns the PortletCategoryDefinitionId for the
PortletCategoryDefinition . |
String |
getWebAppName()
Returns the name of the J2EE web application this portlet category is scoped to. |
boolean |
isRoot()
Determines if the category is a root category. |
void |
setLocalizationResource(LocalizationResource localizationResource)
Sets LocalizationResource for this
CategoryDefinition . |
void |
setParentId(PortletCategoryDefinitionId pid)
Set the parent category. |
void |
setWebAppName(String webAppName)
Scopes this portlet category to given web application. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean isRoot
Constructor Detail |
---|
public PortletCategoryDefinition(PortletCategoryDefinitionId pid, LocalizationResource ld, String webAppName)
When creating a PortletDefinition
for the ROOT
category the parent portlet category id can be set to null.
pid
- PortletCategoryDefinitionId of parent portlet categoryld
- LocalizationResourcepublic PortletCategoryDefinition(PortletCategoryDefinitionId pid, LocalizationResource ld, String webAppName, boolean isRoot)
Method Detail |
---|
public PortletCategoryDefinitionId getPortletCategoryDefinitionId()
PortletCategoryDefinitionId
for the
PortletCategoryDefinition
.
PortletCategoryDefinitionId
public PortletCategoryDefinitionId getParentId()
PortletCategoryDefinitionId
for this PortletCategoryDefinition
.
public void setParentId(PortletCategoryDefinitionId pid)
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 String getWebAppName()
public void setWebAppName(String webAppName)
webAppName
- public Date getCreatedDate()
getCreatedDate
in interface DateableDefinition
public Date getModifiedDate()
getModifiedDate
in interface DateableDefinition
public String toString()
toString
in class Object
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |