Class TaskDAO

    • Constructor Detail

      • TaskDAO

        public TaskDAO()
    • Method Detail

      • insert

        public void insert​(Task task,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
                    throws com.fasterxml.jackson.core.JsonProcessingException
        Specified by:
        insert in interface ITaskDAO
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • update

        public void update​(Task task,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
                    throws com.fasterxml.jackson.core.JsonProcessingException
        Specified by:
        update in interface ITaskDAO
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • updateStatus

        public Timestamp updateStatus​(String taskCode,
                                      TaskStatusType newStatus,
                                      String clientCode,
                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
                               throws com.fasterxml.jackson.core.JsonProcessingException
        Specified by:
        updateStatus in interface ITaskDAO
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • load

        public Task load​(int nIdTask,
                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
                  throws com.fasterxml.jackson.core.JsonProcessingException
        Specified by:
        load in interface ITaskDAO
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • selectByCode

        public Task selectByCode​(String strCode,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
                          throws com.fasterxml.jackson.core.JsonProcessingException
        Specified by:
        selectByCode in interface ITaskDAO
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • selectExpiredTask

        public List<Task> selectExpiredTask​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
                                     throws com.fasterxml.jackson.core.JsonProcessingException
        Specified by:
        selectExpiredTask in interface ITaskDAO
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • delete

        public void delete​(int nIdTask,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Specified by:
        delete in interface ITaskDAO
      • selectByIdAndResourceType

        public List<Task> selectByIdAndResourceType​(String strResourceId,
                                                    String strResourceType,
                                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
                                             throws com.fasterxml.jackson.core.JsonProcessingException
        Specified by:
        selectByIdAndResourceType in interface ITaskDAO
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • selectTasksListByIds

        public List<Task> selectTasksListByIds​(List<Integer> listIds,
                                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
                                        throws com.fasterxml.jackson.core.JsonProcessingException
        Specified by:
        selectTasksListByIds in interface ITaskDAO
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException