java.lang.Object
fr.paris.lutece.plugins.workflow.modules.assignment.business.WorkgroupConfigDAO
All Implemented Interfaces:
IWorkgroupConfigDAO

@ApplicationScoped @Named("workflow.workgroupConfigDAO") public class WorkgroupConfigDAO extends Object implements IWorkgroupConfigDAO
TaskAssignmentConfigDAO
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    load(int nIdTask, String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    load a workgroup by primarey key
    selectByConfig(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Select the workgroups associated to the configuration

    Methods inherited from class java.lang.Object

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

    • WorkgroupConfigDAO

      public WorkgroupConfigDAO()
  • Method Details

    • load

      public WorkgroupConfig load(int nIdTask, String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      load a workgroup by primarey key
      Specified by:
      load in interface IWorkgroupConfigDAO
      Parameters:
      nIdTask - the task id
      strWorkgroupKey - the workgroup key
      plugin - the plugin
      Returns:
      a workgroupConfig object
    • selectByConfig

      public List<WorkgroupConfig> selectByConfig(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Select the workgroups associated to the configuration
      Specified by:
      selectByConfig in interface IWorkgroupConfigDAO
      Parameters:
      nIdTask - the task id
      plugin - the plugin
      Returns:
      a list of EntityOwner Object
    • deleteByTask

      public void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete all workgroups associated to the configuration
      Specified by:
      deleteByTask in interface IWorkgroupConfigDAO
      Parameters:
      nIdTask - the task id
      plugin - the plugin
    • insert

      public void insert(WorkgroupConfig workgroupConf, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new workgroup
      Specified by:
      insert in interface IWorkgroupConfigDAO
      Parameters:
      workgroupConf - workgroupConfig Object
      plugin - the plugin