Class WorkgroupConfigDAO

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
      WorkgroupConfig load​(int nIdTask, java.lang.String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      load a workgroup by primarey key
      java.util.List<WorkgroupConfig> 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 Detail

      • WorkgroupConfigDAO

        public WorkgroupConfigDAO()
    • Method Detail

      • load

        public WorkgroupConfig load​(int nIdTask,
                                    java.lang.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 java.util.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