public interface ICommentValueService
Modifier and Type | Method and Description |
---|---|
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
|
boolean |
isOwner(int nIdHistory,
fr.paris.lutece.portal.business.user.AdminUser adminUser)
Tests whether the specified user is the owner of the comment
|
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
|
@Transactional(value="workflow.transactionManager") void create(CommentValue commentValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
commentValue
- The instance of comment value which contains the informations to storeplugin
- the plugin@Transactional(value="workflow.transactionManager") void removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdHistory
- the history keynIdTask
- The task keyplugin
- the Plugin@Transactional(value="workflow.transactionManager") void removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdTask
- The task keyplugin
- the PluginCommentValue findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdHistory
- the history idnIdTask
- the task idplugin
- the pluginboolean isOwner(int nIdHistory, fr.paris.lutece.portal.business.user.AdminUser adminUser)
nIdHistory
- the history id used to retrieve the commentadminUser
- the usertrue
if the user is the owner, false
otherwiseCopyright © 2020 City of Paris. All rights reserved.