fr.paris.lutece.plugins.workflow.modules.assignment.service
Interface IAssignmentHistoryService

All Known Implementing Classes:
AssignmentHistoryService

public interface IAssignmentHistoryService

IAssignmentHistoryService


Method Summary
 void create(AssignmentHistory assignmentHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of assignmentHistory
 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
 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
 

Method Detail

create

@Transactional(value="workflow.transactionManager")
void create(AssignmentHistory assignmentHistory,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of assignmentHistory

Parameters:
assignmentHistory - the history of the assignmennt
plugin - the plugin

removeByHistory

@Transactional(value="workflow.transactionManager")
void removeByHistory(int nIdHistory,
                                   int nIdTask,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all assignment associated width the history specified in parameter

Parameters:
nIdHistory - the history key
nIdTask - The task key
plugin - the Plugin

removeByTask

@Transactional(value="workflow.transactionManager")
void removeByTask(int nIdTask,
                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all assignment associated width the task specified in parameter

Parameters:
nIdTask - The task key
plugin - the Plugin

getListByHistory

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

Parameters:
nIdHistory - the history id
nIdTask - the task id
plugin - the plugin
Returns:
the Config Object


Copyright © 2012 Mairie de Paris. All Rights Reserved.