public class WorkgroupConfigService extends Object implements IWorkgroupConfigService
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_SERVICE
The name of the bean of this service
|
Constructor and Description |
---|
WorkgroupConfigService() |
Modifier and Type | Method and Description |
---|---|
void |
create(WorkgroupConfig workgroupConfig,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of workgroupconfig
|
WorkgroupConfig |
findByPrimaryKey(int nIdTask,
String strWorkgroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load a workgroup by primarey key
|
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
|
public static final String BEAN_SERVICE
@Transactional(value="workflow.transactionManager") public void create(WorkgroupConfig workgroupConfig, fr.paris.lutece.portal.service.plugin.Plugin plugin)
create
in interface IWorkgroupConfigService
workgroupConfig
- The instance of task which contains the informations to storeplugin
- the plugin@Transactional(value="workflow.transactionManager") public void removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeByTask
in interface IWorkgroupConfigService
nIdTask
- The task keyplugin
- the Pluginpublic WorkgroupConfig findByPrimaryKey(int nIdTask, String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByPrimaryKey
in interface IWorkgroupConfigService
nIdTask
- the task idstrWorkgroupKey
- the workgroup keyplugin
- the pluginpublic List<WorkgroupConfig> getListByConfig(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getListByConfig
in interface IWorkgroupConfigService
nIdTask
- the task idplugin
- the pluginCopyright © 2020 City of Paris. All rights reserved.