Package com.acelet.s.task

Examples of com.acelet.s.task.TaskProcess


   * @see com.acelet.s.task.WorkingTask
   */
  public static int insertWorkingTask(WorkingTask workingTask) throws Exception {
    Connection connection = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      return new TaskProcess(connection).insertWorkingTask(workingTask);
    }
  }
View Full Code Here


  }

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

  }

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

  }

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

  }

  public static Vector selectAllWorkingTasks(long from, long to, int rows) throws Exception {
    Connection connection = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      return new TaskProcess(connection).selectAllWorkingTasks(from, to, rows);
    }
  }
View Full Code Here

  }

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

  }

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

  }

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

  }

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

  }

  public static Task selectTask(String name) throws Exception {
    Connection connection = DirectTaskDatabaseConnection.getConnection();
    synchronized (connection) {
      return new TaskProcess(connection).selectTask(name);
    }
  }
View Full Code Here

TOP

Related Classes of com.acelet.s.task.TaskProcess

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.