Examples of ChoreProcess


Examples of com.acelet.s.chore.ChoreProcess

   * @return Chore
   * @see com.acelet.s.chore.Chore
   * @see #selectAllChores
   */
  public static Chore selectChore(Connection connection, long id) throws Exception {
    return new ChoreProcess(connection).selectChore(id);
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

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

Examples of com.acelet.s.chore.ChoreProcess

   * @return Chore
   * @see com.acelet.s.chore.Chore
   * @see com.acelet.s.chore.ChoreConstants
   */
  public static Chore selectChore(Connection connection, String name) throws Exception {
    return new ChoreProcess(connection).selectChore(name);
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

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

Examples of com.acelet.s.chore.ChoreProcess

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

Examples of com.acelet.s.chore.ChoreProcess

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

Examples of com.acelet.s.chore.ChoreProcess

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

Examples of com.acelet.s.chore.ChoreProcess

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

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.WorkingChore
   */
  public static int updateWorkingChore(Connection connection, WorkingChore workingChore)
  throws Exception {
    return new ChoreProcess(connection).updateWorkingChore(workingChore);
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

  }

  public static int deleteCandidateChore(long id) throws Exception {
    Connection connection = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      return new ChoreProcess(connection).deleteCandidateChore(id);
    }
  }
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.