public class AssignmentHistoryService extends Object implements IAssignmentHistoryService
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_SERVICE
The name of the bean of this service
|
Constructor and Description |
---|
AssignmentHistoryService() |
Modifier and Type | Method and Description |
---|---|
void |
create(AssignmentHistory assignmentHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of assignmentHistory
|
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
|
void |
removeByHistory(int nIdHistory,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all assignment associated width the history specified in parameter
|
void |
removeByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all assignment associated width the task specified in parameter
|
public static final String BEAN_SERVICE
@Transactional(value="workflow.transactionManager") public void create(AssignmentHistory assignmentHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
create
in interface IAssignmentHistoryService
assignmentHistory
- the history of the assignmenntplugin
- the plugin@Transactional(value="workflow.transactionManager") public void removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeByHistory
in interface IAssignmentHistoryService
nIdHistory
- the history keynIdTask
- The task keyplugin
- the Plugin@Transactional(value="workflow.transactionManager") public void removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeByTask
in interface IAssignmentHistoryService
nIdTask
- The task keyplugin
- the Pluginpublic List<AssignmentHistory> getListByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getListByHistory
in interface IAssignmentHistoryService
nIdHistory
- the history idnIdTask
- the task idplugin
- the pluginCopyright © 2020 City of Paris. All rights reserved.