Class PageExtendableResourceService
java.lang.Object
fr.paris.lutece.portal.service.page.PageExtendableResourceService
- All Implemented Interfaces:
IExtendableResourceService
PageExtendableResourceService
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
PageExtendableResourceService
public PageExtendableResourceService()
-
-
Method Details
-
isInvoked
Checks if is invoked.- Specified by:
isInvokedin interfaceIExtendableResourceService- Parameters:
strResourceType- the str resource type- Returns:
- true, if is invoked
-
getResource
Gets the resource.- Specified by:
getResourcein interfaceIExtendableResourceService- Parameters:
strIdResource- the str id resourcestrResourceType- the str resource type- Returns:
- the resource
-
getResourceType
Gets the resource type.- Specified by:
getResourceTypein interfaceIExtendableResourceService- Returns:
- the resource type.
-
getResourceTypeDescription
Gets the description of the resource type.- Specified by:
getResourceTypeDescriptionin interfaceIExtendableResourceService- Parameters:
locale- The locale to use- Returns:
- the description of the resource type.
-
getResourceUrl
Get the main URL to access a resource- Specified by:
getResourceUrlin interfaceIExtendableResourceService- 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
-