|
© 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.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.
Method Detail |
public String getHtmlLayoutUri()
public String getIconUri()
public LayoutDefinitionId getLayoutDefinitionId()
LayoutDefinitionId
for this layout.
Returns NULL
if this layout has not been retrieved
using the persistence API.
LayoutDefinitionId
public String getLayoutFile()
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 MarkupDefinitionId getMarkupDefinitionId()
MarkupDefinitionId
for the MarkupDefinition
associated with this layout.
MarkupDefinitionId
MarkupDefinition
public 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 PlaceholderDefinition[] getPlaceholderDefinitions()
PlaceholderDefinition
s defined by this
layout.
PlaceholderDefinition
spublic String getWebAppName()
public boolean isDeleted()
public void setDeleted(boolean deleted)
deleted
- public void setHtmlLayoutUri(String htmlLayoutUri)
htmlLayoutUri
- New value of property htmlLayoutUri.public void setIconUri(String iconUri)
iconUri
- New value of property iconUri.public void setLayoutFile(String layoutFile)
layoutFile
- public void setLocalizationResource(LocalizationResource localizationResource)
LocalizationResource
for this layout.
localizationResource
- public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
MarkupDefinitionId
for this layout.
markupDefinitionId
- public void setPlaceholderDefinitions(PlaceholderDefinition[] placeholderDefinitions)
placeholderDefinitions
- PlaceholderDefinition
s to be
set on this layoutpublic void setWebAppName(String webAppName)
webAppName
- public String toString()
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |