Package com.acelet.s.chore

Examples of com.acelet.s.chore.ChoreProcess


    }
  }

  public static int insertWatchdogPreference(Connection conn, String key, String value)
  throws Exception {
    return new ChoreProcess(conn).insertWatchdogPreference(key, value);
  }
View Full Code Here


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

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

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

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

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

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

   * It should be set as auto-commit <br>
   * @exception Exception.
   */
  public WatchdogControl(LogAgent logAgent, Connection choreConnection) throws Exception{
    this.choreConnection = choreConnection;
    choreProcess = new ChoreProcess(choreConnection);
    choreProcess.setLogAgent(logAgent);
  }     
View Full Code Here

TOP

Related Classes of com.acelet.s.chore.ChoreProcess

Copyright © 2018 www.massapicom. 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.