© 2005 BEA Systems, Inc.

com.bea.netuix.application.instance
Class PageInstance

java.lang.Object
  extended bycom.bea.netuix.application.instance.PageInstance
All Implemented Interfaces:
NavigableInstance, Serializable

public class PageInstance
extends Object
implements Serializable, NavigableInstance

Represents a customized version of a PageDefinition.

See Also:
Serialized Form

Constructor Summary
PageInstance(ThemeDefinitionId themeDefinitionId, LayoutDefinitionId layoutDefinitionId, String instanceTitle)
          Constructor to create a new PageInstance object.
 
Method Summary
 String getInstanceTitle()
          Returns the instance title for this page.
 LayoutDefinitionId getLayoutDefinitionId()
          Returns the LayoutDefinitionId of layout associated with this PageInstance.
 NavigableDefinition getNavigableDefinition()
          Returns the NavigableDefinition associated with this page.
 NavigableDefinitionId getNavigableDefinitionId()
          Returns the NavigableDefinitionId for the NavigableDefinitionassociated with this page.
 NavigableInstanceId getNavigableInstanceId()
          Returns the NavigableInstanceId for the NavigableInstanceassociated with this page.
 PageDefinition getPageDefinition()
          Returns the PageDefinition that this page was created from.
 PageDefinitionId getPageDefinitionId()
          Returns the PageDefinitionId for the PageDefinition that this page was created from.
 PageInstanceId getPageInstanceId()
          Returns the PageInstanceId for this page.
 ThemeDefinitionId getThemeDefinitionId()
          Returns the ThemeDefinitionId of theme associated with this PageInstance.
 void setInstanceTitle(String instanceTitle)
          Sets the instance title for this page
 void setLayoutDefinitionId(LayoutDefinitionId layoutDefinitionId)
          Associates a layout with this page.
 void setThemeDefinitionId(ThemeDefinitionId themeDefinitionId)
          Associates a theme with this page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageInstance

public PageInstance(ThemeDefinitionId themeDefinitionId,
                    LayoutDefinitionId layoutDefinitionId,
                    String instanceTitle)
Constructor to create a new PageInstance object.

Method Detail

getInstanceTitle

public String getInstanceTitle()
Returns the instance title for this page.

Returns:
instance title

getLayoutDefinitionId

public LayoutDefinitionId getLayoutDefinitionId()
Returns the LayoutDefinitionId of layout associated with this PageInstance.

Returns:
LayoutDefinitionId

getNavigableDefinition

public NavigableDefinition getNavigableDefinition()
Returns the NavigableDefinition associated with this page. Returns NULL when the PageInstance has not been retrieved by using the persistence API.

Specified by:
getNavigableDefinition in interface NavigableInstance
Returns:
NaviagableDefinition associated with this page
See Also:
NavigableDefinition

getNavigableDefinitionId

public NavigableDefinitionId getNavigableDefinitionId()
Returns the NavigableDefinitionId for the NavigableDefinitionassociated with this page. Returns NULL when the PageInstance has not been retrieved by using the persistence API.

Specified by:
getNavigableDefinitionId in interface NavigableInstance
Returns:
NaviagableDefinitionId associated with this page
See Also:
NavigableDefinition

getNavigableInstanceId

public NavigableInstanceId getNavigableInstanceId()
Returns the NavigableInstanceId for the NavigableInstanceassociated with this page. Returns NULL when the PageInstance has not been retrieved by using the persistence API.

Specified by:
getNavigableInstanceId in interface NavigableInstance
Returns:
NaviagableInstanceId associated with this page
See Also:
NavigableInstance

getPageDefinition

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

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

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

public ThemeDefinitionId getThemeDefinitionId()
Returns the ThemeDefinitionId of theme associated with this PageInstance.

Returns:
ThemeDefinitionId

setInstanceTitle

public void setInstanceTitle(String instanceTitle)
Sets the instance title for this page

Parameters:
instanceTitle -

setLayoutDefinitionId

public void setLayoutDefinitionId(LayoutDefinitionId layoutDefinitionId)
Associates a layout with this page.

Parameters:
layoutDefinitionId - of layout associated with this page

setThemeDefinitionId

public void setThemeDefinitionId(ThemeDefinitionId themeDefinitionId)
Associates a theme with this page.

Parameters:
themeDefinitionId - of theme associated with this page

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved