|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InternalMembershipDao
Implements bulk membership changes via database IDs rather than by name. Methods take objects rather than IDs so that the caching wrappers in Confluence will work correctly.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 renamed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||