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

All Known Implementing Classes:
WorkgroupConfigService

public interface IWorkgroupConfigService

IWorkgroupConfigService


Method Summary
 void create(WorkgroupConfig workgroupConfig, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of workgroupconfig
 WorkgroupConfig findByPrimaryKey(int nIdTask, java.lang.String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          load a workgroup by primarey key
 java.util.List<WorkgroupConfig> getListByConfig(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Select the workgroups associated to the configuration
 void removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove all all workgroups associated to the configuration
 

Method Detail

create

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

Parameters:
workgroupConfig - The instance of task which contains the informations to store
plugin - the plugin

removeByTask

@Transactional(value="workflow.transactionManager")
void removeByTask(int nIdTask,
                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all all workgroups associated to the configuration

Parameters:
nIdTask - The task key
plugin - the Plugin

findByPrimaryKey

WorkgroupConfig findByPrimaryKey(int nIdTask,
                                 java.lang.String strWorkgroupKey,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
load a workgroup by primarey key

Parameters:
nIdTask - the task id
strWorkgroupKey - the workgroup key
plugin - the plugin
Returns:
a workgroupConfig object

getListByConfig

java.util.List<WorkgroupConfig> getListByConfig(int nIdTask,
                                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the workgroups associated to the configuration

Parameters:
nIdTask - the task id
plugin - the plugin
Returns:
a list of EntityOwner Object


Copyright © 2012 Mairie de Paris. All Rights Reserved.