Interface IWorkgroupConfigDAO

  • All Known Implementing Classes:
    WorkgroupConfigDAO

    public interface IWorkgroupConfigDAO
    IWorkgroupConfigDAO
    • Method Summary

      All Methods Instance Methods Abstract 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
    • Method Detail

      • load

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

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

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

        void insert​(WorkgroupConfig workgroupConf,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new workgroup
        Parameters:
        workgroupConf - workgroupConfig Object
        plugin - the plugin