Class PortletResourceIdService


  • public class PortletResourceIdService
    extends ResourceIdService
    Resource Id service for RBAC features to control access to portlet
    • Field Detail

      • PERMISSION_CREATE

        public static final java.lang.String PERMISSION_CREATE
        See Also:
        Constant Field Values
      • PERMISSION_MANAGE

        public static final java.lang.String PERMISSION_MANAGE
        See Also:
        Constant Field Values
    • Constructor Detail

      • PortletResourceIdService

        public PortletResourceIdService()
    • Method Detail

      • getResourceIdList

        public ReferenceList getResourceIdList​(java.util.Locale locale)
        Returns a list of resource ids
        Specified by:
        getResourceIdList in class ResourceIdService
        Parameters:
        locale - The current locale
        Returns:
        A list of resource ids
      • getTitle

        public java.lang.String getTitle​(java.lang.String strPortletTypeId,
                                         java.util.Locale locale)
        Returns the Title of a given resource
        Specified by:
        getTitle in class ResourceIdService
        Parameters:
        strPortletTypeId - The Id of the resource
        locale - The current locale
        Returns:
        The Title of a given resource