Examples of takeAll()


Examples of org.activiti.engine.impl.persistence.entity.ExecutionEntity.takeAll()

   
      outgoingExecution.setActive(true);
      outgoingExecution.setScope(false);
      outgoingExecution.setConcurrent(true);
     
      outgoingExecution.takeAll(outgoingTransitions, Collections.EMPTY_LIST);
      outgoingExecution.remove();
      // now we have to move the execution back to the real activity
      // since the execution stays there (non interrupting) and it was
      // set to the boundary event before
      executionEntity.setActivity(interruptedActivity);     
View Full Code Here

Examples of org.activiti.engine.impl.persistence.entity.ExecutionEntity.takeAll()

          LOGGER.debug("Execution {} still active, but multi-instance is completed. Removing this execution.", executionToRemove);
        }
        executionToRemove.inactivate();
        executionToRemove.deleteCascade("multi-instance completed");
      }
      executionEntity.takeAll(executionEntity.getActivity().getOutgoingTransitions(), joinedExecutions);
    }
  }

}
View Full Code Here

Examples of org.activiti.engine.impl.persistence.entity.ExecutionEntity.takeAll()

                  + "but multi-instance is completed. Removing this execution.");
        }
        executionToRemove.inactivate();
        executionToRemove.deleteCascade("multi-instance completed");
      }
      executionEntity.takeAll(executionEntity.getActivity().getOutgoingTransitions(), joinedExecutions);
    }
  }

}
View Full Code Here

Examples of org.activiti.engine.impl.persistence.entity.ExecutionEntity.takeAll()

   
      outgoingExecution.setActive(true);
      outgoingExecution.setScope(false);
      outgoingExecution.setConcurrent(true);
     
      outgoingExecution.takeAll(outgoingTransitions, Collections.EMPTY_LIST);
      outgoingExecution.remove();
      // now we have to move the execution back to the real activity
      // since the execution stays there (non interrupting) and it was
      // set to the boundary event before
      executionEntity.setActivity(interruptedActivity);     
View Full Code Here

Examples of org.activiti.engine.impl.pvm.delegate.ActivityExecution.takeAll()

       
    List<PvmTransition> outgoingTransitions = execution.getActivity().getOutgoingTransitions();
    if(outgoingTransitions.isEmpty()) {
      outgoingExecution.end();
    }else {
      outgoingExecution.takeAll(outgoingTransitions, Collections.EMPTY_LIST);
    }
  }


  // used by timers
View Full Code Here

Examples of org.activiti.engine.impl.pvm.delegate.ActivityExecution.takeAll()

       
    List<PvmTransition> outgoingTransitions = execution.getActivity().getOutgoingTransitions();
    if(outgoingTransitions.isEmpty()) {
      outgoingExecution.end();
    }else {
      outgoingExecution.takeAll(outgoingTransitions, Collections.EMPTY_LIST);
    }
  }


  // used by timers
View Full Code Here

Examples of org.activiti.engine.impl.pvm.delegate.ActivityExecution.takeAll()

   
    // set the outgoing execution to this activity
    ((InterpretableExecution)outgoingExecution).setActivity(activity);
   
    // continue execution
    outgoingExecution.takeAll(activity.getOutgoingTransitions(), Collections.EMPTY_LIST);
  }

  public void setInterrupting(boolean b) {
    isInterrupting = b;
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.takeAll()

        }
        executionToRemove.inactivate();
        executionToRemove.deleteCascade("multi-instance completed");
      }

      executionEntity.takeAll(activity.getOutgoingTransitions(), joinedExecutions);
    } else {
      if(isExtraScopeNeeded()) {
        callActivityEndListeners(execution);
      } else {
        executionEntity.setActivityInstanceId(null);
View Full Code Here

Examples of org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.takeAll()

        }
        executionToRemove.inactivate();
        executionToRemove.deleteCascade("multi-instance completed");
      }

      executionEntity.takeAll(activity.getOutgoingTransitions(), joinedExecutions);
    } else {
      if(isExtraScopeNeeded()) {
        callActivityEndListeners(execution);
      } else {
        executionEntity.setActivityInstanceId(null);
View Full Code Here

Examples of org.camunda.bpm.engine.impl.pvm.delegate.ActivityExecution.takeAll()

    List<PvmTransition> outgoingTransitions = execution.getActivity().getOutgoingTransitions();
    if(outgoingTransitions.isEmpty()) {
      outgoingExecution.end(true);
    }else {
      outgoingExecution.takeAll(outgoingTransitions, Collections.EMPTY_LIST);
    }
  }


  // used by timers
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.