Package org.bonitasoft.engine.profile
Class UpdateDefaultsAndCreateNewImportStrategy
- java.lang.Object
-
- org.bonitasoft.engine.profile.ProfileImportStrategy
-
- org.bonitasoft.engine.profile.UpdateDefaultsImportStrategy
-
- org.bonitasoft.engine.profile.UpdateDefaultsAndCreateNewImportStrategy
-
public class UpdateDefaultsAndCreateNewImportStrategy extends UpdateDefaultsImportStrategy
-
-
Constructor Summary
Constructors Constructor Description UpdateDefaultsAndCreateNewImportStrategy(ProfileService profileService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanCreateProfileIfNotExists(org.bonitasoft.engine.profile.xml.ProfileNode profile)return whether the profile can be created if it does not existSProfilewhenProfileExists(long importerId, org.bonitasoft.engine.profile.xml.ProfileNode profile, SProfile existingProfile)return the imported version of the profile-
Methods inherited from class org.bonitasoft.engine.profile.UpdateDefaultsImportStrategy
beforeImport
-
Methods inherited from class org.bonitasoft.engine.profile.ProfileImportStrategy
getProfileService
-
-
-
-
Constructor Detail
-
UpdateDefaultsAndCreateNewImportStrategy
public UpdateDefaultsAndCreateNewImportStrategy(ProfileService profileService)
-
-
Method Detail
-
whenProfileExists
public SProfile whenProfileExists(long importerId, org.bonitasoft.engine.profile.xml.ProfileNode profile, SProfile existingProfile) throws SProfileUpdateException
Description copied from class:ProfileImportStrategyreturn the imported version of the profile- Overrides:
whenProfileExistsin classUpdateDefaultsImportStrategy- Throws:
SProfileUpdateException
-
canCreateProfileIfNotExists
public boolean canCreateProfileIfNotExists(org.bonitasoft.engine.profile.xml.ProfileNode profile)
Description copied from class:ProfileImportStrategyreturn whether the profile can be created if it does not exist- Overrides:
canCreateProfileIfNotExistsin classUpdateDefaultsImportStrategy
-
-