public class Upgrade150S108RemoveAppParent extends OneBaseUpgrade
Constructor and Description |
---|
Upgrade150S108RemoveAppParent(String version,
String description,
com.edorasware.commons.core.util.bulk.BulkWorkObjectProcessor workObjectProcessor,
com.edorasware.commons.core.util.bulk.BulkWorkObjectDefinitionProcessor definitionProcessor,
com.edorasware.commons.core.identity.CurrentTenantService currentTenantService,
com.edorasware.commons.core.identity.CurrentUserService currentUserService,
UserManager userManager,
OnePersistence onePersistence,
org.springframework.transaction.PlatformTransactionManager transactionManager,
TenantLookupService tenantLookupService,
com.edorasware.gear.core.generic.GenericWorkObjectService workObjectService)
Creates a new instance of a one base upgrade with the given version and description of the upgrade.
|
Modifier and Type | Method and Description |
---|---|
protected void |
upgrade(com.edorasware.commons.core.entity.TenantId tenantId) |
getTenantIds, migrate
public Upgrade150S108RemoveAppParent(String version, String description, com.edorasware.commons.core.util.bulk.BulkWorkObjectProcessor workObjectProcessor, com.edorasware.commons.core.util.bulk.BulkWorkObjectDefinitionProcessor definitionProcessor, com.edorasware.commons.core.identity.CurrentTenantService currentTenantService, com.edorasware.commons.core.identity.CurrentUserService currentUserService, UserManager userManager, OnePersistence onePersistence, org.springframework.transaction.PlatformTransactionManager transactionManager, TenantLookupService tenantLookupService, com.edorasware.gear.core.generic.GenericWorkObjectService workObjectService)
version
- the version of the upgradedescription
- the description of the upgradeworkObjectProcessor
- the work object processor used for bulk work object updatesdefinitionProcessor
- the definition processor used for bulk definition updatescurrentTenantService
- the current tenant service which is needed for executing the upgrades in a tenant scopecurrentUserService
- the current user service which is needed for executing the upgrades in a user scopeuserManager
- the user manager which is needed to retrieve the administrator useronePersistence
- the one persistence which is used to get all tenants of the systemtransactionManager
- the transaction manager to use for the upgradeworkObjectService
- Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.