Class WorkgroupConfigService

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_SERVICE
      The name of the bean of this service
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void create​(WorkgroupConfig workgroupConfig, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Creation of an instance of workgroupconfig
      WorkgroupConfig findByPrimaryKey​(int nIdTask, java.lang.String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      load a workgroup by primarey key
      java.util.List<WorkgroupConfig> getListByConfig​(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Select the workgroups associated to the configuration
      void removeByTask​(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove all all workgroups associated to the configuration
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BEAN_SERVICE

        public static final java.lang.String BEAN_SERVICE
        The name of the bean of this service
        See Also:
        Constant Field Values
    • 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,
                                                java.lang.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 java.util.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