public class IgnoreDuplicateImportStrategy extends ProfileImportStrategy
| Constructor and Description |
|---|
IgnoreDuplicateImportStrategy(ProfileService profileService) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeImport()
what to do before the import
|
boolean |
canCreateProfileIfNotExists(ExportedProfile exportedProfile)
return whether the profile can be created if it does not exist
|
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 IgnoreDuplicateImportStrategy(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)
ProfileImportStrategywhenProfileExists in class ProfileImportStrategypublic 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.