com.ibm.portal.ac
Interface ManagedProtectedResourceModel

All Superinterfaces:
TreeModel<ObjectID>

public interface ManagedProtectedResourceModel
extends TreeModel<ObjectID>

The ManagedProtectedResourceModel represents the hierarchical tree model of protected resources per Database Domain. Protected resources are handled as ObjectIDs. Use AccessControlHome.getManagedProtectedResource(com.ibm.portal.Identifiable) to retrieve the associated Protected resource. Each of the database domains has its own tree model with an individual root node.

Since:
6.1.0.3
See Also:
AccessControlHome

Method Summary
 java.util.Iterator<ObjectID> getChildren(ObjectID aNode, ObjectType type)
          Returns all the child elements of the given node that are of the given ObjectType.
 
Methods inherited from interface com.ibm.portal.TreeModel
getChildren, getParent, getRoot, hasChildren
 

Method Detail

getChildren

java.util.Iterator<ObjectID> getChildren(ObjectID aNode,
                                         ObjectType type)
                                         throws ModelException,
                                                ObjectNotFoundException
Returns all the child elements of the given node that are of the given ObjectType.

Parameters:
aNode - the node for which to return its children. If the resource associated with this ObjectID is not part of this tree model, a runtime exception (such as a ClassCastException or a NullPointerException) may occur.
type - ObjectType used for filtering the result: only children of this object type will be returned.
Returns:
an iterator over the child elements that are of the given type. If there are no children, this method returns an empty iterator.
Throws:
ModelException - an error occurred during model operation
ObjectNotFoundException - the node or its parent could not be found