Class ReportTemplatePlaceholder

java.lang.Object
io.jmix.reportsflowui.view.reportwizard.template.ReportTemplatePlaceholder

@Component("report_ReportTemplatePlaceholder") public class ReportTemplatePlaceholder extends Object
  • Field Details

  • Constructor Details

    • ReportTemplatePlaceholder

      public ReportTemplatePlaceholder(Metadata metadata, Messages messages)
  • Method Details

    • getPlaceholderValue

      public String getPlaceholderValue(String value, ReportRegion reportRegion)
      used in doc table fields and sheet reports
      Parameters:
      value - string to remove root node name
      reportRegion - report region
      Returns:
      string without root node name
    • getPlaceholderValueWithBandName

      public String getPlaceholderValueWithBandName(String value, ReportRegion reportRegion)
      used in common fields
      Parameters:
      value - string to remove root node name
      reportRegion - report region
      Returns:
      string that contains name for band and specified value without root node name
    • getHtmlPlaceholderValue

      public String getHtmlPlaceholderValue(ReportRegion reportRegion, RegionProperty regionProperty)
    • generatePathForEntityField

      protected String generatePathForEntityField(String[] partsFieldName)
    • generateConditions

      protected String generateConditions(String[] partsFieldName, String bandName, String fieldName, boolean addIf)