Class CaseMigrationService
java.lang.Object
com.flowable.platform.edorasone.migration.MigrationService
com.flowable.platform.edorasone.migration.CaseMigrationService
@Service public class CaseMigrationService extends MigrationService
-
Field Summary
Fields inherited from class com.flowable.platform.edorasone.migration.MigrationService
DUE_TIME, EXTERNAL_ID, ID_VARIABLE_NAME, INITIAL_ASSIGNED_GROUP_ID, PATH, PRIORITY, PROVIDER_ID, RESUBMISSION_TIME, STATE_UPDATE_TIME, SUB_STATE, SUB_STATE_UPDATE_TIME, TRASFORMER_VERSION, VERSION_VALUE
-
Constructor Summary
Constructors Constructor Description CaseMigrationService()
-
Method Summary
Modifier and Type Method Description protected void
copyEntityData(WorkObject inactiveCase, org.flowable.cmmn.engine.impl.persistence.entity.HistoricCaseInstanceEntityImpl historicCaseInstanceEntity)
protected org.flowable.cmmn.engine.impl.persistence.entity.HistoricCaseInstanceEntity
copyInactiveCaseData(WorkObject inactiveCase, org.flowable.cmmn.engine.impl.persistence.entity.HistoricCaseInstanceEntityImpl historicCaseInstanceEntity)
protected void
copyWorkObjectData(WorkObject inactiveCase, org.flowable.cmmn.engine.impl.persistence.entity.HistoricCaseInstanceEntity historicCaseInstanceEntity)
protected java.lang.String
createHistoricEntityFromTemplate(WorkObject inactiveCase)
protected void
createHistoricEntityVariable(java.lang.String historicCaseEntityId, java.lang.String variableName, java.lang.Object variableValue)
protected org.flowable.cmmn.engine.CmmnEngineConfiguration
getCmmnEngineConfiguration()
protected java.util.Date
getCurrentTime()
protected java.util.List<org.flowable.identitylink.service.impl.persistence.entity.HistoricIdentityLinkEntity>
getHistoricIdentityLinks(java.lang.String id)
protected java.util.List<org.flowable.variable.api.history.HistoricVariableInstance>
getHistoricVariables(java.lang.String historicCaseEntityId)
protected WorkObjectQuery
getWorkObjectQuery()
protected WorkObjectService
getWorkObjectService()
protected void
insertHistoricIdentityLink(java.lang.String historicCaseEntityId, java.lang.String userId, java.lang.String groupId, java.util.Date createTime, java.lang.String identityLinkType)
protected void
setParent(WorkObject inactiveCase, org.flowable.cmmn.engine.impl.persistence.entity.HistoricCaseInstanceEntityImpl historicCaseInstanceEntity)
protected void
validateHistoricEntityWithWorkObject(WorkObject inactiveWorkObject)
Methods inherited from class com.flowable.platform.edorasone.migration.MigrationService
convertToHistoricEntityFromWorkObjectTemplate, createHistoricIdentityLinksFromTemplate, createVariablesFromTemplate, fetchAndConvert, migrate, validate, validate, validateHistoricIdentityLink, validateHistoricIdentityLinks, validateVariable, validateVariables, validateVariables, validateWorkObjectConversion
-
Constructor Details
-
CaseMigrationService
public CaseMigrationService()
-
-
Method Details
-
getWorkObjectQuery
- Specified by:
getWorkObjectQuery
in classMigrationService
-
createHistoricEntityVariable
protected void createHistoricEntityVariable(java.lang.String historicCaseEntityId, java.lang.String variableName, java.lang.Object variableValue)- Specified by:
createHistoricEntityVariable
in classMigrationService
-
getHistoricVariables
protected java.util.List<org.flowable.variable.api.history.HistoricVariableInstance> getHistoricVariables(java.lang.String historicCaseEntityId)- Specified by:
getHistoricVariables
in classMigrationService
-
getCurrentTime
protected java.util.Date getCurrentTime()- Specified by:
getCurrentTime
in classMigrationService
-
insertHistoricIdentityLink
protected void insertHistoricIdentityLink(java.lang.String historicCaseEntityId, java.lang.String userId, java.lang.String groupId, java.util.Date createTime, java.lang.String identityLinkType)- Specified by:
insertHistoricIdentityLink
in classMigrationService
-
createHistoricEntityFromTemplate
- Specified by:
createHistoricEntityFromTemplate
in classMigrationService
-
validateHistoricEntityWithWorkObject
- Specified by:
validateHistoricEntityWithWorkObject
in classMigrationService
-
copyInactiveCaseData
protected org.flowable.cmmn.engine.impl.persistence.entity.HistoricCaseInstanceEntity copyInactiveCaseData(WorkObject inactiveCase, org.flowable.cmmn.engine.impl.persistence.entity.HistoricCaseInstanceEntityImpl historicCaseInstanceEntity) -
copyEntityData
protected void copyEntityData(WorkObject inactiveCase, org.flowable.cmmn.engine.impl.persistence.entity.HistoricCaseInstanceEntityImpl historicCaseInstanceEntity) -
setParent
protected void setParent(WorkObject inactiveCase, org.flowable.cmmn.engine.impl.persistence.entity.HistoricCaseInstanceEntityImpl historicCaseInstanceEntity) -
copyWorkObjectData
protected void copyWorkObjectData(WorkObject inactiveCase, org.flowable.cmmn.engine.impl.persistence.entity.HistoricCaseInstanceEntity historicCaseInstanceEntity) -
getCmmnEngineConfiguration
protected org.flowable.cmmn.engine.CmmnEngineConfiguration getCmmnEngineConfiguration() -
getHistoricIdentityLinks
protected java.util.List<org.flowable.identitylink.service.impl.persistence.entity.HistoricIdentityLinkEntity> getHistoricIdentityLinks(java.lang.String id)- Specified by:
getHistoricIdentityLinks
in classMigrationService
-
getWorkObjectService
- Overrides:
getWorkObjectService
in classMigrationService
-