Class WorkgroupConfigService

java.lang.Object
fr.paris.lutece.plugins.workflow.modules.assignment.service.WorkgroupConfigService
All Implemented Interfaces:
IWorkgroupConfigService

public class WorkgroupConfigService extends Object implements IWorkgroupConfigService
WorkgroupConfigService
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The name of the bean of this service
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    create(WorkgroupConfig workgroupConfig, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Creation of an instance of workgroupconfig
    findByPrimaryKey(int nIdTask, String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    load a workgroup by primarey key
    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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • WorkgroupConfigService

      public WorkgroupConfigService()
  • Method Details

    • 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:
      create in interface IWorkgroupConfigService
      Parameters:
      workgroupConfig - The instance of task which contains the informations to store
      plugin - 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:
      removeByTask in interface IWorkgroupConfigService
      Parameters:
      nIdTask - The task key
      plugin - 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:
      findByPrimaryKey in interface IWorkgroupConfigService
      Parameters:
      nIdTask - the task id
      strWorkgroupKey - the workgroup key
      plugin - 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:
      getListByConfig in interface IWorkgroupConfigService
      Parameters:
      nIdTask - the task id
      plugin - the plugin
      Returns:
      a list of EntityOwner Object