Examples of PlanItemDefinition


Examples of org.camunda.bpm.model.cmmn.instance.PlanItemDefinition

    }

  }

  protected void transformPlanItem(PlanItem planItem, CmmnActivity parent) {
    PlanItemDefinition definition = planItem.getDefinition();

    ItemHandler planItemTransformer = null;

    if (definition instanceof HumanTask) {
      planItemTransformer = getPlanItemHandler(HumanTask.class);
View Full Code Here

Examples of org.camunda.bpm.model.cmmn.instance.PlanItemDefinition

    }
  }

  protected List<CamundaIn> getInputs(CmmnElement element) {
    PlanItemDefinition definition = getDefinition(element);
    return queryExtensionElementsByClass(definition, CamundaIn.class);
  }
View Full Code Here

Examples of org.camunda.bpm.model.cmmn.instance.PlanItemDefinition

    PlanItemDefinition definition = getDefinition(element);
    return queryExtensionElementsByClass(definition, CamundaIn.class);
  }

  protected List<CamundaOut> getOutputs(CmmnElement element) {
    PlanItemDefinition definition = getDefinition(element);
    return queryExtensionElementsByClass(definition, CamundaOut.class);
  }
View Full Code Here

Examples of org.camunda.bpm.model.cmmn.instance.PlanItemDefinition

    }

    String name = getName(element);

    if (name == null) {
      PlanItemDefinition definition = getDefinition(element);
      name = definition.getName();
    }
    activity.setName(name);

    // autoComplete
    initializeAutoComplete(element, activity, context);
View Full Code Here

Examples of org.camunda.bpm.model.cmmn.instance.PlanItemDefinition

    }

  }

  protected void initializeCaseExecutionListeners(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context) {
    PlanItemDefinition definition = getDefinition(element);

    List<CamundaCaseExecutionListener> listeners = queryExtensionElementsByClass(definition, CamundaCaseExecutionListener.class);

    for (CamundaCaseExecutionListener listener : listeners) {
      CaseExecutionListener caseExecutionListener = initializeCaseExecutionListener(element, activity, context, listener);
View Full Code Here

Examples of org.camunda.bpm.model.cmmn.instance.PlanItemDefinition

    return caseExecutionListener;
  }

  protected void initializeVariableListeners(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context) {
    PlanItemDefinition definition = getDefinition(element);

    List<CamundaVariableListener> listeners = queryExtensionElementsByClass(definition, CamundaVariableListener.class);

    for (CamundaVariableListener listener : listeners) {
      CaseVariableListener variableListener = initializeVariableListener(element, activity, context, listener);
View Full Code Here

Examples of org.camunda.bpm.model.cmmn.instance.PlanItemDefinition

      }
    }
  }

  protected PlanItemControl getDefaultControl(CmmnElement element) {
    PlanItemDefinition definition = getDefinition(element);

    return definition.getDefaultControl();
  }
View Full Code Here

Examples of org.camunda.bpm.model.cmmn.instance.PlanItemDefinition

      PlanItem planItem = (PlanItem) element;
      name = planItem.getName();
    }

    if (name == null || name.isEmpty()) {
      PlanItemDefinition definition = getDefinition(element);
      if (definition != null) {
        name = definition.getName();
      }
    }

    return name;
  }
View Full Code Here

Examples of org.camunda.bpm.model.cmmn.instance.PlanItemDefinition

  protected String getDesciption(CmmnElement element) {
    String description = element.getDescription();

    if (description == null) {
      PlanItemDefinition definition = getDefinition(element);
      description = definition.getDescription();
    }

    return description;
  }
View Full Code Here

Examples of org.camunda.bpm.model.cmmn.instance.PlanItemDefinition

    }

    String name = getName(element);

    if (name == null) {
      PlanItemDefinition definition = getDefinition(element);
      name = definition.getName();
    }
    activity.setName(name);

    // requiredRule
    initializeRequiredRule(element, activity, context);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.