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(org.bonitasoft.engine.profile.xml.ProfileNode profile)
return whether the profile can be created if it does not exist
|
boolean |
shouldUpdateProfileEntries(org.bonitasoft.engine.profile.xml.ProfileNode profile,
SProfile existingProfile) |
SProfile |
whenProfileExists(long importerId,
org.bonitasoft.engine.profile.xml.ProfileNode profile,
SProfile existingProfile)
return the imported version of the profile
|
getProfileServicepublic IgnoreDuplicateImportStrategy(ProfileService profileService)
public void beforeImport()
ProfileImportStrategybeforeImport in class ProfileImportStrategypublic SProfile whenProfileExists(long importerId, org.bonitasoft.engine.profile.xml.ProfileNode profile, SProfile existingProfile)
ProfileImportStrategywhenProfileExists in class ProfileImportStrategypublic boolean canCreateProfileIfNotExists(org.bonitasoft.engine.profile.xml.ProfileNode profile)
ProfileImportStrategycanCreateProfileIfNotExists in class ProfileImportStrategypublic boolean shouldUpdateProfileEntries(org.bonitasoft.engine.profile.xml.ProfileNode profile,
SProfile existingProfile)
shouldUpdateProfileEntries in class ProfileImportStrategy