java.lang.Object
fr.paris.lutece.plugins.workflow.modules.appointmentants.business.history.TaskAntsAppointmentHistoryDAO
All Implemented Interfaces:
ITaskAntsAppointmentHistoryDAO

public class TaskAntsAppointmentHistoryDAO extends Object implements ITaskAntsAppointmentHistoryDAO
Provide Data Access methods for the history of the ANTS related tasks
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteByHistory(int idHistory, int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete the history associated with the history and task specified in parameters
    void
    deleteByTask(int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete the history associated with the task specified in parameters
    void
    insert(TaskAntsAppointmentHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the ANTS task's history table
    load(int idHistory, int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load data that matches the specified parameters, from the ANTS task's history table

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • TaskAntsAppointmentHistoryDAO

      public TaskAntsAppointmentHistoryDAO()
  • Method Details

    • insert

      public void insert(TaskAntsAppointmentHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the ANTS task's history table
      Specified by:
      insert in interface ITaskAntsAppointmentHistoryDAO
      Parameters:
      history - TaskAntsAppointmentHistory object to insert
      plugin - The Plugin
    • load

      public TaskAntsAppointmentHistory load(int idHistory, int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load data that matches the specified parameters, from the ANTS task's history table
      Specified by:
      load in interface ITaskAntsAppointmentHistoryDAO
      Parameters:
      idHistory - ID of the resource history used for the task
      idTask - ID of the task
      plugin - The Plugin
      Returns:
      The TaskAntsAppointmentHistory object matching the parameters, or null if none was found
    • deleteByHistory

      public void deleteByHistory(int idHistory, int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete the history associated with the history and task specified in parameters
      Specified by:
      deleteByHistory in interface ITaskAntsAppointmentHistoryDAO
      Parameters:
      idHistory - ID of the resource history used for the task
      idTask - ID of the task
      plugin - The Plugin
    • deleteByTask

      public void deleteByTask(int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete the history associated with the task specified in parameters
      Specified by:
      deleteByTask in interface ITaskAntsAppointmentHistoryDAO
      Parameters:
      idTask - ID of the task
      plugin - The Plugin