public class Upgrade201ModelIds extends OneBaseUpgrade
Adds model ID information to work objects in the user dashboard.
Design-time model information is stored in the _modelIds
variable and references the
global IDs of the models that describe the work object behaviour. This will include:
the App model from which the work object model was deployed
the 'main' model (e.g. the Process model)
any 'internal' global IDs that correspond to the work object (e.g. the Process Human Task definition)
Constructor and Description |
---|
Upgrade201ModelIds(String version,
String description,
BulkWorkObjectProcessor workObjectProcessor,
BulkWorkObjectDefinitionProcessor definitionProcessor,
CurrentTenantService currentTenantService,
CurrentUserService currentUserService,
UserManager userManager,
OnePersistence onePersistence,
org.springframework.transaction.PlatformTransactionManager transactionManager,
TenantLookupService tenantLookupService,
WorkObjectService workObjectService,
AnyWorkObjectDefinitionService definitionService,
AnyWorkObjectPersistence anyWorkObjectPersistence,
boolean performMigration)
Creates a new instance of a one base upgrade with the given version and description of the upgrade.
|
getOnePersistence, migrate
getDescription, getVersion
public Upgrade201ModelIds(String version, String description, BulkWorkObjectProcessor workObjectProcessor, BulkWorkObjectDefinitionProcessor definitionProcessor, CurrentTenantService currentTenantService, CurrentUserService currentUserService, UserManager userManager, OnePersistence onePersistence, org.springframework.transaction.PlatformTransactionManager transactionManager, TenantLookupService tenantLookupService, WorkObjectService workObjectService, AnyWorkObjectDefinitionService definitionService, AnyWorkObjectPersistence anyWorkObjectPersistence, boolean performMigration)
Creates a new instance of a one base upgrade with the given version and description of the upgrade.
version
- the version of the upgradedescription
- the description of the upgradeworkObjectProcessor
- the work object processor for bulk updatesdefinitionProcessor
- the work object definition processor for bulk 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 upgradetenantLookupService
- the tenant lookup serviceworkObjectService
- the work object servicedefinitionService
- the work object definition serviceanyWorkObjectPersistence
- the work object persistenceperformMigration
- true
if the migration should be performedCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.