public class ImportOrganizationMergeDuplicatesStrategy extends java.lang.Object implements ImportOrganizationStrategy
| Constructor and Description |
|---|
ImportOrganizationMergeDuplicatesStrategy(IdentityService identityService,
SCustomUserInfoValueAPI userInfoValueAPI,
TechnicalLoggerService logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
foundExistingCustomUserInfoDefinition(SCustomUserInfoDefinition existingUserInfoDefinition,
ExportedCustomUserInfoDefinition newUserInfoDefinition) |
void |
foundExistingGroup(SGroup existingGroup,
ExportedGroup newGroup) |
void |
foundExistingMembership(SUserMembership existingMembership) |
void |
foundExistingRole(SRole existingRole,
ExportedRole newRole) |
void |
foundExistingUser(SUser existingUser,
ExportedUser userToImport) |
protected EntityUpdateDescriptor |
getGroupDescriptor(SGroup existingGroup,
ExportedGroup exportedGroup) |
protected EntityUpdateDescriptor |
getRoleDescriptor(SRole existingRole,
ExportedRole exportedRole) |
protected EntityUpdateDescriptor |
getUserContactInfoDescriptor(ExportedUser user,
boolean isPersonal) |
protected EntityUpdateDescriptor |
getUserDescriptor(ExportedUser user) |
public ImportOrganizationMergeDuplicatesStrategy(IdentityService identityService, SCustomUserInfoValueAPI userInfoValueAPI, TechnicalLoggerService logger)
public void foundExistingGroup(SGroup existingGroup, ExportedGroup newGroup) throws SIdentityException
foundExistingGroup in interface ImportOrganizationStrategySIdentityExceptionpublic void foundExistingUser(SUser existingUser, ExportedUser userToImport) throws SBonitaException
foundExistingUser in interface ImportOrganizationStrategySBonitaExceptionpublic void foundExistingRole(SRole existingRole, ExportedRole newRole) throws SIdentityException
foundExistingRole in interface ImportOrganizationStrategySIdentityExceptionpublic void foundExistingMembership(SUserMembership existingMembership)
foundExistingMembership in interface ImportOrganizationStrategyprotected EntityUpdateDescriptor getRoleDescriptor(SRole existingRole, ExportedRole exportedRole)
protected EntityUpdateDescriptor getGroupDescriptor(SGroup existingGroup, ExportedGroup exportedGroup)
protected EntityUpdateDescriptor getUserContactInfoDescriptor(ExportedUser user, boolean isPersonal)
protected EntityUpdateDescriptor getUserDescriptor(ExportedUser user)
public void foundExistingCustomUserInfoDefinition(SCustomUserInfoDefinition existingUserInfoDefinition, ExportedCustomUserInfoDefinition newUserInfoDefinition) throws SIdentityException
foundExistingCustomUserInfoDefinition in interface ImportOrganizationStrategySIdentityException