fr.paris.lutece.plugins.workflow.modules.assignment.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, String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          load a workgroup by primarey key
 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,
                     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

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:
workgroupConf - workgroupConfig Object
plugin - the plugin


Copyright © 2014 Mairie de Paris. All Rights Reserved.