{ } }
Tree PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.portal
Interface ListModelController<T,M extends Modifiable>
- Type Parameters:
- T - the type of node the controller exposes
- M - the type of modifiable node the controller exposes
- All Superinterfaces:
- Controller, ListModel<T>, ModelController<T,M>
- All Known Subinterfaces:
- ClientListController<T,M>, CommittableListModelController<T,M>, MarkupListController<T,M>, OrderedListModelController<T,M>, RatingModelController<R,M>, ResourceModelController<R,M>, SearchableListModelController<T,M>, SkinListController<T,M>, TagModelController<T,M>, ThemeListController<T,M>, VanityURLModelController<E,M>, WireModelController<T,M>
public interface ListModelController<T,M extends Modifiable>- extends ListModel<T>, ModelController<T,M>
This interface provides a controller for list models which allows updating a model.
- Since:
- 6.1.0.0
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 insert
void insert(T aNode) throws CannotInsertNodeException
- Inserts the node into the list model. The position of the node to be inserted into the list model cannot be guaranteed.
- Parameters:
- aNode - node to insert into the list model
- Throws:
- CannotInsertNodeException - the node cannot be inserted
delete
void delete(T aNode) throws ObjectNotFoundException, CannotDeleteNodeException
- Deletes a node from the list model.
- Parameters:
- aNode - the node to delete from the model.
- Throws:
- ObjectNotFoundException - in case the node cannot be found
- CannotDeleteNodeException - in case the node cannot be deleted
confirmInsert
boolean confirmInsert(T aNode)
- Indicates if the specified node may be inserted.
- Parameters:
- aNode - node for which to indicate if it may be inserted
- Returns:
- true if the node may be inserted, false otherwise
confirmDelete
boolean confirmDelete(T aNode) throws ObjectNotFoundException
- Indicates if the specified node may be deleted.
- Parameters:
- aNode - node for which to indicate if it may be deleted.
- Returns:
- true if the node may be deleted, false otherwise
- Throws:
- ObjectNotFoundException - in case the node cannot be found
Tree PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD