|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of node the controller exposesM
- the type of modifiable node the controller exposespublic interface ListModelController<T,M extends Modifiable>
This interface provides a controller for list models which allows updating a model.
Method Summary | |
---|---|
boolean |
confirmDelete(T aNode)
Indicates if the specified node may be deleted. |
boolean |
confirmInsert(T aNode)
Indicates if the specified node may be inserted. |
void |
delete(T aNode)
Deletes a node from the list model. |
void |
insert(T aNode)
Inserts the node into the list model. |
Methods inherited from interface com.ibm.portal.ListModel |
---|
iterator |
Methods inherited from interface com.ibm.portal.ModelController |
---|
confirmCreate, confirmGetModifiableNode, create, getModifiableNode, resolve |
Method Detail |
---|
void insert(T aNode) throws CannotInsertNodeException
aNode
- node to insert into the list model
CannotInsertNodeException
- the node cannot be insertedvoid delete(T 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 confirmInsert(T aNode)
aNode
- node for which to indicate if it may be inserted
true
if the node may be inserted,
false
otherwiseboolean confirmDelete(T aNode) throws ObjectNotFoundException
aNode
- node for which to indicate if it may be deleted.
true
if the node may 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 |