Interface IExtendableResourceService
-
- All Known Implementing Classes:
PageExtendableResourceService
public interface IExtendableResourceServiceThis interface is used to fetch theIExtendableResource. The implementations are developed in each plugins that have aIExtendableResource.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IExtendableResourcegetResource(java.lang.String strIdResource, java.lang.String strResourceType)Gets the resource.java.lang.StringgetResourceType()Gets the resource type.java.lang.StringgetResourceTypeDescription(java.util.Locale locale)Gets the description of the resource type.java.lang.StringgetResourceUrl(java.lang.String strIdResource, java.lang.String strResourceType)Get the main URL to access a resourcebooleanisInvoked(java.lang.String strResourceType)Checks if is invoked.
-
-
-
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 resourcestrResourceType- 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 resourcestrResourceType- The type of a resource- Returns:
- The main URL to access a resource, or null if the resource has no main URL
-
-