Package de.danet.an.workflow.domain

Examples of de.danet.an.workflow.domain.Deadline


    + "FROM Deadline WHERE Activity = ? ORDER BY Entry";
      prepStmt = con.prepareStatement(selectStatement);
      prepStmt.setLong(1, pk.longValue());
      rs = prepStmt.executeQuery();
      while (rs.next()) {
    res.add (new Deadline
       (rs.getInt (3), JDBCUtil.getString(ds, rs, 1),
        rs.getString (2)));
      }
      return res;
  } finally {
View Full Code Here


         + "DeadlineCond, ExceptionName, Execution, State) "
         + "VALUES (?, ?, ?, ?, ?, ?, ?)",
         new String[] {"Activity", "Entry"});
    int entry = 0;
    for (Iterator i = dls.iterator(); i.hasNext();) {
        Deadline dl = (Deadline)i.next ();
        int offset = 1;
        prepStmt.setLong(offset++, pk.longValue());
        prepStmt.setLong(offset++, ak.longValue());
        prepStmt.setInt(offset++, entry++);
        prepStmt.setLargeString(offset++, dl.getCondition());
        prepStmt.setString (offset++, dl.getExceptionName());
        prepStmt.setInt(offset++, dl.getExecution());
        prepStmt.setInt(offset++, dl.getState());
        prepStmt.executeUpdate();
    }
      }
  } finally {
      JDBCUtil.closeAll (null, prepStmt, null);
View Full Code Here

TOP

Related Classes of de.danet.an.workflow.domain.Deadline

Copyright © 2018 www.massapicom. 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.