|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Decoration
Model interface for attributes that are common to themes and skins. This interface can be used to retrieve information about a installed theme or skin.
A decoration object has the following data:
The object that implements this interface represents one theme or skin definition that has been registered with the
portal. A theme or skin object can be obtained with the methods of a ThemeList
or
SkinList
.
Method Summary | |
---|---|
java.lang.String |
getContextRoot()
Returns the context root under which the decoration is deployed. |
java.util.Locale |
getDefaultLocale()
Returns the default locale for the decoration |
java.lang.String |
getResourceRoot()
Returns the resource root directory of the decoration. |
boolean |
isActive()
Returns whether or not the decoration is active. |
boolean |
isDefault()
Returns whether or not the decoration is the default decoration. |
boolean |
isSystem()
Deprecated. there is no replacement for this method Returns whether or not the decoration is a system decoration. |
Methods inherited from interface com.ibm.portal.Localized |
---|
getDescription, getLocales, getTitle |
Methods inherited from interface com.ibm.portal.TimeStamped |
---|
getCreated, getLastModified |
Methods inherited from interface com.ibm.portal.Identifiable |
---|
getObjectID |
Method Detail |
---|
java.lang.String getResourceRoot() throws ModelException
null
ModelException
- if an error occured while accessing model informationjava.lang.String getContextRoot() throws ModelException
null
, if the decoration is installed with the portal
web application (wps.war). Otherwise, the context root must match with the web application
as installed in the application server and includes the leading slash.
null
if the decoration is packaged with the portal
ModelException
- if an error occured while accessing model informationboolean isActive() throws ModelException
isActive
in interface ActiveFlag
true
if active, false
otherwise.
ModelException
- if an error occured while accessing model informationboolean isSystem() throws ModelException
true
if it is a system decoration, false
otherwise.
ModelException
- if an error occured while accessing model informationboolean isDefault() throws ModelException
true
if it is a default decoration, false
otherwise.
ModelException
- if an error occured while accessing model informationjava.util.Locale getDefaultLocale() throws ModelException
null
if no default is defined.
ModelException
- if an error occured while accessing model information
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |