org.bonitasoft.engine.profile
public abstract class ProfileImportStategy extends Object
| Constructor and Description |
|---|
ProfileImportStategy(ProfileService profileService) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
beforeImport()
what to do before the import
|
abstract boolean |
canCreateProfileIfNotExists(ExportedProfile exportedProfile)
return the imported version of the exportedProfile
|
protected ProfileService |
getProfileService()
convert
ExportedProfile to SProfile |
abstract 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
|
public ProfileImportStategy(ProfileService profileService)
public abstract void beforeImport()
throws ExecutionException
ExecutionExceptionpublic abstract org.bonitasoft.engine.profile.model.SProfile whenProfileExists(long importerId, ExportedProfile exportedProfile, org.bonitasoft.engine.profile.model.SProfile existingProfile) throws ExecutionException, org.bonitasoft.engine.profile.exception.profileentry.SProfileEntryDeletionException, org.bonitasoft.engine.profile.exception.profilemember.SProfileMemberDeletionException, org.bonitasoft.engine.profile.exception.profile.SProfileUpdateException
public abstract boolean canCreateProfileIfNotExists(ExportedProfile exportedProfile)
protected ProfileService getProfileService()
ExportedProfile to SProfileexportedProfile - importerId - Copyright © 2014 Bonitasoft S.A.. All rights reserved.