Class PageExtendableResourceService

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IExtendableResource getResource​(java.lang.String strIdResource, java.lang.String strResourceType)
      Gets the resource.
      java.lang.String getResourceType()
      Gets the resource type.
      java.lang.String getResourceTypeDescription​(java.util.Locale locale)
      Gets the description of the resource type.
      java.lang.String getResourceUrl​(java.lang.String strIdResource, java.lang.String strResourceType)
      Get the main URL to access a resource
      boolean isInvoked​(java.lang.String strResourceType)
      Checks if is invoked.
      • Methods inherited from class java.lang.Object

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

      • PageExtendableResourceService

        public PageExtendableResourceService()
    • Method Detail

      • isInvoked

        public boolean isInvoked​(java.lang.String strResourceType)
        Checks if is invoked.
        Specified by:
        isInvoked in interface IExtendableResourceService
        Parameters:
        strResourceType - the str resource type
        Returns:
        true, if is invoked
      • getResource

        public IExtendableResource getResource​(java.lang.String strIdResource,
                                               java.lang.String strResourceType)
        Gets the resource.
        Specified by:
        getResource in interface IExtendableResourceService
        Parameters:
        strIdResource - the str id resource
        strResourceType - the str resource type
        Returns:
        the resource
      • getResourceTypeDescription

        public java.lang.String getResourceTypeDescription​(java.util.Locale locale)
        Gets the description of the resource type.
        Specified by:
        getResourceTypeDescription in interface IExtendableResourceService
        Parameters:
        locale - The locale to use
        Returns:
        the description of the resource type.
      • getResourceUrl

        public java.lang.String getResourceUrl​(java.lang.String strIdResource,
                                               java.lang.String strResourceType)
        Get the main URL to access a resource
        Specified by:
        getResourceUrl in interface IExtendableResourceService
        Parameters:
        strIdResource - The id of the resource
        strResourceType - The type of a resource
        Returns:
        The main URL to access a resource, or null if the resource has no main URL