Interface IAssignmentHistoryDAO
- All Known Implementing Classes:
AssignmentHistoryDAO
public interface IAssignmentHistoryDAO
IAssignmentHistoryDAO
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) delete all assignments associated width the history specified in parametervoiddeleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) delete all assignments associated width the task specified in parametervoidinsert(AssignmentHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin) insert new history assignmentselectByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) return for a history the list of assignments
-
Method Details
-
insert
insert new history assignment- Parameters:
history- history assignmentplugin- the plugin
-
selectByHistory
List<AssignmentHistory> selectByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) return for a history the list of assignments- Parameters:
nIdHistory- the history idnIdTask- the task idplugin- the plugin- Returns:
- a list of AssignmentHistory
-
deleteByTask
void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) delete all assignments associated width the task specified in parameter- Parameters:
nIdTask- the task idplugin- the plugin
-
deleteByHistory
void deleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) delete all assignments associated width the history specified in parameter- Parameters:
nIdHistory- the history idnIdTask- the task idplugin- the plugin
-