ThemeDefinition Class
- public class ThemeDefinition
extends Object
implements Serializable
ThemeDefinition
-
Hierarchy
-
Object
ThemeDefinition
-
All Implemented Interfaces
-
Serializable
ThemeDefinition
public ThemeDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
String webAppName,
String themeFile,
boolean deleted)
- Constructor to create a new
ThemeDefinition object.
getLocalizationIntersectionId() Method
public LocalizationIntersectionId getLocalizationIntersectionId()
Returns the LocalizationIntersectionId for this theme.
Returns NULL if no LocalizationResource is associated with
this theme. A LocalizationIntersectionId is a reference to all
localized versions of title and description for an entity.
Returns
LocalizationIntersectionId for this shell
getLocalizationResource() Method
public LocalizationResource getLocalizationResource()
Returns the LocalizationResource associated with this
ThemeDefinition based on the locale of the request used
for retrieving the ThemeDefinition.
Returns
LocalizationResource associated with this theme
getMarkupDefinitionId() Method
public MarkupDefinitionId getMarkupDefinitionId()
Returns the MarkupDefinitionId for the MarkupDefinition
associated with this theme.
Returns
MarkupDefinitionId
Related Topics
MarkupDefinition
getThemeDefinitionId() Method
public ThemeDefinitionId getThemeDefinitionId()
Returns the ThemeDefinitionId for this theme.
Returns NULL when the ShellDefinition has not been retrieved
by using the persistence API.
Returns
ThemeDefinitionId for this theme
getThemeFile() Method
public String getThemeFile()
Returns the path to the theme file for this theme.
This path is relative to the web application context.
Returns
- theme file path
getWebAppName() Method
public String getWebAppName()
Returns the name of the J2EE web application this theme
is scoped to.
Returns
- name of web application
isDeleted() Method
public boolean isDeleted()
Returns whether this theme is deleted.
Returns
- true if this theme is deleted
setDeleted(boolean) Method
public void setDeleted(boolean deleted)
Sets whether this theme is deleted
setLocalizationResource(LocalizationResource) Method
public void setLocalizationResource(LocalizationResource localizationResource)
Sets the LocalizationResource for this theme.
setMarkupDefinitionId(MarkupDefinitionId) Method
public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
Sets the MarkupDefinitionId for this theme.
setThemeFile(String) Method
public void setThemeFile(String themeFile)
Sets the theme file path for this theme.
setWebAppName(String) Method
public void setWebAppName(String webAppName)
Scopes this theme to specified J2EE web application
Parameters
-
webAppName
- name of the web application to scope this theme to
toString() Method
public String toString()
-
Overrides
-
Object.toString()