com.ibm.portal.admin
Interface MarkupList<T extends java.lang.Object & Markup>

All Superinterfaces:
Invalidatable, InvalidatableListModel<T>, ListModel<T>, LocatorProvider<T>, SearchableListModel<T>
All Known Subinterfaces:
MarkupListController<T,M>

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

Method Summary
 Markup getByName(java.lang.String aName)
          Returns a Markup object with the given name
 Markup getMarkup(ObjectID anObjectID)
          Returns a Markup object with the given object ID.
 
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

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