Class WorkgroupConfigService

    • Constructor Detail

      • WorkgroupConfigService

        public WorkgroupConfigService()
    • Method Detail

      • 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