|
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.instance.BookInstance
public class BookInstance
Represents a customized version of a BookDefinition
.
Constructor Summary | |
---|---|
BookInstance(MenuDefinitionId menuDefinitionId,
ThemeDefinitionId themeDefinitionId,
short menuOrientation,
String instanceTitle)
Constructor to create a new BookInstance object. |
Method Summary | |
---|---|
BookDefinition |
getBookDefinition()
Returns the BookDefinition that this book was created from. |
BookDefinitionId |
getBookDefinitionId()
Returns the BookDefinitionId for the BookDefinition
that this book was created from. |
BookInstanceId |
getBookInstanceId()
Returns the BookInstanceId for this book. |
Date |
getCreatedDate()
|
String |
getInstanceTitle()
Returns the instance title for this book. |
String |
getLabel()
Return the unique placeable label. |
MenuDefinitionId |
getMenuDefinitionId()
Returns MenuDefinitionId for menu associated with this
BookInstance |
short |
getMenuOrientation()
Returns the menu orientation for this BookInstance |
Date |
getModifiedDate()
|
NavigableDefinition |
getNavigableDefinition()
Returns the NavigableDefinition associated with this book. |
NavigableDefinitionId |
getNavigableDefinitionId()
Returns the NavigableDefinitionId for the
NavigableDefinition associated with this book. |
NavigableInstanceId |
getNavigableInstanceId()
Returns the NavigableInstanceId for the
NavigableInstance associated with this book. |
PlaceableDefinition |
getPlaceableDefinition()
Returns the PlaceableDefinition associated with this book. |
PlaceableInstanceId |
getPlaceableInstanceId()
Returns the PlaceableInstanceId for the
PlaceableInstance associated with this book. |
PlacementId |
getPlacementId()
Returns the PlacementId for this book. |
ThemeDefinitionId |
getThemeDefinitionId()
Returns the ThemeDefinitionId of theme associated with this
BookInstance . |
void |
setInstanceTitle(String instanceTitle)
Sets the instance title 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 |
setThemeDefinitionId(ThemeDefinitionId themeDefinitionId)
Associates a theme with this book. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BookInstance(MenuDefinitionId menuDefinitionId, ThemeDefinitionId themeDefinitionId, short menuOrientation, String instanceTitle)
BookInstance
object.
menuDefinitionId
- reference to a persisted MenuDefinition
that is the menu for this bookthemeDefinitionId
- reference to a persisted ThemeDefinition
that is the theme for this bookmenuOrientation
- orientation of the menu as defined by
BookView.ORIENTATION_LEFT
BookView.ORIENTATION_RIGHT
BookView.ORIENTATION_TOP
BookView.ORIENTATION_BOTTOM
instanceTitle
- customized title for this instanceMethod Detail |
---|
public BookInstanceId getBookInstanceId()
BookInstanceId
for this book.
Returns NULL
when the BookInstance has not been retrieved
by using the persistence API.
BookInstanceId
for this bookpublic BookDefinition getBookDefinition()
BookDefinition
that this book was created from.
Returns NULL
when the BookInstance has not been retrieved
by using the persistence API.
BookDefinition
for this bookpublic NavigableDefinition getNavigableDefinition()
NavigableDefinition
associated with this book.
Returns NULL
when the BookInstance has not been retrieved
by using the persistence API.
getNavigableDefinition
in interface NavigableInstance
NaviagableDefinition
associated with this bookNavigableDefinition
public BookDefinitionId getBookDefinitionId()
BookDefinitionId
for the BookDefinition
that this book was created from.
Returns NULL
when the BookInstance has not been retrieved
by using the persistence API.
BookDefinitionId
for this bookpublic 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 PlaceableInstance
PlacementId
for this bookpublic NavigableDefinitionId getNavigableDefinitionId()
NavigableDefinitionId
for the
NavigableDefinition
associated with this book.
Returns NULL
when the BookInstance has not been retrieved
by using the persistence API.
getNavigableDefinitionId
in interface NavigableInstance
NaviagableDefinitionId
associated with this bookNavigableDefinition
public NavigableInstanceId getNavigableInstanceId()
NavigableInstanceId
for the
NavigableInstance
associated with this book.
Returns NULL
when the BookInstance has not been retrieved
by using the persistence API.
getNavigableInstanceId
in interface NavigableInstance
NaviagableInstanceId
associated with this bookNavigableInstance
public PlaceableInstanceId getPlaceableInstanceId()
PlaceableInstanceId
for the
PlaceableInstance
associated with this book.
Returns NULL
when the BookInstance has not been retrieved
by using the persistence API.
getPlaceableInstanceId
in interface PlaceableInstance
PlaceableInstanceId
associated with this bookPlaceableInstance
public PlaceableDefinition getPlaceableDefinition()
PlaceableDefinition
associated with this book.
Returns NULL
when the BookInstance has not been retrieved
by using the persistence API.
getPlaceableDefinition
in interface PlaceableInstance
PlaceableDefinition
associated with this bookPlaceableDefinition
public MenuDefinitionId getMenuDefinitionId()
MenuDefinitionId
for menu associated with this
BookInstance
MenuDefinitionId
public void setMenuDefinitionId(MenuDefinitionId menuDefinitionId)
menuDefinitionId
- of menu associated with this bookpublic String getInstanceTitle()
public void setInstanceTitle(String instanceTitle)
instanceTitle
- public ThemeDefinitionId getThemeDefinitionId()
ThemeDefinitionId
of theme associated with this
BookInstance
.
ThemeDefinitionId
public void setThemeDefinitionId(ThemeDefinitionId themeDefinitionId)
themeDefinitionId
- of theme associated with this bookpublic short getMenuOrientation()
BookInstance
public void setMenuOrientation(short menuOrientation)
menuOrientation
- public Date getCreatedDate()
public Date getModifiedDate()
public String getLabel()
PlaceableInstance
getLabel
in interface PlaceableInstance
|
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 |