|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.netuix.application.definition.PageDefinition
This class represents a persistant page.
Field Summary | |
protected PageInstance |
pageInstance
|
Constructor Summary | |
|
PageDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
String definitionLabel,
boolean hidden,
boolean _public,
String webAppName,
LayoutDefinitionId layoutDefinitionId,
ThemeDefinitionId themeDefinitionId)
Constructors to create a new PageDefinition object. |
protected |
PageDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
String definitionLabel,
boolean hidden,
boolean _public,
String webAppName,
PageInstance pageInstance)
Constructor that takes a PageInstance . |
Method Summary | |
String |
getDefinitionLabel()
Returns the definitionLabel associated with this page. |
String |
getDescription()
Retrieves this page's localized description from it's LocalizationResource . |
LayoutDefinitionId |
getLayoutDefinitionId()
Returns LayoutDefinitionId for menu associated with this
LayoutDefinition |
LocalizationIntersectionId |
getLocalizationIntersectionId()
Returns the LocalizationIntersectionId for this page.
|
LocalizationResource |
getLocalizationResource()
Returns the LocalizationResource associated with this
PageDefinition based on the locale of the request used
for retrieving the PageDefinition . |
MarkupDefinitionId |
getMarkupDefinitionId()
Returns the MarkupDefinitionId for the MarkupDefinition
associated with this page. |
NavigableDefinitionId |
getNavigableDefinitionId()
Returns the NavigableDefinitionId associated with this page.
|
PageDefinitionId |
getPageDefinitionId()
Returns the PageDefinitionId for this page.
|
PageInstanceId |
getPrimaryInstanceId()
Returns the BookInstanceId for the primary
page instance associated with this page. |
ThemeDefinitionId |
getThemeDefinitionId()
Returns the ThemeDefinitionId of theme associated with this
PageDefinition . |
String |
getTitle()
Retrieves this page's localized title from it's LocalizationResource . |
String |
getWebAppName()
Returns the name of the J2EE web application this page is scoped to. |
boolean |
isHidden()
Returns true if this page is configured to not be rendered. |
boolean |
isPublic()
Returns whether this page is end-user created. |
void |
setDefinitionLabel(String definitionLabel)
Sets the definitionLabel for this page. |
void |
setHidden(boolean hidden)
Sets whether or not this page renders. |
void |
setLayoutDefinitionId(LayoutDefinitionId layoutDefinitionId)
Associates a layout with this page. |
void |
setLocalizationResource(LocalizationResource localizationResource)
Sets the LocalizationResource for this page. |
void |
setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
Sets the MarkupDefinitionId for this page. |
void |
setPublic(boolean _public)
Sets whether this page is end-user created. |
void |
setThemeDefinitionId(ThemeDefinitionId themeDefinitionId)
Associates a theme with this page. |
void |
setWebAppName(String webAppName)
Scopes this page to specified J2EE web application |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected PageInstance pageInstance
Constructor Detail |
public PageDefinition(LocalizationResource localizationResource, MarkupDefinitionId markupDefinitionId, String definitionLabel, boolean hidden, boolean _public, String webAppName, LayoutDefinitionId layoutDefinitionId, ThemeDefinitionId themeDefinitionId)
PageDefinition
object.
protected PageDefinition(LocalizationResource localizationResource, MarkupDefinitionId markupDefinitionId, String definitionLabel, boolean hidden, boolean _public, String webAppName, PageInstance pageInstance)
PageInstance
.
Method Detail |
public String getDefinitionLabel()
getDefinitionLabel
in interface NavigableDefinition
public String getDescription()
LocalizationResource
.
getDescription
in interface NavigableDefinition
public LayoutDefinitionId getLayoutDefinitionId()
LayoutDefinitionId
for menu associated with this
LayoutDefinition
LayoutDefinitionId
public LocalizationIntersectionId getLocalizationIntersectionId()
LocalizationIntersectionId
for this page.
Returns NULL
if no LocalizationResource is associated with
this page. A LocalizationIntersectionId
is a reference to all
localized versions of title and description for an entity.
LocalizationIntersectionId
for this pagepublic LocalizationResource getLocalizationResource()
LocalizationResource
associated with this
PageDefinition
based on the locale of the request used
for retrieving the PageDefinition
.
getLocalizationResource
in interface NavigableDefinition
LocalizationResource
associated with this pagepublic MarkupDefinitionId getMarkupDefinitionId()
MarkupDefinitionId
for the MarkupDefinition
associated with this page.
MarkupDefinitionId
MarkupDefinition
public NavigableDefinitionId getNavigableDefinitionId()
NavigableDefinitionId
associated with this page.
Returns NULL
when the PageDefinition has not been retrieved
by using the persistence API.
getNavigableDefinitionId
in interface NavigableDefinition
NaviagableDefinitionId
associated with this pageNavigableDefinition
public PageDefinitionId getPageDefinitionId()
PageDefinitionId
for this page.
Returns NULL
when the PageDefinition has not been retrieved
by using the persistence API.
PageDefinitionId
for this pagepublic PageInstanceId getPrimaryInstanceId()
BookInstanceId
for the primary
page instance associated with this page.
public ThemeDefinitionId getThemeDefinitionId()
ThemeDefinitionId
of theme associated with this
PageDefinition
.
ThemeDefinitionId
public String getTitle()
LocalizationResource
.
getTitle
in interface NavigableDefinition
public String getWebAppName()
getWebAppName
in interface NavigableDefinition
public boolean isHidden()
isHidden
in interface NavigableDefinition
PageDefinition
is hiddenpublic boolean isPublic()
public void setDefinitionLabel(String definitionLabel)
definitionLabel
- public void setHidden(boolean hidden)
hidden
- configures this page to not
render if set to truepublic void setLayoutDefinitionId(LayoutDefinitionId layoutDefinitionId)
layoutDefinitionId
- of menu associated with this pagepublic void setLocalizationResource(LocalizationResource localizationResource)
LocalizationResource
for this page.
localizationResource
- public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
MarkupDefinitionId
for this page.
markupDefinitionId
- public void setPublic(boolean _public)
_public
- public void setThemeDefinitionId(ThemeDefinitionId themeDefinitionId)
themeDefinitionId
- of theme associated with this pagepublic void setWebAppName(String webAppName)
webAppName
- name of the web application to scope this page topublic String toString()
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |