Class WorkgroupConfigService
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.assignment.service.WorkgroupConfigService
- All Implemented Interfaces:
IWorkgroupConfigService
@ApplicationScoped
@Named("workflow.workgroupConfigService")
public class WorkgroupConfigService
extends Object
implements IWorkgroupConfigService
WorkgroupConfigService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(WorkgroupConfig workgroupConfig, fr.paris.lutece.portal.service.plugin.Plugin plugin) Creation of an instance of workgroupconfigfindByPrimaryKey(int nIdTask, String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) load a workgroup by primarey keygetListByConfig(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 Details
-
BEAN_SERVICE
The name of the bean of this service- See Also:
-
-
Constructor Details
-
WorkgroupConfigService
public WorkgroupConfigService()
-
-
Method Details
-
create
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
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, 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 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
-