protected static final class S_DirectoryObject.AncestorIdSet extends Object
Modifier | Constructor and Description |
---|---|
protected |
AncestorIdSet(S_LibrarySession session,
GroupMembershipCache cache)
Construct a AncestorIdSet.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addAncestorIdsToSet(Long[] directAncestorIds)
Add a set of direct ancestors to the list of ancestors,
removing duplicates and cascading up the hierarchy.
|
protected Long[] |
getAllAncestorIds()
Return the set of ancestor IDs.
|
protected Long[] |
getDirectAncestorIds(Long objId)
Gets the direct ancestor IDs of the specified object ID.
|
protected AncestorIdSet(S_LibrarySession session, GroupMembershipCache cache)
session
- Session contextcache
- GroupMembershipCache cacheprotected void addAncestorIdsToSet(Long[] directAncestorIds) throws IfsException
directAncestorIds
- the direct ancestors to addIfsException
- if operation failsprotected Long[] getDirectAncestorIds(Long objId) throws IfsException
If possible, avoid creating a S_DirectoryObjects.
objId
- the ID of the object whose ancestor IDs we wantIfsException
- if operation failsprotected Long[] getAllAncestorIds()
Copyright © 2023. All rights reserved.