Class AssignmentHistoryDAO

    • 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 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