com.ibm.portal.admin
Interface ThemeList<T extends java.lang.Object & Theme>
- All Superinterfaces:
- Invalidatable, InvalidatableListModel<T>, ListModel<T>, LocatorProvider<T>, SearchableListModel<T>
public interface ThemeList<T extends java.lang.Object & Theme>
- extends SearchableListModel<T>, InvalidatableListModel<T>
Model interface for a list of installed portal themes. Elements of this list are
objects implementing the Theme interface.
- Since:
- 5.1.0.1
getDefault
Theme getDefault()
throws ModelException,
DataException
- Returns the default theme.
- Returns:
- the default theme, or
null
if there is no default theme.
- Throws:
- ModelException - if an error occured while accessing model information
- DataException - if the default theme cannot be retrieved, due to a database error.
getTheme
Theme getTheme(ObjectID anObjectID)
throws ModelException,
DataException,
ObjectNotFoundException
- Returns the theme with the specified object ID.
- Parameters:
- anObjectID - the object ID of the theme to return.
- Returns:
- the theme for the given object ID, never
null
- Throws:
- DataException - if a database error occurs while accessing the data backend
- ModelException - if an error occured while accessing model information
- ObjectNotFoundException - if no theme with the given ID exists, or the user has no permission to view this object.