Package org.bonitasoft.engine.identity
Interface ImportOrganizationStrategy
- All Known Implementing Classes:
ImportOrganizationFailOnDuplicatesStrategy,ImportOrganizationIgnoreDuplicatesStrategy,ImportOrganizationMergeDuplicatesStrategy
public interface ImportOrganizationStrategy
- Author:
- Baptiste Mesta, Matthieu Chaffotte, Elias Ricken de Medeiros
-
Method Summary
Modifier and TypeMethodDescriptionvoidfoundExistingCustomUserInfoDefinition(SCustomUserInfoDefinition existingUserInfoDefinition, org.bonitasoft.engine.identity.xml.ExportedCustomUserInfoDefinition newUserInfoDefinition) voidfoundExistingGroup(SGroup existingGroup, org.bonitasoft.engine.identity.xml.ExportedGroup newGroup) voidfoundExistingMembership(SUserMembership existingMembership) voidfoundExistingRole(SRole existingRole, org.bonitasoft.engine.identity.xml.ExportedRole newRole) voidfoundExistingUser(SUser existingUser, org.bonitasoft.engine.identity.xml.ExportedUser user) boolean
-
Method Details
-
foundExistingMembership
void foundExistingMembership(SUserMembership existingMembership) throws ImportDuplicateInOrganizationException -
foundExistingRole
void foundExistingRole(SRole existingRole, org.bonitasoft.engine.identity.xml.ExportedRole newRole) throws ImportDuplicateInOrganizationException, SIdentityException -
foundExistingUser
void foundExistingUser(SUser existingUser, org.bonitasoft.engine.identity.xml.ExportedUser user) throws SBonitaException - Throws:
SBonitaException
-
foundExistingGroup
void foundExistingGroup(SGroup existingGroup, org.bonitasoft.engine.identity.xml.ExportedGroup newGroup) throws ImportDuplicateInOrganizationException, SIdentityException -
foundExistingCustomUserInfoDefinition
void foundExistingCustomUserInfoDefinition(SCustomUserInfoDefinition existingUserInfoDefinition, org.bonitasoft.engine.identity.xml.ExportedCustomUserInfoDefinition newUserInfoDefinition) throws ImportDuplicateInOrganizationException, SIdentityException -
shouldSkipUpdateManagerOfExistingUser
boolean shouldSkipUpdateManagerOfExistingUser()- Returns:
- true if users that were already existing should have their manager set
-