Package org.bonitasoft.engine.identity
Class ImportOrganizationFailOnDuplicatesStrategy
- java.lang.Object
-
- org.bonitasoft.engine.identity.ImportOrganizationFailOnDuplicatesStrategy
-
- All Implemented Interfaces:
ImportOrganizationStrategy
public class ImportOrganizationFailOnDuplicatesStrategy extends java.lang.Object implements ImportOrganizationStrategy
- Author:
- Baptiste Mesta, Matthieu Chaffotte
-
-
Constructor Summary
Constructors Constructor Description ImportOrganizationFailOnDuplicatesStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfoundExistingCustomUserInfoDefinition(SCustomUserInfoDefinition existingUserInfoDefinition, ExportedCustomUserInfoDefinition newUserInfoDefinition)voidfoundExistingGroup(SGroup existingGroup, ExportedGroup newGroup)voidfoundExistingMembership(SUserMembership existingMembership)voidfoundExistingRole(SRole existingRole, ExportedRole newRole)voidfoundExistingUser(SUser existingUser, ExportedUser user)booleanshouldSkipUpdateManagerOfExistingUser()
-
-
-
Method Detail
-
foundExistingGroup
public void foundExistingGroup(SGroup existingGroup, ExportedGroup newGroup) throws ImportDuplicateInOrganizationException
- Specified by:
foundExistingGroupin interfaceImportOrganizationStrategy- Throws:
ImportDuplicateInOrganizationException
-
foundExistingUser
public void foundExistingUser(SUser existingUser, ExportedUser user) throws SBonitaException
- Specified by:
foundExistingUserin interfaceImportOrganizationStrategy- Throws:
SBonitaException
-
foundExistingRole
public void foundExistingRole(SRole existingRole, ExportedRole newRole) throws ImportDuplicateInOrganizationException
- Specified by:
foundExistingRolein interfaceImportOrganizationStrategy- Throws:
ImportDuplicateInOrganizationException
-
foundExistingMembership
public void foundExistingMembership(SUserMembership existingMembership) throws ImportDuplicateInOrganizationException
- Specified by:
foundExistingMembershipin interfaceImportOrganizationStrategy- Throws:
ImportDuplicateInOrganizationException
-
foundExistingCustomUserInfoDefinition
public void foundExistingCustomUserInfoDefinition(SCustomUserInfoDefinition existingUserInfoDefinition, ExportedCustomUserInfoDefinition newUserInfoDefinition) throws ImportDuplicateInOrganizationException
- Specified by:
foundExistingCustomUserInfoDefinitionin interfaceImportOrganizationStrategy- Throws:
ImportDuplicateInOrganizationException
-
shouldSkipUpdateManagerOfExistingUser
public boolean shouldSkipUpdateManagerOfExistingUser()
- Specified by:
shouldSkipUpdateManagerOfExistingUserin interfaceImportOrganizationStrategy- Returns:
- true if users that were already existing should have their manager set
-
-