|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.user.crowd.DefaultGroupMembershipCache
public class DefaultGroupMembershipCache
Constructor Summary | |
---|---|
DefaultGroupMembershipCache(com.atlassian.cache.CacheFactory cacheFactory,
java.lang.String cacheKey)
|
Method Summary | |
---|---|
java.util.List<com.atlassian.crowd.model.group.InternalDirectoryGroup> |
getGroupsForGroup(long directoryId,
java.lang.String groupName)
Returns the list of groups which are cached for the given group name in the specified directory. |
void |
removeAllDirectoryMemberships(long directoryId)
Removes any entries in the cache which relate to the specified directory. |
void |
removeAllGroupMemberships(com.atlassian.crowd.model.group.Group group)
Removes any entries in the cache which contain the group in its directory. |
void |
removeGroupGroupMemberships(long directoryId,
java.lang.String groupName)
Removes any list of groups which are cached for the named group in the specified directory. |
void |
setGroupsForGroup(long directoryId,
java.lang.String groupName,
java.lang.Iterable<com.atlassian.crowd.model.group.InternalDirectoryGroup> referencedGroups)
Caches the list of Group objects for each membership for the given group name in the specified directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultGroupMembershipCache(com.atlassian.cache.CacheFactory cacheFactory, java.lang.String cacheKey)
Method Detail |
---|
public void setGroupsForGroup(long directoryId, java.lang.String groupName, java.lang.Iterable<com.atlassian.crowd.model.group.InternalDirectoryGroup> referencedGroups)
GroupMembershipCache
setGroupsForGroup
in interface GroupMembershipCache
public java.util.List<com.atlassian.crowd.model.group.InternalDirectoryGroup> getGroupsForGroup(long directoryId, java.lang.String groupName)
GroupMembershipCache
null
if there is no cached list.
getGroupsForGroup
in interface GroupMembershipCache
public void removeGroupGroupMemberships(long directoryId, java.lang.String groupName)
GroupMembershipCache
removeGroupGroupMemberships
in interface GroupMembershipCache
public void removeAllGroupMemberships(com.atlassian.crowd.model.group.Group group)
GroupMembershipCache
removeAllGroupMemberships
in interface GroupMembershipCache
public void removeAllDirectoryMemberships(long directoryId)
GroupMembershipCache
removeAllDirectoryMemberships
in interface GroupMembershipCache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |