Class AssignmentHistoryDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.assignment.business.AssignmentHistoryDAO
-
- All Implemented Interfaces:
IAssignmentHistoryDAO
public class AssignmentHistoryDAO extends java.lang.Object implements IAssignmentHistoryDAO
class AssignmentHistoryDAO
-
-
Constructor Summary
Constructors Constructor Description AssignmentHistoryDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteByHistory(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 assignmentjava.util.List<AssignmentHistory>selectByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)return for a history the list of assignments
-
-
-
Method Detail
-
insert
public void insert(AssignmentHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert new history assignment- Specified by:
insertin interfaceIAssignmentHistoryDAO- Parameters:
history- history assignmentplugin- 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:
selectByHistoryin interfaceIAssignmentHistoryDAO- Parameters:
nIdHistory- the history idnIdTask- the task idplugin- 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:
deleteByHistoryin interfaceIAssignmentHistoryDAO- Parameters:
nIdHistory- the history idnIdTask- the task idplugin- 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:
deleteByTaskin interfaceIAssignmentHistoryDAO- Parameters:
nIdTask- the task idplugin- the plugin
-
-