com.groiss.reporting.export
Interface ReportingExporter

All Known Implementing Classes:
DownloadExporter, HTMLExporter

public interface ReportingExporter

Interface of Reporting Exporter. Implement this interface if another export format is needed


Field Summary
static java.util.ArrayList<Pair<java.lang.String,java.lang.String>> ROW_STYLE_HIDDEN
           
 
Method Summary
 void addConfigOptions(Query q, XHTMLPage p)
          Method is called for all configured exporter.
 void export(javax.servlet.http.HttpServletResponse res, Query q, ReportingTableModel tm)
          exports the table model
 java.lang.String getExportName()
           
 

Field Detail

ROW_STYLE_HIDDEN

static final java.util.ArrayList<Pair<java.lang.String,java.lang.String>> ROW_STYLE_HIDDEN
Method Detail

getExportName

java.lang.String getExportName()
Returns:
the I18N name of the exporter

addConfigOptions

void addConfigOptions(Query q,
                      XHTMLPage p)
Method is called for all configured exporter. Add fields to XHMTLPage to enable configuration settings. Id of field will be the key of the Exportparameter.

Parameters:
q - the query Object
p - the XHTMLPage for ExportOptions

export

void export(javax.servlet.http.HttpServletResponse res,
            Query q,
            ReportingTableModel tm)
exports the table model

Parameters:
res - the Response of the report request
q - the executed Query
tm - The result Tablemodel


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.