Interface ITaskAntsAppointmentHistoryDAO

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      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 taskAntsAppointmentHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the ANTS task's history table
      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
    • Method Detail

      • insert

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

        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
        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

        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
        Parameters:
        idHistory - ID of the resource history used for the task
        idTask - ID of the task
        plugin - The Plugin
      • deleteByTask

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