public class HTMLExporter extends Object implements ClientSideExporter
ROW_STYLE_HIDDEN
Constructor and Description |
---|
HTMLExporter() |
@Deprecated protected String getId()
@Deprecated public void addConfigOptions(Query q, XHTMLPage p)
addConfigOptions
in interface ReportingExporter
q
- the query Objectp
- the XHTMLPage for ExportOptionspublic JSONArray getExportOptionsJSON()
ReportingExporter
getExportOptionsJSON
in interface ReportingExporter
@Deprecated public HTMLPage getPage(Query q)
q
- the specified querypublic String getExportName()
getExportName
in interface ReportingExporter
@Deprecated public void export(HttpServletResponse res, Query q, ReportingTableModel tm)
export
in interface ReportingExporter
res
- the Response of the report requestq
- the executed Querytm
- The result Tablemodel@Deprecated protected String getToolbarActions(Query q)
@Deprecated protected Component getComponentData(Query q, ReportingTableModel tm)
@Deprecated protected TableModel getResultTableModel(Query q, ReportingTableModel tm)
TableRenderer
may handle.
Overwrite this method if the exporter should display the results in html to ensure compatibility with toolbar actionsq
- The query objecttm
- The Reporting results
return a Tablemodel implementation that the TableRenderer is able to transform to a TableContainer
.protected Map<String,String> getHeaderInfos(Query q, int count)
q
- the Query objectscount
- the number of results of reportpublic static boolean isJsonExport()
ReportingExportable.toHtml()
could omit returning HTML.
ReportingExportable.toHtml()
is still called because of compatibility@Deprecated public KeyedList<Integer,String> getLineStyles(Query q, ReportingTableModel tm)
public String getClientSideRenderer()
getClientSideRenderer
in interface ClientSideExporter
protected ReportingTableModel generateMatrixTable(ReportingTableModel tm, Query q)
public List<Map<String,Object>> toJson(Query q, ReportingTableModel tm)
toJson
in interface ClientSideExporter
public JSONArray getResultDetailsJson(Query q, int count)
getResultDetailsJson
in interface ClientSideExporter
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.