public class AssignmentHistoryDAO extends Object implements IAssignmentHistoryDAO
Constructor and Description |
---|
AssignmentHistoryDAO() |
Modifier and Type | Method and 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
|
List<AssignmentHistory> |
selectByHistory(int nIdHistory,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return for a history the list of assignments
|
public void insert(AssignmentHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IAssignmentHistoryDAO
history
- history assignmentplugin
- the pluginpublic List<AssignmentHistory> selectByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByHistory
in interface IAssignmentHistoryDAO
nIdHistory
- the history idnIdTask
- the task idplugin
- the pluginpublic void deleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByHistory
in interface IAssignmentHistoryDAO
nIdHistory
- the history idnIdTask
- the task idplugin
- the pluginpublic void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByTask
in interface IAssignmentHistoryDAO
nIdTask
- the task idplugin
- the pluginCopyright © 2020 City of Paris. All rights reserved.