Examples of ChoreProcess


Examples of com.acelet.s.chore.ChoreProcess

   * @return the number of rows changed. It is 1, if successful, 0 otherwise.
   * @see com.acelet.s.chore.Chore
   * @see com.acelet.s.chore.ChoreConstants
   */
  public static int insertChore(Connection connection, Chore chore) throws Exception {
    return new ChoreProcess(connection).insertChore(chore);
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

   */
  public static int modifyChore(Chore chore, long newModifiedAt) throws Exception {
    Connection connection = null;
    try {
      connection = DirectTaskDatabaseConnection.getNewConnection();
      return new ChoreProcess(connection).modifyChore(chore, newModifiedAt);
    } finally {
      if (connection != null)
        connection.close();
    }
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

   * @see com.acelet.s.chore.ChoreConstants
   * @see com.acelet.s.job.AbstractTaskConstants
   */
  public static int modifyChore(Connection connection, Chore chore, long newModifiedAt)
  throws Exception {
    return new ChoreProcess(connection).modifyChore(chore, newModifiedAt);
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

   */
  public static Vector selectAllChores() throws Exception {
    Connection connection = null;
    try {
      connection = DirectTaskDatabaseConnection.getNewConnection();
      return new ChoreProcess(connection).selectAllChores();
    } finally {
      if (connection != null)
        connection.close();
    }
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

   * automatically.
   * @return Vector of Chore
   * @see com.acelet.s.chore.Chore
   */
  public static Vector selectAllChores(Connection connection) throws Exception {
    return new ChoreProcess(connection).selectAllChores();
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

   */
  public static Vector selectAllWorkingChores(long from, long to) throws Exception {
    Connection connection = null;
    try {
      connection = DirectTaskDatabaseConnection.getNewConnection();
      return new ChoreProcess(connection).selectAllWorkingChores(from, to);
    } finally {
      if (connection != null)
        connection.close();
    }
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

   * @return Vector of WorkingChore
   * @see com.acelet.s.chore.WorkingChore
   */
  public static Vector selectAllWorkingChores(Connection connection, long from, long to)
  throws Exception {
    return new ChoreProcess(connection).selectAllWorkingChores(from, to);
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

   */
  public static Vector selectAllWorkingChores(long from, long to, int rows) throws Exception {
    Connection connection = null;
    try {
      connection = DirectTaskDatabaseConnection.getNewConnection();
      return new ChoreProcess(connection).selectAllWorkingChores(from, to, rows);
    } finally {
      if (connection != null)
        connection.close();
    }
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

   * @return Vector of WorkingChore
   * @see com.acelet.s.chore.WorkingChore
   */
  public static Vector selectAllWorkingChores(Connection connection, long from, long to, int rows)
  throws Exception {
    return new ChoreProcess(connection).selectAllWorkingChores(from, to, rows);
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

   */
  public static Chore selectChore(long id) throws Exception {
    Connection connection = null;
    try {
      connection = DirectTaskDatabaseConnection.getNewConnection();
      return new ChoreProcess(connection).selectChore(id);
    } finally {
      if (connection != null)
        connection.close();
    }
  }
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.