public class IgnoreDuplicateImportStrategy extends ProfileImportStategy
| 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 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 IgnoreDuplicateImportStrategy(ProfileService profileService)
public void beforeImport()
ProfileImportStategybeforeImport in class ProfileImportStategypublic org.bonitasoft.engine.profile.model.SProfile whenProfileExists(long importerId, ExportedProfile exportedProfile, org.bonitasoft.engine.profile.model.SProfile existingProfile)
ProfileImportStategywhenProfileExists in class ProfileImportStategypublic boolean canCreateProfileIfNotExists(ExportedProfile exportedProfile)
ProfileImportStategycanCreateProfileIfNotExists in class ProfileImportStategyCopyright © 2014 Bonitasoft S.A.. All rights reserved.