Interface IExtendableResourceService

    • Method Detail

      • isInvoked

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

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

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

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

        String getResourceUrl​(String strIdResource,
                              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