Examples of WfActivityLocal


Examples of de.danet.an.workflow.localcoreapi.WfActivityLocal

      // start all activities
      TransitionManager tm = transitionManager();
      Collection activitiesToStart = tm.startableActivities();
      Iterator it = activitiesToStart.iterator();
      while (it.hasNext()) {
    WfActivityLocal a = (WfActivityLocal)it.next();
    try {
        // Due to concurrency, an activity
        // could be started interim.
        if (!a.workflowState()
      .equals(State.CLOSED)
      && a.state()
      .equals("open.not_running.not_runnable")) {
      a.setProcessContext(null);
        }   
    } catch (InvalidDataException ide) {
        throw new CannotStartException("");
    } catch (UpdateNotAllowedException ue) {
        throw new CannotStartException("");
View Full Code Here

Examples of de.danet.an.workflow.localcoreapi.WfActivityLocal

  p.setActivities(c);

  Collection d = p.stepsLocal();
  Iterator it = d.iterator();
  while (it.hasNext()) {
      WfActivityLocal wfa = (WfActivityLocal)it.next();
      assertTrue(wfa != null);
  }
  boolean allClosed = p.allActivitiesClosed();
  assertTrue (!allClosed);
  p.start();
View Full Code Here

Examples of de.danet.an.workflow.localcoreapi.WfActivityLocal

       actSetDefs, actId, joinMode, splitMode);
        actIdMap.put(actId, ba);
        getPaBlockDeadlines().put (baKey, deadlines);
    } else {
        // create a simple activity
        WfActivityLocal act = createActivity
      (blkActKey, priority, name, description,
       startMode, finishMode, joinMode, splitMode,
       impls.size() == 0 ? null
       : ((Implementation[])impls.toArray
          (new Implementation[impls.size()])),
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.