public class FailOnDuplicateImportStrategy extends ProfileImportStrategy
| Constructor and Description |
|---|
FailOnDuplicateImportStrategy(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 FailOnDuplicateImportStrategy(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 ExecutionException
ProfileImportStrategywhenProfileExists in class ProfileImportStrategyExecutionExceptionpublic 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.