public class ReplaceDuplicateImportStrategy extends ProfileImportStategy
| Constructor and Description |
|---|
ReplaceDuplicateImportStrategy(ProfileService profileService) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeImport()
what to do before the import
|
boolean |
canCreateProfileIfNotExists(ExportedProfile exportedProfile)
return the imported version of the exportedProfile
|
org.bonitasoft.engine.profile.model.SProfile |
whenProfileExists(long importerId,
ExportedProfile exportedProfile,
org.bonitasoft.engine.profile.model.SProfile existingProfile)
return the imported version of the exportedProfile
|
getProfileServicepublic ReplaceDuplicateImportStrategy(ProfileService profileService)
public void beforeImport()
throws ExecutionException
ProfileImportStategybeforeImport in class ProfileImportStategyExecutionExceptionpublic org.bonitasoft.engine.profile.model.SProfile whenProfileExists(long importerId, ExportedProfile exportedProfile, org.bonitasoft.engine.profile.model.SProfile existingProfile) throws ExecutionException, org.bonitasoft.engine.profile.exception.profileentry.SProfileEntryDeletionException, org.bonitasoft.engine.profile.exception.profilemember.SProfileMemberDeletionException, org.bonitasoft.engine.profile.exception.profile.SProfileUpdateException
ProfileImportStategywhenProfileExists in class ProfileImportStategyExecutionExceptionorg.bonitasoft.engine.profile.exception.profileentry.SProfileEntryDeletionExceptionorg.bonitasoft.engine.profile.exception.profilemember.SProfileMemberDeletionExceptionorg.bonitasoft.engine.profile.exception.profile.SProfileUpdateExceptionpublic boolean canCreateProfileIfNotExists(ExportedProfile exportedProfile)
ProfileImportStategycanCreateProfileIfNotExists in class ProfileImportStategyCopyright © 2014 Bonitasoft S.A.. All rights reserved.