|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommonPortletModelController
A common interface for controllers that operate on the
PortletModel
or
com.ibm.portal.portletmodel.AdminPortletModel
.
Method Summary | |
---|---|
boolean |
confirmDelete(Identifiable aNode)
Indicates if the specified node may be deleted from the model. |
ModifiableIdentifiable |
create(java.lang.Class aNodeClass,
CreationContext aContext)
Creates a modifiable node and inserts it into the model. |
void |
delete(Identifiable aNode)
Deletes a node from the model. |
Methods inherited from interface com.ibm.portal.ModelController |
---|
confirmCreate, confirmGetModifiableNode, getModifiableNode, resolve |
Methods inherited from interface com.ibm.portal.LocatorProvider |
---|
getLocator |
Method Detail |
---|
ModifiableIdentifiable create(java.lang.Class aNodeClass, CreationContext aContext) throws CannotInstantiateModifiableNodeException
create
in interface ModelController<Identifiable,ModifiableIdentifiable>
aNodeClass
- interface class of node to insertaContext
- a context specifying information about the node to create, may
be null
CannotInstantiateModifiableNodeException
- in case the modifiable node cannot be instantiatedvoid delete(Identifiable aNode) throws ObjectNotFoundException, CannotDeleteNodeException
aNode
- the node to delete from the model.
ObjectNotFoundException
- in case the node cannot be found
CannotDeleteNodeException
- in case the node cannot be deletedboolean confirmDelete(Identifiable aNode) throws ObjectNotFoundException
aNode
- node to affirm deletion for.
true
if the node can be deleted, false
otherwise
ObjectNotFoundException
- in case the node cannot be found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |