public class UpdateDefaultsImportStrategy extends ProfileImportStrategy
| Constructor and Description |
|---|
UpdateDefaultsImportStrategy(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
|
boolean |
shouldUpdateProfileEntries(ExportedProfile exportedProfile,
org.bonitasoft.engine.profile.model.SProfile existingProfile) |
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 UpdateDefaultsImportStrategy(ProfileService profileService)
public void beforeImport()
ProfileImportStrategybeforeImport in class ProfileImportStrategypublic org.bonitasoft.engine.profile.model.SProfile whenProfileExists(long importerId, ExportedProfile exportedProfile, org.bonitasoft.engine.profile.model.SProfile existingProfile) throws org.bonitasoft.engine.profile.exception.profileentry.SProfileEntryDeletionException, org.bonitasoft.engine.profile.exception.profilemember.SProfileMemberDeletionException, org.bonitasoft.engine.profile.exception.profile.SProfileUpdateException
ProfileImportStrategywhenProfileExists in class ProfileImportStrategyorg.bonitasoft.engine.profile.exception.profileentry.SProfileEntryDeletionExceptionorg.bonitasoft.engine.profile.exception.profilemember.SProfileMemberDeletionExceptionorg.bonitasoft.engine.profile.exception.profile.SProfileUpdateExceptionpublic boolean canCreateProfileIfNotExists(ExportedProfile exportedProfile)
ProfileImportStrategycanCreateProfileIfNotExists in class ProfileImportStrategypublic boolean shouldUpdateProfileEntries(ExportedProfile exportedProfile, org.bonitasoft.engine.profile.model.SProfile existingProfile)
shouldUpdateProfileEntries in class ProfileImportStrategyCopyright © 2015 Bonitasoft S.A.. All rights reserved.