Interface IExtendableResourceService

    • Method Detail

      • isInvoked

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

        IExtendableResource getResource​(java.lang.String strIdResource,
                                        java.lang.String strResourceType)
        Gets the resource.
        Parameters:
        strIdResource - the str id resource
        strResourceType - the str resource type
        Returns:
        the resource
      • getResourceType

        java.lang.String getResourceType()
        Gets the resource type.
        Returns:
        the resource type.
      • getResourceTypeDescription

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

        java.lang.String getResourceUrl​(java.lang.String strIdResource,
                                        java.lang.String strResourceType)
        Get the main URL to access a resource
        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