PREV CLASS
NEXT CLASS
|
|
SUMMARY: NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
com.ibm.portal.portlet
Interface PortletModelController
- All Superinterfaces:
- Committable, CommonPortletModelController, Controller, Disposable, LocatorProvider<Identifiable>, ModelController<Identifiable,ModifiableIdentifiable>, PortletModel
-
public interface PortletModelController
- extends CommonPortletModelController, PortletModel, Committable
A controller interface for the
PortletModel interface.
- Since:
- 6.1.0
create
ModifiableIdentifiable create(java.lang.Class aNodeClass,
CreationContext aContext)
throws CannotInstantiateModifiableNodeException
- Creates a modifiable node and inserts it into the model.
- Specified by:
- create in interface CommonPortletModelController
- Specified by:
- create in interface ModelController<Identifiable,ModifiableIdentifiable>
- Parameters:
- aNodeClass - interface class of node to insert. A
PortletModelController supports creation of the
following objects:
- aContext - a context specifying information about the node to create, may
be null
- Returns:
- a modifiable node;
- Throws:
- CannotInstantiateModifiableNodeException - in case the modifiable node cannot be instantiated
confirmInsert
boolean confirmInsert(PortletWindow aNode)
throws ObjectNotFoundException
- Indicates if a portlet entity may be inserted at the specified location
in the portlet model.
- Parameters:
- aNode - node to affirm insertion for
- Returns:
- true in case the node may be inserted,
false otherwise
- Throws:
- ObjectNotFoundException - in case one or more specified nodes cannot be found
confirmInsert
boolean confirmInsert(PortletEntity aNode,
Identifiable aParent)
throws ObjectNotFoundException
- Indicates if a portlet entity may be inserted at the specified location
in the portlet model.
- Parameters:
- aNode - node to affirm insertion for
- aParent - parent node; may be null. must be of type
PortletEntity or PortletDefinition
- Returns:
- true in case the node may be inserted,
false otherwise
- Throws:
- ObjectNotFoundException - in case one or more specified nodes cannot be found
confirmInsert
boolean confirmInsert(PortletDefinition aNode)
throws ObjectNotFoundException
- Indicates if the specified portlet definition may be inserted at the
specified location in the portlet model.
- Parameters:
- aNode - node to affirm insertion for
- Returns:
- true in case the node may be inserted,
false otherwise
- Throws:
- ObjectNotFoundException - in case one or more specified nodes cannot be found
PREV CLASS
NEXT CLASS
|
|
SUMMARY: NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |