|
© 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.BookDefinition
This class represents a persistant book.
| Field Summary | |
protected BookInstance |
bookInstance
|
| Constructor Summary | |
protected |
BookDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
String definitionLabel,
boolean hidden,
boolean _public,
String webAppName,
BookInstance bookInstance)
Constructor that takes a BookInstance |
|
BookDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
String definitionLabel,
boolean hidden,
boolean _public,
String webAppName,
MenuDefinitionId menuDefinitionId,
ThemeDefinitionId themeDefinitionId,
short menuOrientation)
Constructs a new BookDefinition object. |
| Method Summary | |
BookDefinitionId |
getBookDefinitionId()
Returns the BookDefinitionId for this book.
|
String |
getDefinitionLabel()
Returns the definitionLabel associated with this book. |
String |
getDescription()
Retrieves this book's localized description from it's LocalizationResource. |
LocalizationIntersectionId |
getLocalizationIntersectionId()
Returns the LocalizationIntersectionId for this book.
|
LocalizationResource |
getLocalizationResource()
Returns the LocalizationResource associated with this
BookDefinition based on the locale of the request used
for retrieving the BookDefinition. |
MarkupDefinitionId |
getMarkupDefinitionId()
Returns the MarkupDefinitionId for the MarkupDefinition
associated with this book. |
MenuDefinitionId |
getMenuDefinitionId()
Returns MenuDefinitionId for menu associated with this
BookDefinition |
short |
getMenuOrientation()
Returns the menu orientation for this BookDefinition |
NavigableDefinitionId |
getNavigableDefinitionId()
Returns the NavigableDefinitionId associated with this book.
|
PlaceableDefinitionId |
getPlaceableDefinitionId()
Returns the PlaceableDefinitionId associated with this book.
|
PlacementId |
getPlacementId()
Returns the PlacementId for this book.
|
BookInstanceId |
getPrimaryInstanceId()
Returns the BookInstanceId for the primary
book instance associated with this book. |
ThemeDefinitionId |
getThemeDefinitionId()
Returns the ThemeDefinitionId of theme associated with this
BookDefinition. |
String |
getTitle()
Retrieves this book's localized title from it's LocalizationResource. |
String |
getWebAppName()
Returns the name of the J2EE web application this book is scoped to. |
boolean |
isHidden()
Returns true if this book is configured to not be rendered. |
boolean |
isPublic()
Returns whether this book is end-user created. |
void |
setDefinitionLabel(String definitionLabel)
Sets the definitionLabel for this book. |
void |
setHidden(boolean hidden)
Sets whether or not this book renders. |
void |
setLocalizationResource(LocalizationResource localizationResource)
Sets the LocalizationResource for this book. |
void |
setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
Sets the MarkupDefinitionId for this book. |
void |
setMenuDefinitionId(MenuDefinitionId menuDefinitionId)
Associates a menu with this book. |
void |
setMenuOrientation(short menuOrientation)
Sets the menu orientation for this book |
void |
setPublic(boolean _public)
Sets whether this book is end-user created. |
void |
setThemeDefinitionId(ThemeDefinitionId themeDefinitionId)
Associates a theme with this book. |
void |
setWebAppName(String webAppName)
Scopes this book to specified J2EE web application |
String |
toString()
Returns a concatenated string representation of BookDefinitionId(int) Title Description MarkupDefinitionId(int) Definition Label isHidden(true or false) isPublic(true or false) Web app name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected BookInstance bookInstance
| Constructor Detail |
protected BookDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
String definitionLabel,
boolean hidden,
boolean _public,
String webAppName,
BookInstance bookInstance)
BookInstance
public BookDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
String definitionLabel,
boolean hidden,
boolean _public,
String webAppName,
MenuDefinitionId menuDefinitionId,
ThemeDefinitionId themeDefinitionId,
short menuOrientation)
BookDefinition object.
| Method Detail |
public BookDefinitionId getBookDefinitionId()
BookDefinitionId for this book.
Returns NULL when the BookDefinition has not been retrieved
by using the persistence API.
BookDefinitionId for this bookpublic String getDefinitionLabel()
getDefinitionLabel in interface NavigableDefinitionpublic String getDescription()
LocalizationResource.
getDescription in interface NavigableDefinitionpublic LocalizationIntersectionId getLocalizationIntersectionId()
LocalizationIntersectionId for this book.
Returns NULL if no LocalizationResource is associated with
this book. A LocalizationIntersectionId is a reference to all
localized versions of title and description for an entity.
LocalizationIntersectionId for this bookpublic LocalizationResource getLocalizationResource()
LocalizationResource associated with this
BookDefinition based on the locale of the request used
for retrieving the BookDefinition.
getLocalizationResource in interface NavigableDefinitionLocalizationResource associated with this bookpublic MarkupDefinitionId getMarkupDefinitionId()
MarkupDefinitionId for the MarkupDefinition
associated with this book.
MarkupDefinitionIdMarkupDefinitionpublic MenuDefinitionId getMenuDefinitionId()
MenuDefinitionId for menu associated with this
BookDefinition
MenuDefinitionIdpublic short getMenuOrientation()
BookDefinition
public NavigableDefinitionId getNavigableDefinitionId()
NavigableDefinitionId associated with this book.
Returns NULL when the BookDefinition has not been retrieved
by using the persistence API.
getNavigableDefinitionId in interface NavigableDefinitionNaviagableDefinitionId associated with this bookNavigableDefinitionpublic PlaceableDefinitionId getPlaceableDefinitionId()
PlaceableDefinitionId associated with this book.
Returns NULL when the BookDefinition has not been retrieved
by using the persistence API.
getPlaceableDefinitionId in interface PlaceableDefinitionPlaceableDefinitionId associated with this bookPlaceableDefinitionpublic PlacementId getPlacementId()
PlacementId for this book.
May be NULL if this book is not placed
or if it has not been retrieved using the persistence API.
getPlacementId in interface PlaceableDefinitionPlacementId for this book
public BookInstanceId getPrimaryInstanceId()
BookInstanceId for the primary
book instance associated with this book.
public ThemeDefinitionId getThemeDefinitionId()
ThemeDefinitionId of theme associated with this
BookDefinition.
ThemeDefinitionIdpublic String getTitle()
LocalizationResource.
getTitle in interface NavigableDefinitionpublic String getWebAppName()
getWebAppName in interface NavigableDefinitionpublic boolean isHidden()
isHidden in interface NavigableDefinitionBookDefinition is hiddenpublic boolean isPublic()
public void setDefinitionLabel(String definitionLabel)
definitionLabel - public void setHidden(boolean hidden)
hidden - configures this book to not
render if set to truepublic void setLocalizationResource(LocalizationResource localizationResource)
LocalizationResource for this book.
localizationResource - public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
MarkupDefinitionId for this book.
markupDefinitionId - public void setMenuDefinitionId(MenuDefinitionId menuDefinitionId)
menuDefinitionId - of menu associated with this bookpublic void setMenuOrientation(short menuOrientation)
menuOrientation - public void setPublic(boolean _public)
_public - public void setThemeDefinitionId(ThemeDefinitionId themeDefinitionId)
themeDefinitionId - of theme associated with this bookpublic void setWebAppName(String webAppName)
webAppName - name of the web application to scope this book topublic String toString()
|
© 2005 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||