|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SkinList<T extends java.lang.Object & Skin>
Model interface for a list of portal skins. A portal skin list represents a
collection of objects that implement the Skin
interface.
Method Summary | |
---|---|
ListModel<T> |
getAllInTheme(Theme aTheme)
Deprecated. use the method of the SkinModelLocator ; the locator
can be obtained with
LocatorProvider.getLocator() . Return
all skins that belong to the specified theme |
ListModel<T> |
getAllInThemes(java.util.Iterator<? extends Theme> aThemes)
Deprecated. use the method of the SkinModelLocator ; the locator
can be obtained with
LocatorProvider.getLocator() . Return
all skins that belong to the specified themes |
ListModel<T> |
getAllOfType(SkinType aType)
Deprecated. use the method of the SkinModelLocator ; the locator
can be obtained with
LocatorProvider.getLocator() . |
Skin |
getDefault()
Returns the portal default skin |
Skin |
getDefaultForTheme(Theme aTheme)
Deprecated. use the method of the SkinModelLocator ; the locator
can be obtained with
LocatorProvider.getLocator() . Return
the default Skin for the denoted theme. |
Skin |
getSkin(ObjectID anObjectID)
Deprecated. Use LocatorProvider#getLocator()#findByID() |
ListModel<SkinType> |
getTypes()
Deprecated. this method is deprecated without replacement Returns a list model of SkinType objects that
are defined for the skin list. |
Methods inherited from interface com.ibm.portal.LocatorProvider |
---|
getLocator |
Methods inherited from interface com.ibm.portal.ListModel |
---|
iterator |
Methods inherited from interface com.ibm.portal.Invalidatable |
---|
invalidate, invalidate |
Method Detail |
---|
Skin getDefault() throws ModelException, DataException
null
if there is none is set
ModelException
- if an error occured while accessing model
information
DataException
- if default skin cannot be retrieved, due to a
database error.Skin getSkin(ObjectID anObjectID) throws ModelException, DataException, ObjectNotFoundException
LocatorProvider#getLocator()#findByID()
anObjectID
- the object ID of the skin.
null
DataException
- if a database error occured while accessing the
data backend
ModelException
- if an error occured while accessing model
information
ObjectNotFoundException
- if no skin for the given object ID
exists, or the user has no permission to view this object.ListModel<SkinType> getTypes() throws DataException
SkinType
objects that
are defined for the skin list.
SkinType
objects that
represent the skin types that are registered in the portal. May
be an empty list, but never null
.
ModelException
- if an error occured while accessing model
information
DataException
- A database error occurs while accessing the data
backendListModel<T> getAllOfType(SkinType aType) throws ModelException, DataException
SkinModelLocator
; the locator
can be obtained with
LocatorProvider.getLocator()
.
DataException
- A database error occurs while accessing the data
backend
ModelException
- An error occurs while accessing the data backend
ObjectNotFoundException
- The denoted Skin type does not exist.ListModel<T> getAllInTheme(Theme aTheme) throws ModelException, DataException
SkinModelLocator
; the locator
can be obtained with
LocatorProvider.getLocator()
. Return
all skins that belong to the specified theme
aTheme
- The theme.
ModelException
- An error occurs while accessing the data backend
DataException
- The default skins cannot be retrieved, due to a
database error.ListModel<T> getAllInThemes(java.util.Iterator<? extends Theme> aThemes) throws ModelException, DataException
SkinModelLocator
; the locator
can be obtained with
LocatorProvider.getLocator()
. Return
all skins that belong to the specified themes
aThemes
- The themes.
ModelException
- An error occurs while accessing the data backend
DataException
- The default skins cannot be retrieved, due to a
database error.Skin
Skin getDefaultForTheme(Theme aTheme) throws ModelException, DataException
SkinModelLocator
; the locator
can be obtained with
LocatorProvider.getLocator()
. Return
the default Skin for the denoted theme.
aTheme
- The theme object.
ModelException
- An error occurs while accessing the data backend
DataException
- The default skin cannot be retrieved, due to a
database error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |