protected static final class S_DirectoryGroup.MemberIdSet extends Object
Modifier | Constructor and Description |
---|---|
protected |
MemberIdSet(S_LibrarySession session,
GroupMembershipCache cache)
Construct a MemberIdSet.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addMemberIdsToSet(Long[] directMemberIds)
Add a set of direct members to the list of members,
removing duplicates and cascading down the hierarchy.
|
protected Long[] |
getAllMemberIds()
Return the set of member IDs.
|
protected Long[] |
getDirectMemberIds(Long objId)
Gets the direct member IDs of the specified object ID.
|
protected MemberIdSet(S_LibrarySession session, GroupMembershipCache cache)
session
- Session contextcache
- GroupMembershipCache cacheprotected void addMemberIdsToSet(Long[] directMemberIds) throws IfsException
directMemberIds
- the direct members to addIfsException
- if operation failsprotected Long[] getDirectMemberIds(Long objId) throws IfsException
If possible, avoid creating a S_DirectoryObjects. NOTE: the specified ID may be different than the target object's ID.
objId
- the ID of the object whose member IDs we wantIfsException
- if operation failsprotected Long[] getAllMemberIds()
Copyright © 2023. All rights reserved.