Examples of CmmnActivityBehavior


Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

      }
    }

    CmmnExecution parent = execution.getParent();
    if (parent != null) {
      CmmnActivityBehavior behavior = getActivityBehavior(parent);
      if (behavior instanceof CompositeActivityBehavior) {
        CompositeActivityBehavior compositeBehavior = (CompositeActivityBehavior) behavior;
        compositeBehavior.childStateChanged(parent, execution);
      }
    }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

  }

  protected void transitionNotificationCompleted(CmmnExecution execution) {
    // the case instance is associated with the
    // casePlanModel as activity
    CmmnActivityBehavior behavior = getActivityBehavior(execution);

    // perform start() on associated behavior
    // because the case instance is ACTIVE
    behavior.started(execution);
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

  public String getCanonicalName() {
    return "trigger-exit-criteria";
  }

  public void execute(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.triggerExitCriteria(execution);
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

*
*/
public abstract class AbstractAtomicOperationCaseExecutionResume extends AbstractCmmnEventAtomicOperation {

  protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    triggerBehavior(behavior, execution);

    CaseExecutionState newState = getPreviousState(execution);
    execution.setCurrentState(newState);

View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

    return execution;
  }

  protected void transitionNotificationCompleted(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.resumed(execution);
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

  protected String getEventName() {
    return DISABLE;
  }

  protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.onDisable(execution);

    execution.setCurrentState(DISABLED);

    return execution;
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

  }

  protected void transitionNotificationCompleted(CmmnExecution execution) {
    CmmnExecution parent = execution.getParent();
    if (parent != null) {
      CmmnActivityBehavior behavior = getActivityBehavior(parent);
      if (behavior instanceof CompositeActivityBehavior) {
        CompositeActivityBehavior compositeBehavior = (CompositeActivityBehavior) behavior;
        compositeBehavior.childStateChanged(parent, execution);
      }
    }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

  protected String getEventName() {
    return RE_ACTIVATE;
  }

  protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.onReactivation(execution);

    execution.setCurrentState(ACTIVE);

    return execution;
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

    return execution;
  }

  protected void transitionNotificationCompleted(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.reactivated(execution);
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior

  public String getCanonicalName() {
    return "trigger-entry-criteria";
  }

  public void execute(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.triggerEntryCriteria(execution);
  }
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.