public interface InternalMembershipDao
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.
|
void removeAllGroupRelationships(com.atlassian.crowd.model.group.InternalGroup group)
group
- the group to remove all memberships for.void removeAllUserRelationships(com.atlassian.crowd.model.user.InternalUser user)
user
- the user to remove all memberships forvoid removeAllRelationships(com.atlassian.crowd.embedded.api.Directory directory)
void rename(String oldUsername, com.atlassian.crowd.model.user.InternalUser user)
oldUsername
- previous username of the useruser
- user that has been renamedCopyright © 2003–2020 Atlassian. All rights reserved.