Interface IExtendableResourceService
- All Known Implementing Classes:
PageExtendableResourceService
public interface IExtendableResourceService
This interface is used to fetch the
IExtendableResource. The implementations are developed in each plugins that have a IExtendableResource.-
Method Summary
Modifier and TypeMethodDescriptiongetResource(String strIdResource, String strResourceType) Gets the resource.Gets the resource type.getResourceTypeDescription(Locale locale) Gets the description of the resource type.getResourceUrl(String strIdResource, String strResourceType) Get the main URL to access a resourcebooleanChecks if is invoked.
-
Method Details
-
isInvoked
Checks if is invoked.- Parameters:
strResourceType- the str resource type- Returns:
- true, if is invoked
-
getResource
Gets the resource.- Parameters:
strIdResource- the str id resourcestrResourceType- the str resource type- Returns:
- the resource
-
getResourceType
String getResourceType()Gets the resource type.- Returns:
- the resource type.
-
getResourceTypeDescription
Gets the description of the resource type.- Parameters:
locale- The locale to use- Returns:
- the description of the resource type.
-
getResourceUrl
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
-