public class GroupIncludeCacheImpl extends java.lang.Object implements GroupIncludeCache
Modifier and Type | Method and Description |
---|---|
java.util.Collection<AccountGroup.UUID> |
allExternalMembers() |
void |
evictGroupsWithMember(Account.Id memberId) |
void |
evictParentGroupsOf(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.
|
static com.google.inject.Module |
module() |
java.util.Collection<AccountGroup.UUID> |
parentGroupsOf(AccountGroup.UUID groupId)
Returns the parent groups of a subgroup.
|
public static com.google.inject.Module module()
public java.util.Collection<AccountGroup.UUID> getGroupsWithMember(Account.Id memberId)
GroupIncludeCache
getGroupsWithMember
in interface GroupIncludeCache
memberId
- the ID of the accountpublic java.util.Collection<AccountGroup.UUID> parentGroupsOf(AccountGroup.UUID groupId)
GroupIncludeCache
parentGroupsOf
in interface GroupIncludeCache
groupId
- the UUID of the subgrouppublic void evictGroupsWithMember(Account.Id memberId)
evictGroupsWithMember
in interface GroupIncludeCache
public void evictParentGroupsOf(AccountGroup.UUID groupId)
evictParentGroupsOf
in interface GroupIncludeCache
public java.util.Collection<AccountGroup.UUID> allExternalMembers()
allExternalMembers
in interface GroupIncludeCache