Class AssignmentHistoryDAO

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
      java.util.List<AssignmentHistory> 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 Detail

      • AssignmentHistoryDAO

        public AssignmentHistoryDAO()
    • Method Detail

      • 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 java.util.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