© 2005 BEA Systems, Inc.

com.bea.netuix.application.definition
Class ThemeDefinition

java.lang.Object
  extended bycom.bea.netuix.application.definition.ThemeDefinition
All Implemented Interfaces:
Serializable

public class ThemeDefinition
extends Object
implements Serializable

ThemeDefinition

See Also:
Serialized Form

Constructor Summary
ThemeDefinition(LocalizationResource localizationResource, MarkupDefinitionId markupDefinitionId, String webAppName, String themeFile, boolean deleted)
          Constructor to create a new ThemeDefinition object.
 
Method Summary
 LocalizationIntersectionId getLocalizationIntersectionId()
          Returns the LocalizationIntersectionId for this theme.
 LocalizationResource getLocalizationResource()
          Returns the LocalizationResource associated with this ThemeDefinition based on the locale of the request used for retrieving the ThemeDefinition.
 MarkupDefinitionId getMarkupDefinitionId()
          Returns the MarkupDefinitionId for the MarkupDefinition associated with this theme.
 ThemeDefinitionId getThemeDefinitionId()
          Returns the ThemeDefinitionId for this theme.
 String getThemeFile()
          Returns the path to the theme file for this theme.
 String getWebAppName()
          Returns the name of the J2EE web application this theme is scoped to.
 boolean isDeleted()
          Returns whether this theme is deleted.
 void setDeleted(boolean deleted)
          Sets whether this theme is deleted
 void setLocalizationResource(LocalizationResource localizationResource)
          Sets the LocalizationResource for this theme.
 void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
          Sets the MarkupDefinitionId for this theme.
 void setThemeFile(String themeFile)
          Sets the theme file path for this theme.
 void setWebAppName(String webAppName)
          Scopes this theme to specified J2EE web application
 String toString()
           
 
Methods inherited 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

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

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

public MarkupDefinitionId getMarkupDefinitionId()
Returns the MarkupDefinitionId for the MarkupDefinition associated with this theme.

Returns:
MarkupDefinitionId
See Also:
MarkupDefinition

getThemeDefinitionId

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

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

public String getWebAppName()
Returns the name of the J2EE web application this theme is scoped to.

Returns:
name of web application

isDeleted

public boolean isDeleted()
Returns whether this theme is deleted.

Returns:
true if this theme is deleted

setDeleted

public void setDeleted(boolean deleted)
Sets whether this theme is deleted

Parameters:
deleted -

setLocalizationResource

public void setLocalizationResource(LocalizationResource localizationResource)
Sets the LocalizationResource for this theme.

Parameters:
localizationResource -

setMarkupDefinitionId

public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
Sets the MarkupDefinitionId for this theme.

Parameters:
markupDefinitionId -

setThemeFile

public void setThemeFile(String themeFile)
Sets the theme file path for this theme.

Parameters:
themeFile -

setWebAppName

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

public String toString()

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved