public abstract class SimpleTableExporter extends Object
| Constructor and Description |
|---|
SimpleTableExporter()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addData(ExportTable exportTable)
The method that fills the table with the exported data.
|
protected abstract void |
addHeaderRow(ExportTable exportTable)
The method that adds a header row to the export data.
|
protected abstract int |
getExcelDataStartRow() |
org.primefaces.model.StreamedContent |
getExportedTable() |
String |
getFileFormat() |
protected abstract String |
getFileName() |
protected abstract String |
getTableName() |
boolean |
isIncludeHeaderRow() |
void |
prepareTableExportPopup()
Prepares the default values of the Export data dialog: file format and header row
|
void |
setFileFormat(String fileFormat) |
void |
setIncludeHeaderRow(boolean includeHeaderRow) |
public void prepareTableExportPopup()
public String getFileFormat()
public void setFileFormat(String fileFormat)
fileFormat - the fileFormat to setpublic boolean isIncludeHeaderRow()
public void setIncludeHeaderRow(boolean includeHeaderRow)
includeHeaderRow - the includeHeaderRow to setpublic org.primefaces.model.StreamedContent getExportedTable()
protected abstract String getTableName()
ExportTable
implementation.protected abstract String getFileName()
protected abstract void addHeaderRow(ExportTable exportTable)
exportTable - the table to add header row toprotected abstract void addData(ExportTable exportTable)
exportTable - the table to add the data rows toprotected abstract int getExcelDataStartRow()
Copyright © 2025 European Spallation Source. All rights reserved.