public interface GroupIncludeCache
Modifier and Type | Method and Description |
---|---|
java.util.Collection<AccountGroup.UUID> |
allExternalMembers() |
void |
evictGroupsWithMember(Account.Id memberId) |
void |
evictParentGroupsOf(AccountGroup.UUID groupId) |
void |
evictSubgroupsOf(AccountGroup.UUID groupId) |
java.util.Collection<AccountGroup.UUID> |
getGroupsWithMember(Account.Id memberId)
Returns the UUIDs of all groups of which the specified account is a direct member.
|
java.util.Collection<AccountGroup.UUID> |
parentGroupsOf(AccountGroup.UUID groupId)
Returns the parent groups of a subgroup.
|
java.util.Collection<AccountGroup.UUID> |
subgroupsOf(AccountGroup.UUID group)
Returns the subgroups of a group.
|
java.util.Collection<AccountGroup.UUID> getGroupsWithMember(Account.Id memberId)
memberId
- the ID of the accountjava.util.Collection<AccountGroup.UUID> subgroupsOf(AccountGroup.UUID group)
group
- the UUID of the groupjava.util.Collection<AccountGroup.UUID> parentGroupsOf(AccountGroup.UUID groupId)
groupId
- the UUID of the subgroupjava.util.Collection<AccountGroup.UUID> allExternalMembers()
void evictGroupsWithMember(Account.Id memberId)
void evictSubgroupsOf(AccountGroup.UUID groupId)
void evictParentGroupsOf(AccountGroup.UUID groupId)