org.bonitasoft.engine.api.impl.transaction.identity
public class DeleteWithActorMembers extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
BATCH_SIZE |
| Constructor and Description |
|---|
DeleteWithActorMembers(org.bonitasoft.engine.actor.mapping.ActorMappingService actorMappingService,
ProfileService profileService,
IdentityService identityService) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deleteActorMembersOfGroup(long groupId) |
protected void |
deleteActorMembersOfRole(long roleId) |
protected void |
deleteActorMembersOfUser(long userId) |
protected void |
deleteMembershipsByGroup(long groupId) |
protected void |
deleteMembershipsByRole(long roleId) |
protected void |
deleteProfileMembersOfGroup(long groupId) |
protected void |
deleteProfileMembersOfRole(long roleId) |
protected void |
deleteProfileMembersOfUser(long id) |
protected void |
deleteUserMembershipsByUser(long id) |
org.bonitasoft.engine.actor.mapping.ActorMappingService |
getActorMappingService() |
IdentityService |
getIdentityService() |
ProfileService |
getProfileService() |
Set<Long> |
getRemovedActorIds() |
protected void |
setActorIdsOfRemovedElements(org.bonitasoft.engine.actor.mapping.model.SActorMember removedActorMember) |
protected static final int BATCH_SIZE
public DeleteWithActorMembers(org.bonitasoft.engine.actor.mapping.ActorMappingService actorMappingService,
ProfileService profileService,
IdentityService identityService)
protected void setActorIdsOfRemovedElements(org.bonitasoft.engine.actor.mapping.model.SActorMember removedActorMember)
protected void deleteActorMembersOfUser(long userId)
throws org.bonitasoft.engine.actor.mapping.SActorMemberNotFoundException,
org.bonitasoft.engine.actor.mapping.SActorMemberDeletionException,
org.bonitasoft.engine.persistence.SBonitaReadException
org.bonitasoft.engine.actor.mapping.SActorMemberNotFoundExceptionorg.bonitasoft.engine.actor.mapping.SActorMemberDeletionExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionprotected void deleteProfileMembersOfUser(long id)
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected void deleteUserMembershipsByUser(long id)
throws SIdentityException
SIdentityExceptionprotected void deleteActorMembersOfGroup(long groupId)
throws org.bonitasoft.engine.actor.mapping.SActorMemberNotFoundException,
org.bonitasoft.engine.actor.mapping.SActorMemberDeletionException,
org.bonitasoft.engine.persistence.SBonitaReadException,
SIdentityException
org.bonitasoft.engine.actor.mapping.SActorMemberNotFoundExceptionorg.bonitasoft.engine.actor.mapping.SActorMemberDeletionExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionSIdentityExceptionprotected void deleteProfileMembersOfGroup(long groupId)
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected void deleteMembershipsByGroup(long groupId)
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected void deleteActorMembersOfRole(long roleId)
throws org.bonitasoft.engine.actor.mapping.SActorMemberNotFoundException,
org.bonitasoft.engine.actor.mapping.SActorMemberDeletionException,
org.bonitasoft.engine.persistence.SBonitaReadException
org.bonitasoft.engine.actor.mapping.SActorMemberNotFoundExceptionorg.bonitasoft.engine.actor.mapping.SActorMemberDeletionExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionprotected void deleteProfileMembersOfRole(long roleId)
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected void deleteMembershipsByRole(long roleId)
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.commons.exceptions.SBonitaExceptionpublic org.bonitasoft.engine.actor.mapping.ActorMappingService getActorMappingService()
public ProfileService getProfileService()
public IdentityService getIdentityService()
Copyright © 2014 Bonitasoft S.A.. All rights reserved.