Class OrgStructure
java.lang.Object
de.uplanet.lucy.server.usermanager.orgstructure.OrgStructure
- All Implemented Interfaces:
IOrgStructure
This class is an in-memory representation of the Intrexx organizational structure.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsContainerNode(String p_strId) Check if the org structure contains a container with the given given unique identifier.booleancontainsSetNode(String p_strId) Check if the org structure contains a set with the given given unique identifier.Get an iterator over all the containers that are referenced by the internal collection of containers.getContainerNode(int p_iId) Get a container node by it's integer identifier.getContainerNode(String p_strId) Get a container node by it's unique identifier.Get the pseudo root node of the organizational structure.getSetNode(int p_iId) Get a set by it's integer identifier.getSetNode(String p_strId) Get a set by it's unique identifier.
-
Constructor Details
-
OrgStructure
public OrgStructure() -
OrgStructure
-
-
Method Details
-
getPseudoRootNode
Description copied from interface:IOrgStructureGet the pseudo root node of the organizational structure.The children of this node are the top-level organizational container nodes and do not report the pseudo root as their parent.
- Specified by:
getPseudoRootNodein interfaceIOrgStructure- Returns:
- The pseudo root node.
-
containsContainerNode
Description copied from interface:IOrgStructureCheck if the org structure contains a container with the given given unique identifier.- Specified by:
containsContainerNodein interfaceIOrgStructure- Parameters:
p_strId- The unique identifier.- Returns:
trueif the container was found, orfalseotherwise.
-
getContainerNode
Description copied from interface:IOrgStructureGet a container node by it's unique identifier.- Specified by:
getContainerNodein interfaceIOrgStructure- Parameters:
p_strId- The organizational container's unique identifier.- Returns:
- The organizational container node, or
nullif none was found for the given unique identifier.
-
getContainerNode
Description copied from interface:IOrgStructureGet a container node by it's integer identifier.Note: Access by integer identifier is prohibited for non-usermanager packages. So don't use it in other layers.
- Specified by:
getContainerNodein interfaceIOrgStructure- Parameters:
p_iId- The container's integer identifier.- Returns:
- The container node, or
nullif none was found for the given integer identifier.
-
getContainerIterator
Description copied from interface:IOrgStructureGet an iterator over all the containers that are referenced by the internal collection of containers. This iterator does not guarantee any specific order.- Specified by:
getContainerIteratorin interfaceIOrgStructure- Returns:
- An iterator over all containers in the org structure.
-
getRootChildren
- Specified by:
getRootChildrenin interfaceIOrgStructure- Returns:
- A possibly empty array of root containers.
-
containsSetNode
Description copied from interface:IOrgStructureCheck if the org structure contains a set with the given given unique identifier.- Specified by:
containsSetNodein interfaceIOrgStructure- Parameters:
p_strId- The unique identifier.- Returns:
trueif the set was found, orfalseotherwise.
-
getSetNode
Description copied from interface:IOrgStructureGet a set by it's unique identifier.- Specified by:
getSetNodein interfaceIOrgStructure- Parameters:
p_strId- The set's unique identifier.- Returns:
- The set node, or
nullif none was found for the given unique identifier.
-
getSetNode
Description copied from interface:IOrgStructureGet a set by it's integer identifier.- Specified by:
getSetNodein interfaceIOrgStructure- Parameters:
p_iId- The set's integer identifier.- Returns:
- The set node, or
nullif none was found for the given integer identifier.
-
getSetIterator
- Specified by:
getSetIteratorin interfaceIOrgStructure- Returns:
- An iterator over all sets in the org structure.
-