use of org.camunda.bpm.engine.impl.cmmn.entity.repository.CaseDefinitionEntity in project camunda-bpm-platform by camunda.
the class CmmnTransform method transformCase.
protected CaseDefinitionEntity transformCase(Case element) {
// get CaseTransformer
CmmnElementHandler<Case, CmmnActivity> caseTransformer = getDefinitionHandler(Case.class);
CmmnActivity definition = caseTransformer.handleElement(element, context);
context.setCaseDefinition((CmmnCaseDefinition) definition);
context.setParent(definition);
CasePlanModel casePlanModel = element.getCasePlanModel();
transformCasePlanModel(casePlanModel);
for (CmmnTransformListener transformListener : transformListeners) {
transformListener.transformCase(element, (CmmnCaseDefinition) definition);
}
return (CaseDefinitionEntity) definition;
}
Aggregations