Class TaskAntsAppointmentHistoryService

    • Method Detail

      • create

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

        public 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
        Specified by:
        removeByHistory in interface ITaskAntsAppointmentHistoryService
        Parameters:
        idHistory - ID of the resource history used for the task
        idTask - ID of the task
        plugin - The Plugin
      • removeByTask

        public 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
        Specified by:
        removeByTask in interface ITaskAntsAppointmentHistoryService
        Parameters:
        idTask - ID of the task
        plugin - The Plugin
      • findByPrimaryKey

        public 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
        Specified by:
        findByPrimaryKey in interface ITaskAntsAppointmentHistoryService
        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