|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
"Views" are deep copy immutable objects. Unlike "Definitions" and "Instances" Views cannot be modified by the developer. A Instance or a Definition however can always be obtained from the view. The persistence APIs provides course grain and fine grain getters but only fine grain setters. If you are interested in an object and all its children then retrieve the View, if you are only interested in the immediate object and don't care about its children then retrieve the Definition.
View class for a look-and-feel.
View
Field Summary | |
static String |
DEFAULT_SKELETON_ID
The name of the default skeleton. |
static String |
DEFAULT_SKELETON_PATH
The path to the default skeleton. |
static String |
DEFAULT_SKIN_ID
The name of the default skin. |
static String |
DEFAULT_SKIN_PATH
The path to the default skin. |
Method Summary | |
String |
getDefinitionLabel()
Return the unique moniker given to this look and feel in the look and feel file. |
LocalizationResourceView |
getLocalizationResourceView()
The Localization resource contains the localized title and description for this look and feel. |
LookAndFeelDefinition |
getLookAndFeelDefinition()
Retrieve the associated LookAndFeelDefinition from this LookAndFeel View. |
LookAndFeelDefinitionId |
getLookAndFeelDefinitionId()
Getter for lookandfeel definition id. |
String |
getLookAndFeelFile()
Retrieve the file name used to create this look and feel. |
String |
getWebAppName()
Return the name of the webapp that this look and feel is associated with. |
boolean |
isDeleted()
If isDeleted is true then the look and feel has been removed from the file system. |
Methods inherited from interface com.bea.netuix.application.view.MarkupBasedView |
getMarkupView |
Methods inherited from interface com.bea.netuix.application.view.View |
getDescription, getTitle |
Field Detail |
public static final String DEFAULT_SKELETON_ID
public static final String DEFAULT_SKELETON_PATH
public static final String DEFAULT_SKIN_ID
public static final String DEFAULT_SKIN_PATH
Method Detail |
public String getDefinitionLabel()
public LocalizationResourceView getLocalizationResourceView()
The Localization resource contains the localized title and description for this look and feel.
public LookAndFeelDefinition getLookAndFeelDefinition()
Retrieve the associated LookAndFeelDefinition
from this LookAndFeel View. LookAndFeel Views are immutable but
LookAndFeelDefinitions are not. Therefore it is often necessary to retrieve the definition from the view in
order to update its values and then in turn call the persistence API. The LookAndFeel Definition is constructed and
updated via it's .laf file. If you create a new .laf file then a new LookAndFeel Definition is created in the
database. If you edit the file the changes are automatically seen in the database. (during dev time we poll
the file system and in production we update the database whenever the webapp is redeployed.
public LookAndFeelDefinitionId getLookAndFeelDefinitionId()
Getter for lookandfeel definition id. The lookandfeel id is the primary key value for the lookandfeel definition in the PF_LOOK_FEEL_DEFINITION table. Unlike Book Pages and Portlets LookAndFeels do not have instances. The admin or end user can still change his or her lookandfeel but they are customizing the desktop not the lookandfeel.
public String getLookAndFeelFile()
public String getWebAppName()
public boolean isDeleted()
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |