fr.paris.lutece.plugins.workflow.modules.comment.service
Interface ICommentValueService

All Known Implementing Classes:
CommentValueService

public interface ICommentValueService

ICommentValueService


Method Summary
 void create(CommentValue commentValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of comment value
 CommentValue findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the CommentValue Object
 void removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove comment value by history
 void removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove comment value by task
 

Method Detail

create

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

Parameters:
commentValue - The instance of comment value which contains the informations to store
plugin - the plugin

removeByHistory

@Transactional(value="workflow.transactionManager")
void removeByHistory(int nIdHistory,
                                   int nIdTask,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove comment value by history

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 comment value by task

Parameters:
nIdTask - The task key
plugin - the Plugin

findByPrimaryKey

CommentValue findByPrimaryKey(int nIdHistory,
                              int nIdTask,
                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the CommentValue Object

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


Copyright © 2012 Mairie de Paris. All Rights Reserved.