public class DefaultProfilesUpdater extends Object
| Modifier and Type | Field and Description |
|---|---|
protected PlatformServiceAccessor |
platformServiceAccessor |
protected TenantServiceAccessor |
tenantServiceAccessor |
| Constructor and Description |
|---|
DefaultProfilesUpdater(PlatformServiceAccessor platformServiceAccessor,
TenantServiceAccessor tenantServiceAccessor) |
| Modifier and Type | Method and Description |
|---|---|
protected ProfilesImporter |
createProfilesImporter(ExportedProfiles profilesFromXML) |
boolean |
execute(boolean shouldCreateTransaction)
Executes a default profile update
|
protected PlatformServiceAccessor platformServiceAccessor
protected TenantServiceAccessor tenantServiceAccessor
public DefaultProfilesUpdater(PlatformServiceAccessor platformServiceAccessor, TenantServiceAccessor tenantServiceAccessor)
public boolean execute(boolean shouldCreateTransaction)
throws Exception
shouldCreateTransaction - whether or not a new transaction is created to execute updaterException - if execution failsprotected ProfilesImporter createProfilesImporter(ExportedProfiles profilesFromXML)
Copyright © 2017 Bonitasoft S.A.. All rights reserved.