LookAndFeelDefinition Class
- public class LookAndFeelDefinition
extends Object
implements Serializable
This class represents a persistant lookandfeel.
-
Hierarchy
-
Object
LookAndFeelDefinition
-
All Implemented Interfaces
-
Serializable
LookAndFeelDefinition
public LookAndFeelDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
String webAppName,
String lookAndFeelFile,
boolean deleted,
String definitionLabel)
- Constructs a new
LookAndFeelDefinition object.
getDefinitionLabel() Method
public String getDefinitionLabel()
Returns the definition label for this lookandfeel.
Returns
- definition label
getLocalizationIntersectionId() Method
public LocalizationIntersectionId getLocalizationIntersectionId()
Returns the LocalizationIntersectionId for this lookandfeel.
Returns NULL if no LocalizationResource is associated with
this lookandfeel. A LocalizationIntersectionId is a reference to all
localized versions of title and description for an entity.
Returns
LocalizationIntersectionId for this lookandfeel
getLocalizationResource() Method
public LocalizationResource getLocalizationResource()
Returns the LocalizationResource associated with this
lookandfeel based on the locale of the request used for retrieving the
lookandfeel.
Returns
LocalizationResource associated with this lookandfeel
getLookAndFeelDefinitionId() Method
public LookAndFeelDefinitionId getLookAndFeelDefinitionId()
Returns the LookAndFeelDefinitionId for this lookandfeel.
Returns NULL if this lookandfeel has not been retrieved
using the persistence API.
Returns
LookAndFeelDefinitionId
getLookAndFeelFile() Method
public String getLookAndFeelFile()
Returns the path to the lookandfeel file. This
path is relative to the web application context.
Returns
- lookandfeel file path
getMarkupDefinitionId() Method
public MarkupDefinitionId getMarkupDefinitionId()
Returns the MarkupDefinitionId for the MarkupDefinition
associated with this lookandfeel.
Returns
MarkupDefinitionId
Related Topics
MarkupDefinition
getWebAppName() Method
public String getWebAppName()
Returns the web application name this lookandfeel is scoped to.
Returns
- web application name
isDeleted() Method
public boolean isDeleted()
Returns whether this lookandfeel is deleted.
Returns
- true if this lookandfeel is deleted
setDefinitionLabel(String) Method
public void setDefinitionLabel(String definitionLabel)
Sets the definition label for this lookandfeel
setDeleted(boolean) Method
public void setDeleted(boolean deleted)
Sets whether this lookandfeel is deleted
setLocalizationResource(LocalizationResource) Method
public void setLocalizationResource(LocalizationResource localizationResource)
Sets the LocalizationResource for this lookandfeel.
setLookAndFeelFile(String) Method
public void setLookAndFeelFile(String lookAndFeelFile)
Sets the lookandfeel file path
setMarkupDefinitionId(MarkupDefinitionId) Method
public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
Sets the MarkupDefinitionId for this lookandfeel.
setWebAppName(String) Method
public void setWebAppName(String webAppName)
Scopes this lookandfeel to given web applcation.
toString() Method
public String toString()
-
Overrides
-
Object.toString()