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 voidcopyEntityData(WorkObject inactiveCase, org.flowable.cmmn.engine.impl.persistence.entity.HistoricCaseInstanceEntityImpl historicCaseInstanceEntity)protected org.flowable.cmmn.engine.impl.persistence.entity.HistoricCaseInstanceEntitycopyInactiveCaseData(WorkObject inactiveCase, org.flowable.cmmn.engine.impl.persistence.entity.HistoricCaseInstanceEntityImpl historicCaseInstanceEntity)protected voidcopyWorkObjectData(WorkObject inactiveCase, org.flowable.cmmn.engine.impl.persistence.entity.HistoricCaseInstanceEntity historicCaseInstanceEntity)protected java.lang.StringcreateHistoricEntityFromTemplate(WorkObject inactiveCase)protected voidcreateHistoricEntityVariable(java.lang.String historicCaseEntityId, java.lang.String variableName, java.lang.Object variableValue)protected org.flowable.cmmn.engine.CmmnEngineConfigurationgetCmmnEngineConfiguration()protected java.util.DategetCurrentTime()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 WorkObjectQuerygetWorkObjectQuery()protected WorkObjectServicegetWorkObjectService()protected voidinsertHistoricIdentityLink(java.lang.String historicCaseEntityId, java.lang.String userId, java.lang.String groupId, java.util.Date createTime, java.lang.String identityLinkType)protected voidsetParent(WorkObject inactiveCase, org.flowable.cmmn.engine.impl.persistence.entity.HistoricCaseInstanceEntityImpl historicCaseInstanceEntity)protected voidvalidateHistoricEntityWithWorkObject(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:
getWorkObjectQueryin classMigrationService
-
createHistoricEntityVariable
protected void createHistoricEntityVariable(java.lang.String historicCaseEntityId, java.lang.String variableName, java.lang.Object variableValue)- Specified by:
createHistoricEntityVariablein classMigrationService
-
getHistoricVariables
protected java.util.List<org.flowable.variable.api.history.HistoricVariableInstance> getHistoricVariables(java.lang.String historicCaseEntityId)- Specified by:
getHistoricVariablesin classMigrationService
-
getCurrentTime
protected java.util.Date getCurrentTime()- Specified by:
getCurrentTimein 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:
insertHistoricIdentityLinkin classMigrationService
-
createHistoricEntityFromTemplate
- Specified by:
createHistoricEntityFromTemplatein classMigrationService
-
validateHistoricEntityWithWorkObject
- Specified by:
validateHistoricEntityWithWorkObjectin 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:
getHistoricIdentityLinksin classMigrationService
-
getWorkObjectService
- Overrides:
getWorkObjectServicein classMigrationService
-