Class TaskInformationService
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.ticketing.service.information.TaskInformationService
-
- All Implemented Interfaces:
ITaskInformationService
public class TaskInformationService extends Object implements ITaskInformationService
TaskInformationService
-
-
Field Summary
Fields Modifier and Type Field Description static StringBEAN_SERVICEThe name of the bean of this service
-
Constructor Summary
Constructors Constructor Description TaskInformationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(TaskInformation taskInformation, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of a task informationTaskInformationfindByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the TaskInformation ObjectvoidremoveByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the task information by historyvoidremoveByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove task information by task
-
-
-
Field Detail
-
BEAN_SERVICE
public static final 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(TaskInformation taskInformation, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of a task information- Specified by:
createin interfaceITaskInformationService- Parameters:
taskInformation- The task informationsplugin- the plugin
-
removeByHistory
@Transactional("workflow.transactionManager") public void removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the task information by history- Specified by:
removeByHistoryin interfaceITaskInformationService- 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 task information by task- Specified by:
removeByTaskin interfaceITaskInformationService- Parameters:
nIdTask- The task keyplugin- the Plugin
-
findByPrimaryKey
public TaskInformation findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the TaskInformation Object- Specified by:
findByPrimaryKeyin interfaceITaskInformationService- Parameters:
nIdHistory- the history idnIdTask- the task idplugin- the plugin- Returns:
- the Config Object
-
-