Interface ReportResourcesService

All Known Implementing Classes:
ReportResourcesServiceImpl

public interface ReportResourcesService
  • Method Details

    • getRawText

      String getRawText(String resourceKey, String resourceTextKey)
      Parameters:
      resourceKey - the Report_resource's unique_id
      resourceTextKey - the Report_resource_text's unique_id
      Returns:
      the report resource's raw text (it might be a template)
    • getImage

      ResourceNode getImage(String resourceKey, String resourceImageKey)
      Parameters:
      resourceKey - the Report_resource's unique_id
      resourceImageKey - the Report_resource_image's unique_id
      Returns:
      the ResourceNode behind the requested image
    • processLegacyTemplate

      @Deprecated String processLegacyTemplate(Map<String,Object> parameters, String rawText)
      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)