Class ResourceIdService

    • Constructor Detail

      • ResourceIdService

        public ResourceIdService()
    • Method Detail

      • register

        public abstract void register()
        This method should register permissions and resource type
      • getResourceIdList

        public abstract ReferenceList getResourceIdList​(Locale locale)
        Provide the list of all resources (id - label)
        Parameters:
        locale - The locale
        Returns:
        the list of all resources available for restricted access
      • getTitle

        public abstract String getTitle​(String strId,
                                        Locale locale)
        Provide the title of a resource given its id
        Parameters:
        locale - The locale
        strId - the id of the resource
        Returns:
        the title the corresponding label
      • setPluginName

        public void setPluginName​(String strPluginName)
        Sets the name of the plugin associated
        Parameters:
        strPluginName - the plugin name
      • getPluginName

        public String getPluginName()
        Gets the name of the plugin associated
        Returns:
        the plugin name