Class AssignmentHistoryService
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.assignment.service.AssignmentHistoryService
-
- All Implemented Interfaces:
IAssignmentHistoryService
public class AssignmentHistoryService extends java.lang.Object implements IAssignmentHistoryService
AssignmentHistoryService
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBEAN_SERVICEThe name of the bean of this service
-
Constructor Summary
Constructors Constructor Description AssignmentHistoryService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(AssignmentHistory assignmentHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of an instance of assignmentHistoryjava.util.List<AssignmentHistory>getListByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Return the list of assignment associated width the history specified in parametervoidremoveByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove all assignment associated width the history specified in parametervoidremoveByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove all assignment associated width the task specified in parameter
-
-
-
Field Detail
-
BEAN_SERVICE
public static final java.lang.String BEAN_SERVICE
The name of the bean of this service- See Also:
- Constant Field Values
-
-
Method Detail
-
create
@Transactional("workflow.transactionManager") public void create(AssignmentHistory assignmentHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of an instance of assignmentHistory- Specified by:
createin interfaceIAssignmentHistoryService- Parameters:
assignmentHistory- the history of the assignmenntplugin- the plugin
-
removeByHistory
@Transactional("workflow.transactionManager") public void removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove all assignment associated width the history specified in parameter- Specified by:
removeByHistoryin interfaceIAssignmentHistoryService- Parameters:
nIdHistory- the history keynIdTask- The task keyplugin- the Plugin
-
removeByTask
@Transactional("workflow.transactionManager") public void removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove all assignment associated width the task specified in parameter- Specified by:
removeByTaskin interfaceIAssignmentHistoryService- Parameters:
nIdTask- The task keyplugin- the Plugin
-
getListByHistory
public java.util.List<AssignmentHistory> getListByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the list of assignment associated width the history specified in parameter- Specified by:
getListByHistoryin interfaceIAssignmentHistoryService- Parameters:
nIdHistory- the history idnIdTask- the task idplugin- the plugin- Returns:
- the Config Object
-
-