java.lang.Object
fr.paris.lutece.plugins.workflow.modules.ticketing.business.information.TaskInformationDAO
All Implemented Interfaces:
ITaskInformationDAO

public class TaskInformationDAO extends Object implements ITaskInformationDAO
TaskInformationDAO
  • Field Summary

    Fields inherited from interface fr.paris.lutece.plugins.workflow.modules.ticketing.business.information.ITaskInformationDAO

    BEAN_SERVICE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Remove information by history and id task
    void
    deleteByHistoryList(List<Integer> idHistoryList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Remove information by id history list
    void
    deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Remove information by task
    getInfoHistoryValueByIdHistory(int idTicket, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Get the value in history
    void
    insert(TaskInformation taskInformation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert new record
    load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load a record by primary key
    void
    update(int idHistory, String infoValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Upadte the value info

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TaskInformationDAO

      public TaskInformationDAO()
  • Method Details

    • insert

      public void insert(TaskInformation taskInformation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert new record
      Specified by:
      insert in interface ITaskInformationDAO
      Parameters:
      taskInformation - the TaskInformation Object
      plugin - the plugin
    • load

      public TaskInformation load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load a record by primary key
      Specified by:
      load in interface ITaskInformationDAO
      Parameters:
      nIdHistory - the action history id
      nIdTask - the task id
      plugin - the plugin
      Returns:
      TaskInformation Object
    • update

      public void update(int idHistory, String infoValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Upadte the value info
      Specified by:
      update in interface ITaskInformationDAO
      Parameters:
      idHistory - the history id
      infoValue - the info value
      plugin - the plugin
    • getInfoHistoryValueByIdHistory

      public String getInfoHistoryValueByIdHistory(int idTicket, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get the value in history
      Specified by:
      getInfoHistoryValueByIdHistory in interface ITaskInformationDAO
      Parameters:
      idTicket - the history id
      plugin - the plugin
    • deleteByHistory

      public void deleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove information by history and id task
      Specified by:
      deleteByHistory in interface ITaskInformationDAO
      Parameters:
      nIdHistory - the History id
      nIdTask - the task id
      plugin - the plugin
    • deleteByTask

      public void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove information by task
      Specified by:
      deleteByTask in interface ITaskInformationDAO
      Parameters:
      nIdTask - the task id
      plugin - the plugin
    • deleteByHistoryList

      public void deleteByHistoryList(List<Integer> idHistoryList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove information by id history list
      Specified by:
      deleteByHistoryList in interface ITaskInformationDAO
      Parameters:
      idHistoryList - the History id list
      plugin - the plugin