Class WorkgroupConfigService
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description static java.lang.StringBEAN_SERVICEThe name of the bean of this service
-
Constructor Summary
Constructors Constructor Description WorkgroupConfigService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(WorkgroupConfig workgroupConfig, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of an instance of workgroupconfigWorkgroupConfigfindByPrimaryKey(int nIdTask, java.lang.String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)load a workgroup by primarey keyjava.util.List<WorkgroupConfig>getListByConfig(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Select the workgroups associated to the configurationvoidremoveByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove all all workgroups associated to the configuration
-
-
-
Field Detail
-
BEAN_SERVICE
public static final java.lang.String BEAN_SERVICE
The name of the bean of this service- See Also:
- Constant Field Values
-
-
Method Detail
-
create
@Transactional("workflow.transactionManager") public void create(WorkgroupConfig workgroupConfig, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of an instance of workgroupconfig- Specified by:
createin interfaceIWorkgroupConfigService- Parameters:
workgroupConfig- The instance of task which contains the informations to storeplugin- the plugin
-
removeByTask
@Transactional("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:
removeByTaskin interfaceIWorkgroupConfigService- Parameters:
nIdTask- The task keyplugin- 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:
findByPrimaryKeyin interfaceIWorkgroupConfigService- Parameters:
nIdTask- the task idstrWorkgroupKey- the workgroup keyplugin- 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:
getListByConfigin interfaceIWorkgroupConfigService- Parameters:
nIdTask- the task idplugin- the plugin- Returns:
- a list of EntityOwner Object
-
-