Class TaskInformationService

    • Constructor Detail

      • TaskInformationService

        public TaskInformationService()
    • Method Detail

      • create

        @Transactional("workflow.transactionManager")
        public void create​(TaskInformation taskInformation,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Creation of a task information
        Specified by:
        create in interface ITaskInformationService
        Parameters:
        taskInformation - The task informations
        plugin - the plugin
      • removeByHistory

        @Transactional("workflow.transactionManager")
        public void removeByHistory​(int nIdHistory,
                                    int nIdTask,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove the task information by history
        Specified by:
        removeByHistory in interface ITaskInformationService
        Parameters:
        nIdHistory - the history key
        nIdTask - The task key
        plugin - the Plugin
      • removeByTask

        @Transactional("workflow.transactionManager")
        public void removeByTask​(int nIdTask,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove task information by task
        Specified by:
        removeByTask in interface ITaskInformationService
        Parameters:
        nIdTask - The task key
        plugin - the Plugin
      • findByPrimaryKey

        public TaskInformation findByPrimaryKey​(int nIdHistory,
                                                int nIdTask,
                                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the TaskInformation Object
        Specified by:
        findByPrimaryKey in interface ITaskInformationService
        Parameters:
        nIdHistory - the history id
        nIdTask - the task id
        plugin - the plugin
        Returns:
        the Config Object