Interface ITaskAntsAppointmentHistoryService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void create​(TaskAntsAppointmentHistory taskAntsAppointmentHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Create a new entry in the ANTS task's history table
      TaskAntsAppointmentHistory findByPrimaryKey​(int idHistory, int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find the data that matches the specified parameters, from the ANTS task's history table
      void removeByHistory​(int idHistory, int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove the ANTS task's history associated with the history and task specified in parameters
      void removeByTask​(int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove the ANTS task's history associated with the task specified in parameters
    • Method Detail

      • create

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

        void removeByHistory​(int idHistory,
                             int idTask,
                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove the ANTS task's 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
      • removeByTask

        void removeByTask​(int idTask,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove the ANTS task's history associated with the task specified in parameters
        Parameters:
        idTask - ID of the task
        plugin - The Plugin
      • findByPrimaryKey

        TaskAntsAppointmentHistory findByPrimaryKey​(int idHistory,
                                                    int idTask,
                                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Find the 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