|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.netuix.application.definition.ThemeDefinition
public class ThemeDefinition
This class represents a persistent theme. Themes are persisted through the customization API or by creating .theme files and placing them in the webapp.
Constructor Summary | |
---|---|
ThemeDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
String webAppName,
String themeFile,
boolean deleted)
Constructor to create a new ThemeDefinition object. |
Method Summary | |
---|---|
Date |
getCreatedDate()
Gets the time that this object was created in the database. |
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. |
Date |
getModifiedDate()
Gets the time that this object was last updated in the database. |
ThemeDefinitionId |
getThemeDefinitionId()
Returns the ThemeDefinitionId for this theme. |
String |
getThemeFile()
Returns the path to the theme file for this theme. |
String |
getThumbnailUri()
Get the URI to the thumbnail representation (gif). |
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 |
setThumbnailUri(String thumbnailUri)
Set the URI to the thumbnail represenation (gif). |
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 |
---|
public ThemeDefinition(LocalizationResource localizationResource, MarkupDefinitionId markupDefinitionId, String webAppName, String themeFile, boolean deleted)
ThemeDefinition
object.
localizationResource
- localized title and descriptionmarkupDefinitionId
- reference to a persisted MarkupDefinition
that specifies the markup for this themewebAppName
- name of the J2EE web application this theme is
scoped tothemeFile
- path to the theme file. This path is relative to the
web application contextdeleted
- if this theme has been deletedMethod Detail |
---|
public ThemeDefinitionId getThemeDefinitionId()
ThemeDefinitionId
for this theme.
Returns null when the ThemeDefinition has not been retrieved
by using the persistence API.
ThemeDefinitionId
for this themepublic LocalizationResource getLocalizationResource()
LocalizationResource
associated with this
ThemeDefinition
based on the locale of the request used
for retrieving the ThemeDefinition
.
LocalizationResource
associated with this themepublic LocalizationIntersectionId getLocalizationIntersectionId()
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.
LocalizationIntersectionId
for this shellpublic void setLocalizationResource(LocalizationResource localizationResource)
LocalizationResource
for this theme.
localizationResource
- public MarkupDefinitionId getMarkupDefinitionId()
MarkupDefinitionId
for the MarkupDefinition
associated with this theme.
MarkupDefinitionId
MarkupDefinition
public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
MarkupDefinitionId
for this theme.
markupDefinitionId
- public String getWebAppName()
public void setWebAppName(String webAppName)
webAppName
- name of the web application to scope this theme topublic String getThemeFile()
public void setThemeFile(String themeFile)
themeFile
- public boolean isDeleted()
public void setDeleted(boolean deleted)
deleted
- public Date getCreatedDate()
getCreatedDate
in interface DateableDefinition
public Date getModifiedDate()
getModifiedDate
in interface DateableDefinition
public String getThumbnailUri()
public void setThumbnailUri(String thumbnailUri)
thumbnailUri
- public String toString()
toString
in class Object
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |