Package com.acelet.s.task

Examples of com.acelet.s.task.TaskProcess


   * @return the number of rows changed. It is 1, if successful, 0 otherwise.
   * @see com.acelet.s.task.Holiday
   * @see #selectAllHolidays
   */
  public static int deleteHoliday(Connection connection, long id) throws Exception {
    return new TaskProcess(connection).deleteHoliday(id);
  }
View Full Code Here


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

   * @param id the id of the HolidayRule.
   * @return the number of rows changed. It is 1, if successful, 0 otherwise.
   * @see com.acelet.s.task.HolidayRule
   */
  public static int deleteHolidayRule(Connection connection, long id) throws Exception {
    return new TaskProcess(connection).deleteHolidayRule(id);
  }
View Full Code Here

   */
  public static int deleteHolidaySet(String setName) throws Exception {
    Connection connection = null;
    try {
      connection = DirectTaskDatabaseConnection.getNewConnection();
      return new TaskProcess(connection).deleteHolidaySet(setName);
    } finally {
      if (connection != null)
        connection.close();
    }
  }
View Full Code Here

   * automatically.
   * @param setName the name of the set
   * @return the number of rows changed. It is 1, if successful, 0 otherwise.
   */
  public static int deleteHolidaySet(Connection connection, String setName) throws Exception {
    return new TaskProcess(connection).deleteHolidaySet(setName);
  }
View Full Code Here

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

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

  public static int deleteDoerTalker(String name) throws Exception {
    Connection connection = null;
    try {
      connection = DirectTaskDatabaseConnection.getNewConnection();
      return new TaskProcess(connection).deleteDoerTalker(name);
    } finally {
      if (connection != null)
        connection.close();
    }
  }
View Full Code Here

        connection.close();
    }
  }

  public static int deleteEntitlement(Connection conn, String role) throws Exception {
    return new TaskProcess(conn).deleteEntitlement(role);
  }
View Full Code Here

  public static int deleteEntitlement(Connection conn, String role) throws Exception {
    return new TaskProcess(conn).deleteEntitlement(role);
  }

  public static int deleteRole(Connection conn, String name) throws Exception {
    return new TaskProcess(conn).deleteRole(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.