com.ibm.portal.admin
Interface MarkupList<T extends java.lang.Object & Markup>
- All Superinterfaces:
- Invalidatable, InvalidatableListModel<T>, ListModel<T>, LocatorProvider<T>, SearchableListModel<T>
public interface MarkupList<T extends java.lang.Object & Markup>
- extends SearchableListModel<T>, InvalidatableListModel<T>
Model interface for the portal supported markups. The markup list contains objects implementing
the interface Markup.
- Since:
- 5.1.0.1
getByName
Markup getByName(java.lang.String aName)
throws ModelException,
DataException,
ObjectNotFoundException
- Returns a Markup object with the given name
- Parameters:
- aName - the name of the markup that is to be returned
- Returns:
- the Markup object, never
null
- Throws:
- DataException - if the markup cannot be retrieved, due to a database problem
- ObjectNotFoundException - if no markup with the given name exists
- ModelException - if an error occured while accessing model information
getMarkup
Markup getMarkup(ObjectID anObjectID)
throws ModelException,
ObjectNotFoundException,
DataException
- Returns a Markup object with the given object ID.
- Parameters:
- anObjectID - the id of the markup that is to be returned
- Returns:
- the Markup object, never
null
- Throws:
- DataException - if the markup cannot be retrieved, due to a database problem
- ObjectNotFoundException - if no markup with the given object ID exists
- ModelException - if an error occured while accessing model information