fr.paris.lutece.plugins.workflow.modules.taskassignment.business
Interface IWorkgroupConfigDAO

All Known Implementing Classes:
WorkgroupConfigDAO

public interface IWorkgroupConfigDAO

IWorkgroupConfigDAO


Method Summary
 void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete all workgroups associated to the configuration
 void insert(WorkgroupConfig workgroupConf, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new workgroup
 WorkgroupConfig load(int nIdTask, java.lang.String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          load a workgroup by primarey key
 java.util.List<WorkgroupConfig> selectByConfig(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Select the workgroups associated to the configuration
 

Method Detail

load

WorkgroupConfig load(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

selectByConfig

java.util.List<WorkgroupConfig> selectByConfig(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

deleteByTask

void deleteByTask(int nIdTask,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all workgroups associated to the configuration

Parameters:
nIdTask - the task id
plugin - the plugin

insert

void insert(WorkgroupConfig workgroupConf,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new workgroup

Parameters:
workgroupConfig - workgroupConfig Object
plugin - the plugin


Copyright © 2011 Mairie de Paris. All Rights Reserved.