public JqmTester addParameter(String key, String value) { RuntimeParameter.create(cnx, ji, key, value); cnx.commit(); return this; }
public JqmTester addParameter(String key, String value) { RuntimeParameter.create(cnx, ji, key, value); cnx.commit(); return this; }
public static int enqueue(DbConn cnx, State status, int queue_id, int job_id, String application, Integer parentId, String module, String keyword1, String keyword2, String keyword3, String sessionId, String userName, String email, boolean highlander, boolean fromSchedule, Calendar notBefore, int priority, Instruction instruction, Map<String, String> prms) { QueryResult qr = cnx.runUpdate("ji_insert_enqueue", email, application, keyword1, keyword2, keyword3, module, parentId, sessionId, status, userName, job_id, queue_id, highlander, fromSchedule, notBefore, priority, instruction); int newId = qr.getGeneratedId(); if (prms != null) { for (Map.Entry<String, String> prm : prms.entrySet()) { RuntimeParameter.create(cnx, newId, prm.getKey(), prm.getValue()); } } return newId; } }
public static int enqueue(DbConn cnx, State status, int queue_id, int job_id, String application, Integer parentId, String module, String keyword1, String keyword2, String keyword3, String sessionId, String userName, String email, boolean highlander, boolean fromSchedule, Calendar notBefore, int priority, Instruction instruction, Map<String, String> prms) { QueryResult qr = cnx.runUpdate("ji_insert_enqueue", email, application, keyword1, keyword2, keyword3, module, parentId, sessionId, status, userName, job_id, queue_id, highlander, fromSchedule, notBefore, priority, instruction); int newId = qr.getGeneratedId(); if (prms != null) { for (Map.Entry<String, String> prm : prms.entrySet()) { RuntimeParameter.create(cnx, newId, prm.getKey(), prm.getValue()); } } return newId; } }