public final class CachedCrowdInternalMembershipDao extends Object implements InternalMembershipDao
InternalMembershipDao
interface.DefaultMembershipCache
Constructor and Description |
---|
CachedCrowdInternalMembershipDao(InternalMembershipDao delegate,
MembershipCache stringCache,
GroupMembershipCache parentGroupCache,
GroupMembershipCache childGroupCache) |
Modifier and Type | Method and Description |
---|---|
void |
removeAllGroupRelationships(com.atlassian.crowd.model.group.InternalGroup group)
Remove all memberships that rely on the existence of a particular group.
|
void |
removeAllRelationships(com.atlassian.crowd.embedded.api.Directory directory)
Remove all memberships related to a particular directory.
|
void |
removeAllUserRelationships(com.atlassian.crowd.model.user.InternalUser user)
Remove all memberships that rely on the existence of a particular user.
|
void |
rename(String oldUsername,
com.atlassian.crowd.model.user.InternalUser user)
Make required changes to memberships when user is renamed.
|
public CachedCrowdInternalMembershipDao(InternalMembershipDao delegate, MembershipCache stringCache, GroupMembershipCache parentGroupCache, GroupMembershipCache childGroupCache)
public void removeAllGroupRelationships(com.atlassian.crowd.model.group.InternalGroup group)
InternalMembershipDao
removeAllGroupRelationships
in interface InternalMembershipDao
group
- the group to remove all memberships for.public void removeAllUserRelationships(com.atlassian.crowd.model.user.InternalUser user)
InternalMembershipDao
removeAllUserRelationships
in interface InternalMembershipDao
user
- the user to remove all memberships forpublic void removeAllRelationships(com.atlassian.crowd.embedded.api.Directory directory)
InternalMembershipDao
removeAllRelationships
in interface InternalMembershipDao
public void rename(String oldUsername, com.atlassian.crowd.model.user.InternalUser user)
InternalMembershipDao
rename
in interface InternalMembershipDao
oldUsername
- previous username of the useruser
- user that has been renamedCopyright © 2003–2016 Atlassian. All rights reserved.