Class DisplayNamesMigrationExecutor
- java.lang.Object
-
- com.aquima.web.rest.v1.controller.migration.DisplayNamesMigrationExecutor
-
- All Implemented Interfaces:
IDisplayNamesMigrationExecutor
@Component @Scope("prototype") public class DisplayNamesMigrationExecutor extends Object implements IDisplayNamesMigrationExecutor
Executor that performs batch updates of the process dates. The executor progressively builds a cache of application ID to application mappings, so the same instance should not be reused to perform multiple migrations. The same instance may be reused to perform migrations of multiple batches, as part of a larger migration job.- Since:
- 9.9
- Author:
- Voicu Moldovan
-
-
Constructor Summary
Constructors Constructor Description DisplayNamesMigrationExecutor(com.aquima.interactions.process.dao.IProcessCaseDao dao, com.aquima.interactions.portal.IPortalEngine portalEngine, com.aquima.interactions.process.ProcessSettings processSettings)
-
-
-
Method Detail
-
migrate
@Transactional(transactionManager="processSqlStoreTransactionManager") public int migrate(int index, int batchSize) throws com.aquima.interactions.process.dao.exception.ProcessDataAccessException
- Specified by:
migrate
in interfaceIDisplayNamesMigrationExecutor
- Throws:
com.aquima.interactions.process.dao.exception.ProcessDataAccessException
-
-