PageInstance Class
- public class PageInstance
extends Object
implements NavigableInstance
, Serializable
Represents a customized version of a PageDefinition
.
-
Hierarchy
-
Object
PageInstance
-
All Implemented Interfaces
-
NavigableInstance
, Serializable
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageInstance
public PageInstance(ThemeDefinitionId
themeDefinitionId,
LayoutDefinitionId
layoutDefinitionId,
String
instanceTitle)
- Constructor to create a new
PageInstance
object.
getInstanceTitle() Method
public String
getInstanceTitle()
Returns the instance title for this page.
Returns
- instance title
getLayoutDefinitionId() Method
public LayoutDefinitionId
getLayoutDefinitionId()
Returns the LayoutDefinitionId
of layout associated with this
PageInstance
.
Returns
LayoutDefinitionId
getNavigableDefinition() Method
public NavigableDefinition
getNavigableDefinition()
Returns the NavigableDefinition
associated with this page.
Returns NULL
when the PageInstance has not been retrieved
by using the persistence API.
Returns
NaviagableDefinition
associated with this page
Related Topics
NavigableDefinition
getNavigableDefinitionId() Method
public NavigableDefinitionId
getNavigableDefinitionId()
Returns the NavigableDefinitionId
for the
NavigableDefinition
associated with this page.
Returns NULL
when the PageInstance has not been retrieved
by using the persistence API.
Returns
NaviagableDefinitionId
associated with this page
Related Topics
NavigableDefinition
getNavigableInstanceId() Method
public NavigableInstanceId
getNavigableInstanceId()
Returns the NavigableInstanceId
for the
NavigableInstance
associated with this page.
Returns NULL
when the PageInstance has not been retrieved
by using the persistence API.
Returns
NaviagableInstanceId
associated with this page
Related Topics
NavigableInstance
getPageDefinition() Method
public PageDefinition
getPageDefinition()
Returns the PageDefinition
that this page was created from.
Returns NULL
when the PageInstance has not been retrieved
by using the persistence API.
Returns
PageDefinition
for this page
getPageDefinitionId() Method
public PageDefinitionId
getPageDefinitionId()
Returns the PageDefinitionId
for the PageDefinition
that this page was created from.
Returns NULL
when the PageInstance has not been retrieved
by using the persistence API.
Returns
PageDefinitionId
for this page
getPageInstanceId() Method
public PageInstanceId
getPageInstanceId()
Returns the PageInstanceId
for this page.
Returns NULL
when the PageInstance has not been retrieved
by using the persistence API.
Returns
PageInstanceId
for this page
getThemeDefinitionId() Method
public ThemeDefinitionId
getThemeDefinitionId()
Returns the ThemeDefinitionId
of theme associated with this
PageInstance
.
Returns
ThemeDefinitionId
setInstanceTitle(String) Method
public void setInstanceTitle(String
instanceTitle)
Sets the instance title for this page
setLayoutDefinitionId(LayoutDefinitionId) Method
public void setLayoutDefinitionId(LayoutDefinitionId
layoutDefinitionId)
Associates a layout with this page.
Parameters
-
layoutDefinitionId
- of layout associated with this page
setThemeDefinitionId(ThemeDefinitionId) Method
public void setThemeDefinitionId(ThemeDefinitionId
themeDefinitionId)
Associates a theme with this page.
Parameters
-
themeDefinitionId
- of theme associated with this page