Interface ReportResourcesService
- All Known Implementing Classes:
ReportResourcesServiceImpl
public interface ReportResourcesService
-
Method Summary
Modifier and TypeMethodDescriptiongetRawText
(String resourceKey, String resourceTextKey) processLegacyTemplate
(Map<String, Object> parameters, String rawText) Deprecated.
-
Method Details
-
getRawText
- Parameters:
resourceKey
- the Report_resource's unique_idresourceTextKey
- the Report_resource_text's unique_id- Returns:
- the report resource's raw text (it might be a template)
-
getImage
- Parameters:
resourceKey
- the Report_resource's unique_idresourceImageKey
- the Report_resource_image's unique_id- Returns:
- the
ResourceNode
behind the requested image
-
processLegacyTemplate
Deprecated.This method is only here to not break existing report resources. The square brackets syntax for parameters should not be used anymore. All report resources texts are processed by the default template engine.- Returns:
- the rawText with replaced legacy parameters (enclosed in square brackets)
-