|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletModelController
A controller interface for the
PortletModel
interface.
Method Summary | |
---|---|
boolean |
confirmInsert(PortletDefinition aNode)
Indicates if the specified portlet definition may be inserted at the specified location in the portlet model. |
boolean |
confirmInsert(PortletEntity aNode,
Identifiable aParent)
Indicates if a portlet entity may be inserted at the specified location in the portlet model. |
boolean |
confirmInsert(PortletWindow aNode)
Indicates if a portlet entity may be inserted at the specified location in the portlet model. |
ModifiableIdentifiable |
create(java.lang.Class aNodeClass,
CreationContext aContext)
Creates a modifiable node and inserts it into the model. |
Methods inherited from interface com.ibm.portal.portlet.CommonPortletModelController |
---|
confirmDelete, delete |
Methods inherited from interface com.ibm.portal.ModelController |
---|
confirmCreate, confirmGetModifiableNode, getModifiableNode, resolve |
Methods inherited from interface com.ibm.portal.LocatorProvider |
---|
getLocator |
Methods inherited from interface com.ibm.portal.portletmodel.PortletModel |
---|
getParentPortletEntity, getPortlet, getPortletDefinition, getPortletDefinition, getPortletEntity, getPortletWindow, getPreferencesHierarchy, getPreferencesHierarchy, getWebApplication |
Methods inherited from interface com.ibm.portal.Committable |
---|
commit, dispose |
Method Detail |
---|
ModifiableIdentifiable create(java.lang.Class aNodeClass, CreationContext aContext) throws CannotInstantiateModifiableNodeException
create
in interface CommonPortletModelController
create
in interface ModelController<Identifiable,ModifiableIdentifiable>
aNodeClass
- interface class of node to insert. A
PortletModelController
supports creation of the
following objects:
PortletEntity
PortletDefinition
(aka
cloning)aContext
- a context specifying information about the node to create, may
be null
CannotInstantiateModifiableNodeException
- in case the modifiable node cannot be instantiatedboolean confirmInsert(PortletWindow aNode) throws ObjectNotFoundException
aNode
- node to affirm insertion for
true
in case the node may be inserted,
false
otherwise
ObjectNotFoundException
- in case one or more specified nodes cannot be foundboolean confirmInsert(PortletEntity aNode, Identifiable aParent) throws ObjectNotFoundException
aNode
- node to affirm insertion foraParent
- parent node; may be null
. must be of type
PortletEntity or PortletDefinition
true
in case the node may be inserted,
false
otherwise
ObjectNotFoundException
- in case one or more specified nodes cannot be foundboolean confirmInsert(PortletDefinition aNode) throws ObjectNotFoundException
aNode
- node to affirm insertion for
true
in case the node may be inserted,
false
otherwise
ObjectNotFoundException
- in case one or more specified nodes cannot be found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |