Package de.danet.an.workflow.localapi

Examples of de.danet.an.workflow.localapi.TransitionLocal.from()


  // new evaluation needed
  nextActivitiesCache = new ArrayList();
  List allTrans = ((ProcessLocal)containerLocal()).transitionsLocal();
  for (Iterator tri = allTrans.iterator(); tri.hasNext();) {
      TransitionLocal trans = (TransitionLocal)tri.next();
      if (key().equals (trans.from().key())) {
    nextActivitiesCache.add
                    (((ExtActivityLocal)trans.to()).toActivity());
      }
  }
  return nextActivitiesCache;
View Full Code Here


     */
    public List transitionsLocalFrom(String fromActivityKey) {
        List res = new ArrayList();
        for (Iterator iter = transitions.iterator(); iter.hasNext();) {
            TransitionLocal trans = (TransitionLocal)iter.next();
            if (trans.from().key().equals(fromActivityKey)) {
                res.add(trans);
            }
        }
        return res;
    }
View Full Code Here

        int offset = 1;
        prepStmt.setString(offset++, t.id());
        prepStmt.setLong(offset++,
             ((Long)ctx.getPrimaryKey()).longValue());
        prepStmt.setLong
      (offset++, Long.parseLong(t.from().key()));
        prepStmt.setLong
      (offset++, Long.parseLong(t.to().key()));
        prepStmt.setString(offset++, td.group());
        prepStmt.setInt(offset++, td.order());
        prepStmt.setInt(offset++, td.conditionType());
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.