fr.paris.lutece.plugins.workflow.modules.assignment.service
Class WorkgroupConfigService

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.assignment.service.WorkgroupConfigService
All Implemented Interfaces:
IWorkgroupConfigService

public class WorkgroupConfigService
extends java.lang.Object
implements IWorkgroupConfigService

WorkgroupConfigService


Field Summary
static java.lang.String BEAN_SERVICE
           
 
Constructor Summary
WorkgroupConfigService()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_SERVICE

public static final java.lang.String BEAN_SERVICE
See Also:
Constant Field Values
Constructor Detail

WorkgroupConfigService

public WorkgroupConfigService()
Method Detail

create

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

Specified by:
create in interface IWorkgroupConfigService
Parameters:
workgroupConfig - The instance of task which contains the informations to store
plugin - the plugin

removeByTask

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

Specified by:
removeByTask in interface IWorkgroupConfigService
Parameters:
nIdTask - The task key
plugin - the Plugin

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface IWorkgroupConfigService
Parameters:
nIdTask - the task id
strWorkgroupKey - the workgroup key
plugin - the plugin
Returns:
a workgroupConfig object

getListByConfig

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

Specified by:
getListByConfig in interface IWorkgroupConfigService
Parameters:
nIdTask - the task id
plugin - the plugin
Returns:
a list of EntityOwner Object


Copyright © 2012 Mairie de Paris. All Rights Reserved.