- getChildIds() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyPersistentNode
-
- getChildNodes(String, boolean) - Method in interface org.sakaiproject.hierarchy.HierarchyNodeReader
-
Get all children nodes for this node in the hierarchy all the way to the leaves,
will return no nodes if this node has no children
- getCreatedOn() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyNodePermission
-
- getDescription() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyNodeMetaData
-
- getDirectChildIds() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyPersistentNode
-
- getDirectParentIds() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyPersistentNode
-
- getHierarchyId() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyNodeMetaData
-
- getId() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyNodeMetaData
-
- getId() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyNodePermission
-
- getId() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyPersistentNode
-
Getters and Setters
- getIsDisabled() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyNodeMetaData
-
- getIsRootNode() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyNodeMetaData
-
- getLastModified() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyNodePermission
-
- getNode() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyNodeMetaData
-
- getNodeById(String) - Method in interface org.sakaiproject.hierarchy.HierarchyNodeReader
-
- getNodeId() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyNodePermission
-
- getNodesAndPermsForUser(String...) - Method in interface org.sakaiproject.hierarchy.HierarchyPermissions
-
Get all the nodeIds and permissions for the given userIds,
the returned map will always contain every userId that was passed in as a key
- getNodesByIds(String[]) - Method in interface org.sakaiproject.hierarchy.HierarchyNodeReader
-
Get a set of nodes based on their unique ids,
NOTE: this method is here for efficiency
- getNodesForUserPerm(String, String) - Method in interface org.sakaiproject.hierarchy.HierarchyPermissions
-
Get the hierarchy nodes which a user has a specific permission in,
this is used to find a set of nodes which a user should be able to see and to build
the list of hierarchy nodes a user has a given permission in
- getNodesWithToken(String, String) - Method in interface org.sakaiproject.hierarchy.HierarchyTokens
-
Find all nodes for a hierarchy associated with a token key
- getNodesWithTokens(String, String[]) - Method in interface org.sakaiproject.hierarchy.HierarchyTokens
-
Find all the nodes for a hierarchy associated with a set of token keys
- getOwnerId() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyNodeMetaData
-
- getParentIds() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyPersistentNode
-
- getParentNodes(String, boolean) - Method in interface org.sakaiproject.hierarchy.HierarchyNodeReader
-
Get all the parent nodes for a specific node all the way to the root node,
returns empty set if this is the root node
- getPermission() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyNodePermission
-
- getPermsForUserNodes(String, String[]) - Method in interface org.sakaiproject.hierarchy.HierarchyPermissions
-
Get the set of all permissions which a user has on a node or group of nodes,
NOTE: this will get the set of ALL permissions inclusively for the given nodeIds
so nodes in the set which a user has no permissions on will not cause this to return no permissions,
example: for given user: nodeA(perm1, perm2), nodeB(perm1), nodeC(perm2), nodeD() : returns: (perm1, perm2)
- getPermToken() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyNodeMetaData
-
- getRootNode(String) - Method in interface org.sakaiproject.hierarchy.HierarchyNodeReader
-
Get the hierarchy root node for a specific hierarchy if it exists
- getSortedNodes(Collection<HierarchyNode>) - Static method in class org.sakaiproject.hierarchy.utils.HierarchyUtils
-
Create a sorted list of nodes based on a set of input nodes,
list goes from root (or highest parent) down to the bottom most node
- getTitle() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyNodeMetaData
-
- getUniqueChildNodes(Collection<HierarchyNode>, boolean, boolean) - Static method in class org.sakaiproject.hierarchy.utils.HierarchyUtils
-
Create a set of all the unique child node ids based on the set of supplied nodes,
can optionally be limited to return only direct children and to include the supplied node ids
- getUniqueParentNodes(Collection<HierarchyNode>, boolean, boolean) - Static method in class org.sakaiproject.hierarchy.utils.HierarchyUtils
-
Create a set of all the unique parent node ids based on the set of supplied nodes,
can optionally be limited to return only direct parents and to include the supplied node ids
- getUserId() - Method in class org.sakaiproject.hierarchy.dao.model.HierarchyNodePermission
-
- getUserIdsForNodesPerm(String[], String) - Method in interface org.sakaiproject.hierarchy.HierarchyPermissions
-
Get all the userIds for users which have a specific permission in a set of
hierarchy nodes, this can be used to check one node or many nodes as needed
- getUsersAndPermsForNodes(String...) - Method in interface org.sakaiproject.hierarchy.HierarchyPermissions
-
Get all the users and permissions currently assigned to nodes,
the returned map will always contain every passed in nodeId as a key
This is not super efficient by itself so it should not used when other methods are sufficient,
however, it is actually much better than calling the other methods repeatedly so this is primarily
for use in administrative interfaces