ThemeDefinition Class

com.bea.netuix.application.definition
ThemeDefinition Class

public class ThemeDefinition

    extends Object
    implements Serializable

ThemeDefinition


Hierarchy
Object
  ThemeDefinition
All Implemented Interfaces

Serializable

Constructor Summary

ThemeDefinition(LocalizationResource localizationResource, MarkupDefinitionId markupDefinitionId, String webAppName, String themeFile, boolean deleted)

Constructor to create a new ThemeDefinition object.
 

Method Summary

public LocalizationIntersectionId
getLocalizationIntersectionId()
Returns the LocalizationIntersectionId for this theme.
public LocalizationResource
getLocalizationResource()
Returns the LocalizationResource associated with this ThemeDefinition based on the locale of the request used for retrieving the ThemeDefinition.
public MarkupDefinitionId
getMarkupDefinitionId()
Returns the MarkupDefinitionId for the MarkupDefinition associated with this theme.
public ThemeDefinitionId
getThemeDefinitionId()
Returns the ThemeDefinitionId for this theme.
public String
getThemeFile()
Returns the path to the theme file for this theme.
public String
getWebAppName()
Returns the name of the J2EE web application this theme is scoped to.
public boolean
isDeleted()
Returns whether this theme is deleted.
public void
setDeleted(boolean deleted)
Sets whether this theme is deleted
public void
setLocalizationResource(LocalizationResource localizationResource)
Sets the LocalizationResource for this theme.
public void
setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
Sets the MarkupDefinitionId for this theme.
public void
setThemeFile(String themeFile)
Sets the theme file path for this theme.
public void
setWebAppName(String webAppName)
Scopes this theme to specified J2EE web application
public String
toString()
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
   

Constructor Detail

ThemeDefinition

public ThemeDefinition(LocalizationResource localizationResource, 
                       MarkupDefinitionId markupDefinitionId, 
                       String webAppName, 
                       String themeFile, 
                       boolean deleted)
Constructor to create a new ThemeDefinition object.
 

Method Detail

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()