Class ReportHomeExportMenuBlockTransform

    • Constructor Detail

      • ReportHomeExportMenuBlockTransform

        public ReportHomeExportMenuBlockTransform()
    • Method Detail

      • getReportExportFormats

        public java.util.ArrayList<ExportFormat> getReportExportFormats()
        Return the list of available ExporFormats for the Report
        Returns:
        An ArrayList populated with ExportFormat objects
      • getExportCommand

        public java.lang.String getExportCommand​(ExportFormat obj)
        Returns the javascript string command for a particular ExportFormat
        Parameters:
        obj - the name of a certain ExportFormat
        Returns:
      • getFormatFeatures

        public java.lang.String getFormatFeatures​(ExportFormat obj)
        Parameters:
        obj - ExportFormat
        Returns:
        the feature set of a certain ExportFormat as in the configuration file
      • getFormatDescription

        public java.lang.String getFormatDescription​(ExportFormat obj)
        Parameters:
        obj - ExportFormat
        Returns:
        the description of a certain ExportFormat in a form that the descriptors macro can parse "{desc:descriptorId|alternateDescription}"
      • generateModelPath

        public java.lang.String generateModelPath​(java.lang.String prefix)
        Attaches the current view index to the model prefix
        Parameters:
        prefix - of the model path
        Returns:
        the path to the model, (return prefix + index++;)