protected void notifyParent(CmmnExecution parent, CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(parent); if (behavior instanceof CmmnCompositeActivityBehavior) { CmmnCompositeActivityBehavior compositeBehavior = (CmmnCompositeActivityBehavior) behavior; compositeBehavior.handleChildSuspension(parent, execution); } }
protected void postTransitionNotification(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); }
protected void postTransitionNotification(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); }
protected void notifyParent(CmmnExecution parent, CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(parent); if (behavior instanceof CmmnCompositeActivityBehavior) { CmmnCompositeActivityBehavior compositeBehavior = (CmmnCompositeActivityBehavior) behavior; compositeBehavior.handleChildTermination(parent, execution); } }
protected void notifyParent(CmmnExecution parent, CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(parent); if (behavior instanceof CmmnCompositeActivityBehavior) { CmmnCompositeActivityBehavior compositeBehavior = (CmmnCompositeActivityBehavior) behavior; compositeBehavior.handleChildTermination(parent, execution); } }
protected void notifyParent(CmmnExecution parent, CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(parent); if (behavior instanceof CmmnCompositeActivityBehavior) { CmmnCompositeActivityBehavior compositeBehavior = (CmmnCompositeActivityBehavior) behavior; compositeBehavior.handleChildSuspension(parent, execution); } }
protected void postTransitionNotification(CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(execution); behavior.started(execution); }
protected void postTransitionNotification(CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(execution); behavior.reactivated(execution); }
public void execute(CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(execution); behavior.created(execution); }
public void execute(CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(execution); behavior.created(execution); }
protected void postTransitionNotification(CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(execution); behavior.started(execution); }
protected void postTransitionNotification(CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(execution); behavior.resumed(execution); }
public void execute(CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(execution); behavior.fireEntryCriteria(execution); }
protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(execution); behavior.onReenable(execution); execution.setCurrentState(ENABLED); return execution; } }
protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(execution); behavior.onEnable(execution); execution.setCurrentState(ENABLED); return execution; }
protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(execution); triggerBehavior(behavior, execution); execution.setCurrentState(COMPLETED); return execution; }
protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(execution); behavior.onEnable(execution); execution.setCurrentState(ENABLED); return execution; }
protected void preTransitionNotification(CmmnExecution execution) { CmmnExecution parent = execution.getParent(); if (parent != null) { CmmnActivityBehavior behavior = getActivityBehavior(parent); if (behavior instanceof CmmnCompositeActivityBehavior) { CmmnCompositeActivityBehavior compositeBehavior = (CmmnCompositeActivityBehavior) behavior; compositeBehavior.handleChildDisabled(parent, execution); } } }
protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(execution); behavior.onReactivation(execution); execution.setCurrentState(ACTIVE); return execution; }
protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) { CmmnActivityBehavior behavior = getActivityBehavior(execution); behavior.onCreate(execution); execution.setCurrentState(AVAILABLE); return execution; }