|
© 2004 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.LayoutDefinition
This class represents a persistant layout.
Constructor Summary | |
LayoutDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
PlaceholderDefinition[] placeholderDefinitions,
String iconUri,
String htmlLayoutUri,
String webAppName,
String layoutFile,
boolean deleted)
Constructs a new LayoutDefinition object. |
Method Summary | |
String |
getHtmlLayoutUri()
Getter for property htmlLayoutUri. |
String |
getIconUri()
Getter for property iconUri. |
LayoutDefinitionId |
getLayoutDefinitionId()
Returns the LayoutDefinitionId for this layout.
|
String |
getLayoutFile()
Returns the path to the layout file. |
LocalizationResource |
getLocalizationResource()
Returns the LocalizationResource associated with this
layout based on the locale of the request used for retrieving the
layout. |
MarkupDefinitionId |
getMarkupDefinitionId()
Returns the MarkupDefinitionId for the MarkupDefinition
associated with this layout. |
PlaceholderDefinition |
getPlaceholderDefinition(PlaceholderDefinitionId placeholderDefinitionId)
Returns a PlaceholderDefinition defined by this layout
given the PlaceholderDefinitionId for the placeholder.
|
PlaceholderDefinition[] |
getPlaceholderDefinitions()
Returns the PlaceholderDefinition s defined by this
layout. |
String |
getWebAppName()
Returns the web application name this layout is scoped to. |
boolean |
isDeleted()
Returns whether this layout has been deleted. |
void |
setDeleted(boolean deleted)
Sets whether this layout has been deleted |
void |
setHtmlLayoutUri(String htmlLayoutUri)
Setter for property htmlLayoutUri. |
void |
setIconUri(String iconUri)
Setter for property iconUri. |
void |
setLayoutFile(String layoutFile)
Sets the layout file path for this layout. |
void |
setLocalizationResource(LocalizationResource localizationResource)
Sets the LocalizationResource for this layout. |
void |
setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
Sets the MarkupDefinitionId for this layout. |
void |
setPlaceholderDefinitions(PlaceholderDefinition[] placeholderDefinitions)
Sets placeholer on this layout |
void |
setWebAppName(String webAppName)
Scopes this layout to given web applcation. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LayoutDefinition(LocalizationResource localizationResource, MarkupDefinitionId markupDefinitionId, PlaceholderDefinition[] placeholderDefinitions, String iconUri, String htmlLayoutUri, String webAppName, String layoutFile, boolean deleted)
LayoutDefinition
object.
localizationResource
- localized title and descriptionmarkupDefinitionId
- reference to a persisted MarkupDefinition
that specifies the markup for this layoutplaceholderDefinitions
- an array of PlaceholderDefinition
s
defined by this layouticonUri
- uri of the icon to be used for this layouthtmlLayoutUri
- path to the layout file that specifies the partitioning
of an html page. This file path is relative to the
web application contextwebAppName
- name of the J2EE web application this layout is
scoped tolayoutFile
- path to the layout file. This file path is relative
to the web application contextdeleted
- is this layout deletedMethod Detail |
public LayoutDefinitionId getLayoutDefinitionId()
LayoutDefinitionId
for this layout.
Returns NULL
if this layout has not been retrieved
using the persistence API.
LayoutDefinitionId
public PlaceholderDefinition[] getPlaceholderDefinitions()
PlaceholderDefinition
s defined by this
layout.
PlaceholderDefinition
spublic PlaceholderDefinition getPlaceholderDefinition(PlaceholderDefinitionId placeholderDefinitionId)
PlaceholderDefinition
defined by this layout
given the PlaceholderDefinitionId
for the placeholder.
Returns NULL
if this layout defines no placeholders or
the placeholder with given PlaceholderDefinitionId
does
not exist in this layout.
placeholderDefinitionId
- PlaceholderDefinitionId
of
placeholder to be retrieved
PlaceholderDefinitionId
public void setPlaceholderDefinitions(PlaceholderDefinition[] placeholderDefinitions)
placeholderDefinitions
- PlaceholderDefinition
s to be
set on this layoutpublic MarkupDefinitionId getMarkupDefinitionId()
MarkupDefinitionId
for the MarkupDefinition
associated with this layout.
MarkupDefinitionId
MarkupDefinition
public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
MarkupDefinitionId
for this layout.
markupDefinitionId
- public LocalizationResource getLocalizationResource()
LocalizationResource
associated with this
layout based on the locale of the request used for retrieving the
layout.
LocalizationResource
associated with this layoutpublic void setLocalizationResource(LocalizationResource localizationResource)
LocalizationResource
for this layout.
localizationResource
- public String getIconUri()
public void setIconUri(String iconUri)
iconUri
- New value of property iconUri.public String getHtmlLayoutUri()
public void setHtmlLayoutUri(String htmlLayoutUri)
htmlLayoutUri
- New value of property htmlLayoutUri.public String getWebAppName()
public void setWebAppName(String webAppName)
webAppName
- public String getLayoutFile()
public void setLayoutFile(String layoutFile)
layoutFile
- public boolean isDeleted()
public void setDeleted(boolean deleted)
deleted
- public String toString()
|
© 2004 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |