java.lang.Object
fr.paris.lutece.plugins.workflow.modules.assignment.business.AssignmentHistoryDAO
All Implemented Interfaces:
IAssignmentHistoryDAO

@ApplicationScoped @Named("workflow.assignmentHistoryDAO") public class AssignmentHistoryDAO extends Object implements IAssignmentHistoryDAO
class AssignmentHistoryDAO
  • 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)
    delete all assignments associated width the history specified in parameter
    void
    deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    delete all assignments associated width the task specified in parameter
    void
    insert(AssignmentHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    insert new history assignment
    selectByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    return for a history the list of assignments

    Methods inherited from class java.lang.Object

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

    • AssignmentHistoryDAO

      public AssignmentHistoryDAO()
  • Method Details

    • insert

      public void insert(AssignmentHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      insert new history assignment
      Specified by:
      insert in interface IAssignmentHistoryDAO
      Parameters:
      history - history assignment
      plugin - the plugin
    • selectByHistory

      public List<AssignmentHistory> selectByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      return for a history the list of assignments
      Specified by:
      selectByHistory in interface IAssignmentHistoryDAO
      Parameters:
      nIdHistory - the history id
      nIdTask - the task id
      plugin - the plugin
      Returns:
      a list of AssignmentHistory
    • deleteByHistory

      public void deleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      delete all assignments associated width the history specified in parameter
      Specified by:
      deleteByHistory in interface IAssignmentHistoryDAO
      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)
      delete all assignments associated width the task specified in parameter
      Specified by:
      deleteByTask in interface IAssignmentHistoryDAO
      Parameters:
      nIdTask - the task id
      plugin - the plugin