@Deprecated public final class HibernateInternalMembershipDao extends Object implements InternalMembershipDao
HibernateMembershipDao| Constructor and Description |
|---|
HibernateInternalMembershipDao(org.hibernate.SessionFactory sessionFactory)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
removeAllGroupRelationships(com.atlassian.crowd.model.group.InternalGroup group)
Deprecated.
Remove all memberships that rely on the existence of a particular group.
|
void |
removeAllRelationships(com.atlassian.crowd.embedded.api.Directory directory)
Deprecated.
Remove all memberships related to a particular directory.
|
void |
removeAllUserRelationships(com.atlassian.crowd.model.user.InternalUser user)
Deprecated.
Remove all memberships that rely on the existence of a particular user.
|
void |
rename(String oldUsername,
com.atlassian.crowd.model.user.InternalUser user)
Deprecated.
Make required changes to memberships when user is renamed.
|
public HibernateInternalMembershipDao(org.hibernate.SessionFactory sessionFactory)
public void removeAllGroupRelationships(com.atlassian.crowd.model.group.InternalGroup group)
InternalMembershipDaoremoveAllGroupRelationships in interface InternalMembershipDaogroup - the group to remove all memberships for.public void removeAllUserRelationships(com.atlassian.crowd.model.user.InternalUser user)
InternalMembershipDaoremoveAllUserRelationships in interface InternalMembershipDaouser - the user to remove all memberships forpublic void removeAllRelationships(com.atlassian.crowd.embedded.api.Directory directory)
InternalMembershipDaoremoveAllRelationships in interface InternalMembershipDaopublic void rename(String oldUsername, com.atlassian.crowd.model.user.InternalUser user)
InternalMembershipDaorename in interface InternalMembershipDaooldUsername - previous username of the useruser - user that has been renamedCopyright © 2003–2022 Atlassian. All rights reserved.