|
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.ShellDefinition
public class ShellDefinition
This class represents a persistent shell. Themes are persisted through the customization API or by creating .theme files and placing them in the webapp.
| Field Summary | |
|---|---|
protected LayoutDefinitionId |
footerLayoutDefinitionId
|
protected LayoutDefinitionId |
headerLayoutDefinitionId
|
| Constructor Summary | |
|---|---|
ShellDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
String webAppName,
String shellFile,
boolean deleted)
Constructor to create a new ShellDefinition object. |
|
| Method Summary | |
|---|---|
Date |
getCreatedDate()
Gets the time that this object was created in the database. |
LayoutDefinitionId |
getFooterLayoutDefinitionId()
|
LayoutDefinitionId |
getHeaderLayoutDefinitionId()
|
LocalizationIntersectionId |
getLocalizationIntersectionId()
Returns the LocalizationIntersectionId for this shell. |
LocalizationResource |
getLocalizationResource()
Returns the LocalizationResource associated with this
ShellDefinition based on the locale of the request used
for retrieving the ShellDefinition. |
MarkupDefinitionId |
getMarkupDefinitionId()
Returns the MarkupDefinitionId for the MarkupDefinition
associated with this shell. |
Date |
getModifiedDate()
Gets the time that this object was last updated in the database. |
ShellDefinitionId |
getShellDefinitionId()
Returns the ShellDefinitionId for this shell. |
String |
getShellFile()
Returns the path to the shell file for this shell. |
String |
getThumbnailUri()
Get the URI to the thumbnail representation (gif). |
String |
getWebAppName()
Returns the name of the J2EE web application this shell is scoped to. |
boolean |
isDeleted()
Returns whether this shell is deleted. |
void |
setDeleted(boolean deleted)
Sets whether this shell is deleted |
void |
setFooterLayoutDefinitionId(LayoutDefinitionId footerLayoutDefinitionId)
|
void |
setHeaderLayoutDefinitionId(LayoutDefinitionId headerLayoutDefinitionId)
|
void |
setLocalizationResource(LocalizationResource localizationResource)
Sets the LocalizationResource for this shell. |
void |
setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
Sets the MarkupDefinitionId for this shell. |
void |
setShellFile(String shellFile)
Sets the shell file path for this shell. |
void |
setThumbnailUri(String thumbnailUri)
Set the URI to the thumbnail represenation (gif). |
void |
setWebAppName(String webAppName)
Scopes this shell to specified J2EE web application |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected LayoutDefinitionId headerLayoutDefinitionId
protected LayoutDefinitionId footerLayoutDefinitionId
| Constructor Detail |
|---|
public ShellDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
String webAppName,
String shellFile,
boolean deleted)
ShellDefinition object.
localizationResource - localized title and descriptionmarkupDefinitionId - reference to a persisted MarkupDefinition
that specifies the markup for this shellwebAppName - name of the J2EE web application this shell is
scoped toshellFile - path to the shell file. This path is relative to the
web application contextdeleted - if this shell has been deleted| Method Detail |
|---|
public ShellDefinitionId getShellDefinitionId()
ShellDefinitionId for this shell.
Returns null when the ShellDefinition has not been retrieved
by using the persistence API.
ShellDefinitionId for this shellpublic LocalizationIntersectionId getLocalizationIntersectionId()
LocalizationIntersectionId for this shell.
Returns null if no LocalizationResource is associated with
this shell. A LocalizationIntersectionId is a reference to all
localized versions of title and description for an entity.
LocalizationIntersectionId for this shellpublic LocalizationResource getLocalizationResource()
LocalizationResource associated with this
ShellDefinition based on the locale of the request used
for retrieving the ShellDefinition.
LocalizationResource associated with this shellpublic void setLocalizationResource(LocalizationResource localizationResource)
LocalizationResource for this shell.
localizationResource - public MarkupDefinitionId getMarkupDefinitionId()
MarkupDefinitionId for the MarkupDefinition
associated with this shell.
MarkupDefinitionIdMarkupDefinitionpublic void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
MarkupDefinitionId for this shell.
markupDefinitionId - public String getWebAppName()
public void setWebAppName(String webAppName)
webAppName - name of the web application to scope this shell topublic String getShellFile()
public void setShellFile(String shellFile)
shellFile - public boolean isDeleted()
public void setDeleted(boolean deleted)
deleted - public Date getCreatedDate()
getCreatedDate in interface DateableDefinitionpublic Date getModifiedDate()
getModifiedDate in interface DateableDefinitionpublic String getThumbnailUri()
public void setThumbnailUri(String thumbnailUri)
thumbnailUri - public LayoutDefinitionId getHeaderLayoutDefinitionId()
public void setHeaderLayoutDefinitionId(LayoutDefinitionId headerLayoutDefinitionId)
public LayoutDefinitionId getFooterLayoutDefinitionId()
public void setFooterLayoutDefinitionId(LayoutDefinitionId footerLayoutDefinitionId)
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 | ||||||||