Examples of ChoreProcess


Examples of com.acelet.s.chore.ChoreProcess

  }

  public static int deleteOldWorkingChores(long workingChoreRetireTime) throws Exception {
    Connection connection = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      return new
        ChoreProcess(connection).deleteOldWorkingChores(workingChoreRetireTime);
    }
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

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

Examples of com.acelet.s.chore.ChoreProcess

  }

  public static int deleteWorkingChore(long id) throws Exception {
    Connection connection = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      return new ChoreProcess(connection).deleteWorkingChore(id);
    }
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

  }

  public static int getNumberOfChores() throws Exception {
    Connection connection = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      return new ChoreProcess(connection).getNumberOfChores();
    }
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

  }

  public static String getRefreshTime(String doerTalkerName) throws Exception {
    Connection connection = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      return new ChoreProcess(connection).getRefreshTime(doerTalkerName);
    }
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

  }

  public static void init() throws Exception {
    Connection connection = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      logAgent = new ChoreProcess(connection).setLogAgent();
    }
    init2();
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

   * @see com.acelet.s.chore.WorkingChore
   */
  public static int insertWorkingChore(WorkingChore workingChore) throws Exception {
    Connection connection = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      return new ChoreProcess(connection).insertWorkingChore(workingChore);
    }
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

  }

  public static Vector selectAllCandidateChores() throws Exception {
    Connection connection = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      return new ChoreProcess(connection).selectAllCandidateChores();
    }
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

  }

  public static Vector selectAllChores() throws Exception {
    Connection connection = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      return new ChoreProcess(connection).selectAllChores();
    }
  }
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 = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      return new ChoreProcess(connection).selectAllWorkingChores(from, to, rows);
    }
  }
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.