Examples of ChoreProcess


Examples of com.acelet.s.chore.ChoreProcess

  }

  public static Chore selectChore(long id) throws Exception {
    Connection connection = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      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 = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      return new ChoreProcess(connection).selectChore(name);
    }
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

  }

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

Examples of com.acelet.s.chore.ChoreProcess

  }

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

Examples of com.acelet.s.chore.ChoreProcess

  }

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

Examples of com.acelet.s.chore.ChoreProcess

  }

  public static int updateChore(Chore chore, long newModifiedAt) throws Exception {
    Connection connection = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      return new ChoreProcess(connection).updateChore(chore, newModifiedAt);
    }
  }
View Full Code Here

Examples of com.acelet.s.chore.ChoreProcess

  }

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

Examples of com.acelet.s.chore.ChoreProcess

  }

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

Examples of com.acelet.s.chore.ChoreProcess

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

Examples of com.acelet.s.chore.ChoreProcess

  public static int deleteDoerTalker(String name) throws Exception {
    Connection connection = null;
    try {
      connection = DirectTaskDatabaseConnection.getNewConnection();
      return new ChoreProcess(connection).deleteDoerTalker(name);
    } 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.