com.ibm.portal.portletmodel.admin
Interface PortletDefinitionList<T extends PortletDefinition>

All Superinterfaces:
ListModel<T>, LocatorProvider<T>, SearchableListModel<T>

public interface PortletDefinitionList<T extends PortletDefinition>
extends SearchableListModel<T>

Model interface for a list of portlet definitions. A portlet definition list represents a collection of objects that implement PortletDefinition

Since:
6.0.1

Method Summary
 T getPortletDefinition(ObjectID anObjectID)
          Returns the portlet definition with the specified object ID.
 
Methods inherited from interface com.ibm.portal.ListModel
iterator
 
Methods inherited from interface com.ibm.portal.LocatorProvider
getLocator
 

Method Detail

getPortletDefinition

T getPortletDefinition(ObjectID anObjectID)
                                                 throws ModelException,
                                                        DataException,
                                                        ObjectNotFoundException
Returns the portlet definition with the specified object ID.

Parameters:
anObjectID - the object ID of the portlet definition.
Returns:
the portlet definition for the given object ID, never null
Throws:
DataException - if a database error occured while accessing the data backend
ModelException - if an error occured while accessing model information
ObjectNotFoundException - if no portlet definition for the given object ID exists, or the user has no permission to view this object.