|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HierarchyNode
Interface for representatioon of a node in a hierarchy.
| Method Summary | |
|---|---|
java.util.List<Entity> |
getChildren()Gets all of the Entity objects that are child nodes of the entity to which this HierarchyNode is attached, following down the hierarchy. |
java.util.List<Entity> |
getChildren(java.util.Set<java.lang.String> entityTypes)Gets a filtered List of Entity objects that are children of the entity to which this HierarchyNode is attached, following down the hierarchy. |
Entity |
getEntity()Gets the Entity to which this HierarchyNode is attached. |
java.lang.String |
getHierarchyType()Gets the identifier of the hierarchy in which this node is a member. |
Entity |
getParentEntity()Gets the parent Entity of the entity to which this HierarchyNode is attached, following the hierarchy. |
java.util.List<Entity> |
getParents()Gets a List of all Entity objects that are parents of the entity to which this HierarchyNode is attached, following up the hierarchy (recursively). |
boolean |
hasParent()Determines if this HierarchyNode has a parent. |
boolean |
isActiveMember()Determines whether this HierarchyNode is in the "active" space of the hierarchy. |
boolean |
isRootArtifact()Determines whether this HierarchyNode is a hierarchy root artifact (absolute root, negative anchor or positive anchor). |
boolean |
mayHaveChildren()Determines whether this HierarchyNode may have children; if this returns true, it does not mean that there are children, just that there is a possibility. |
| Method Detail |
|---|
java.lang.String getHierarchyType()
String representing the identifier of the hierarchy in which this node is a member.Entity getEntity()
Entity to which this HierarchyNode is attached.Entity to which this HierarchyNode is attached.boolean hasParent()
HierarchyNode has a parent.true if this HierarchyNode has a parent, otherwise false.Entity getParentEntity()
Entity of the entity to which this HierarchyNode is attached, following the hierarchy.Entity representing the parent of the entity to which this HierarchyNode is attached, otherwise null if it has no parent.boolean mayHaveChildren()
HierarchyNode may have children; if this returns true, it does not mean that there are children, just that there is a possibility. If it returns false, there are definately no children, in other words, this is a leaf node.true if this HierarchyNode may have children, otherwise false if this is a leaf node.
java.util.List<Entity> getChildren()
throws ServerException
Entity objects that are child nodes of the entity to which this HierarchyNode is attached, following down the hierarchy.List of entities representing child nodes or an empty List if there are none.ServerException - if there is an error retrieving the child nodes.
java.util.List<Entity> getChildren(java.util.Set<java.lang.String> entityTypes)
throws ServerException
List of Entity objects that are children of the entity to which this HierarchyNode is attached, following down the hierarchy.entityTypes - Set of Strings representing entity types to be returnedList of child nodes or an empty List if there are none.ServerException - if there is an error retrieving the children.
java.util.List<Entity> getParents()
throws ServerException
List of all Entity objects that are parents of the entity to which this HierarchyNode is attached, following up the hierarchy (recursively).List of entities representing parent nodes or an empty List if there are none.ServerException - if there is an error retrieving the parents.boolean isActiveMember()
HierarchyNode is in the "active" space of the hierarchy.true if the node is in the "active" space of the hierarchy, otherwise false.boolean isRootArtifact()
HierarchyNode is a hierarchy root artifact (absolute root, negative anchor or positive anchor).true if the node is a hierarchy root artifact, otherwise false.
|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||