Class WorkgroupConfigDAO

    • Constructor Detail

      • WorkgroupConfigDAO

        public WorkgroupConfigDAO()
    • Method Detail

      • 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