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

@ApplicationScoped @Named("workflow-unittree.taskInformationDAO") public final class TaskInformationDAO extends Object implements ITaskInformationDAO
This class provides Data Access methods for TaskInformation objects
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a new record in the table.
    void
    insert(TaskInformation taskInformation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Inserts a new record in the table.
    load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Loads the data from the table

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • TaskInformationDAO

      public TaskInformationDAO()
  • Method Details

    • insert

      public void insert(TaskInformation taskInformation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Inserts a new record in the table.
      Specified by:
      insert in interface ITaskInformationDAO
      Parameters:
      taskInformation - the task information to insert
      plugin - the Plugin
    • load

      public TaskInformation load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Loads the data from the table
      Specified by:
      load in interface ITaskInformationDAO
      Parameters:
      nIdHistory - The history id
      nIdTask - The task id
      plugin - the Plugin
      Returns:
      The task information
    • delete

      public void delete(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: ITaskInformationDAO
      Delete a new record in the table.
      Specified by:
      delete in interface ITaskInformationDAO
      Parameters:
      nIdHistory - The history id
      nIdTask - The task id
      plugin - the Plugin