Class FIXGRIDBinding.Exporter
java.lang.Object
org.eclnt.jsfserver.elements.impl.FIXGRIDBinding.Exporter
- All Implemented Interfaces:
Serializable
- Enclosing class:
- FIXGRIDBinding<itemClass extends FIXGRIDItem>
Central class providing all the export functions of the grid. You can
override by extending your class from this class, and by overriding
the
This class provides a couple of URLs that can be passed to e.g. DOWNLOAD components. Pleayse pay attention: these URLs change with every roundtrip! Background: the corresponding BufferedContent provider (see
FIXGRIDBinding.createExporter()
method.
This class provides a couple of URLs that can be passed to e.g. DOWNLOAD components. Pleayse pay attention: these URLs change with every roundtrip! Background: the corresponding BufferedContent provider (see
IBufferedContent
are created within each request on server side, and are removed after the render
phase, in order to not build up static references within the grid management.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexportToCSVStringWholeGrid
(boolean selectedRowsOnly) exportToFormattedValueList
(boolean selectedRowsOnly) byte[]
exportToHTMLWholeGrid
(boolean selectedRowsOnly) Export of grid information into HTML file that is returned as byte array.exportToObjectListWholeGrid
(boolean selectedRowsOnly) Exports the currently visible grid data into a simple list.byte[]
exportToPDFWholeGrid
(boolean selectedRowsOnly) Export of grid information into PDF file that is returned as byte array.Exports the values of the current footer rows.Exports the values of the current header rows.exportToStringListWholeGrid
(boolean selectedRowsOnly) Exports the currently visible grid data into a simple list.exportToTabSeparatedStringWholeGrid
(boolean selectedRowsOnly) byte[]
exportToXLSXWholeGrid
(boolean selectedRowsOnly) Export of grid information into XLSX file that is returned as byte array.byte[]
byte[]
exportToXMLWholeGrid
(boolean selectedRowsOnly) List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo>
List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo>
void
setExcelExporter
(IFIXGRIDExcelExporter excelExporter) The class that is used for creating instances ofIFIXGRIDExcelExporter
is defined in system.xml.void
setExportFilePrefix
(String exportFilePrefix) Filename prefix that are proposed when downloading documents.void
setHtmlExporter
(IFIXGRIDHtmlExporter htmlExporter) The class that is used for creating instances ofIFIXGRIDHtmlExporter
is defined in system.xml.void
setPDFExporter
(IFIXGRIDPdfExporter pdfExporter) The class that is used for creating instances ofIFIXGRIDPdfExporter
is defined in system.xml.
-
Constructor Details
-
Exporter
public Exporter()
-
-
Method Details
-
getExportFilePrefix
-
setExportFilePrefix
Filename prefix that are proposed when downloading documents. The prefix is appended with the corresponding file extension (e.g. ".pdf" for PDF) -
getAdditionalExportColumnsLeft
public List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo> getAdditionalExportColumnsLeft() -
getAdditionalExportColumnsRight
public List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo> getAdditionalExportColumnsRight() -
getExportURLCsvWholeGrid
-
getExportURLCsvSelectedRows
-
getExportURLCsvRange
-
getExportURLXMLWholeGrid
-
getExportURLXMLSelectedRows
-
getExportURLXMLRange
-
getExportURLPDFWholeGrid
-
getExportURLPDFSelectedRows
-
getExportURLHTMLWholeGrid
-
getExportURLHTMLSelectedRows
-
getExportURLXLSXWholeGrid
-
getExportURLXLSXSelectedRows
-
exportToObjectListWholeGrid
Exports the currently visible grid data into a simple list. Each grid item is exported into a list of objects itself. - The data is in sync with the user's current column selection and column sequence. -
exportToFormattedValueList
public List<List<FIXGRIDBinding.FormattedValue>> exportToFormattedValueList(boolean selectedRowsOnly) -
exportToStringListHeader
Exports the values of the current header rows. -
exportToValueListHeader
-
exportToStringListWholeGrid
Exports the currently visible grid data into a simple list. Each grid item is exported into a list of strings itself. - The data is in sync with the user's current column selection and column sequence. -
exportToStringListRange
-
exportToObjectListRange
-
exportToTabSeparatedStringRange
-
exportToTabSeparatedStringWholeGrid
-
exportToCSVStringRange
-
exportToCSVStringWholeGrid
-
exportToXMLWholeGrid
public byte[] exportToXMLWholeGrid(boolean selectedRowsOnly) -
exportToXMLRange
public byte[] exportToXMLRange() -
setHtmlExporter
The class that is used for creating instances ofIFIXGRIDHtmlExporter
is defined in system.xml. If no own class is defined then the default classFIXGRIDHtmlExporter
is used.
You can also assign an own implementation of IFIXGRIDHtmlExporter - if not set by you then an instance ofFIXGRIDHtmlExporter
is created automatically. -
getHtmlExporter
-
setPDFExporter
The class that is used for creating instances ofIFIXGRIDPdfExporter
is defined in system.xml. If no own class is defined then the default classFIXGRIDPDFExporter
is used.
You can also assign an own implementation of IFIXGRIDPDFExporter - if not set by you then an instance ofFIXGRIDPDFExporter
is created automatically. -
getPDFExporter
-
setExcelExporter
The class that is used for creating instances ofIFIXGRIDExcelExporter
is defined in system.xml. If no own class is defined then the default classFIXGRIDExcelExporter
is used.
You can also assign an own implementation of IFIXGRIDExcelExporter - if not set by you then an instance of FIXGRIDXMLSpreadSheetExporter is created automatically. -
getCsvExporter
-
getExcelExporter
-
exportToPDFWholeGrid
public byte[] exportToPDFWholeGrid(boolean selectedRowsOnly) Export of grid information into PDF file that is returned as byte array. -
exportToHTMLWholeGrid
public byte[] exportToHTMLWholeGrid(boolean selectedRowsOnly) Export of grid information into HTML file that is returned as byte array. -
exportToXLSXWholeGrid
public byte[] exportToXLSXWholeGrid(boolean selectedRowsOnly) Export of grid information into XLSX file that is returned as byte array.
-