fr.paris.lutece.plugins.workflow.modules.taskassignment.business
Class WorkgroupConfigHome

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.taskassignment.business.WorkgroupConfigHome

public final class WorkgroupConfigHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for WorkgroupConfig objects


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

Method Detail

create

public static void create(WorkgroupConfig workgroupConfig,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of workgroupconfig

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

removeByTask

public static 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

public static 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

public static 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.