@ApplicationScoped public class DataSetExportServicesImpl extends Object implements DataSetExportServices
| Modifier and Type | Field and Description |
|---|---|
protected DataSetManagerCDI |
dataSetManager |
protected DateFormat |
datef |
protected String |
dateFormatPattern |
protected DecimalFormat |
decf |
protected String |
DEFAULT_ESCAPE_CHAR |
protected String |
DEFAULT_QUOTE_CHAR |
protected String |
DEFAULT_SEPARATOR_CHAR |
protected ExceptionManager |
exceptionManager |
protected DataSetDefRegistryCDI |
gitStorage |
protected static org.slf4j.Logger |
log |
protected String |
numberFormatPattern |
protected org.dashbuilder.dataset.uuid.UUIDGenerator |
uuidGenerator |
| Constructor and Description |
|---|
DataSetExportServicesImpl() |
DataSetExportServicesImpl(DataSetManagerCDI dataSetManager,
DataSetDefRegistryCDI gitStorage,
ExceptionManager exceptionManager) |
| Modifier and Type | Method and Description |
|---|---|
Path |
exportDataSetCSV(DataSet dataSet) |
Path |
exportDataSetCSV(DataSetLookup lookup) |
Path |
exportDataSetExcel(DataSet dataSet) |
Path |
exportDataSetExcel(DataSetLookup dataSetLookup) |
protected static org.slf4j.Logger log
protected DataSetManagerCDI dataSetManager
protected DataSetDefRegistryCDI gitStorage
protected org.dashbuilder.dataset.uuid.UUIDGenerator uuidGenerator
protected ExceptionManager exceptionManager
protected String DEFAULT_SEPARATOR_CHAR
protected String DEFAULT_QUOTE_CHAR
protected String DEFAULT_ESCAPE_CHAR
protected String dateFormatPattern
protected String numberFormatPattern
protected DecimalFormat decf
protected DateFormat datef
public DataSetExportServicesImpl()
@Inject public DataSetExportServicesImpl(DataSetManagerCDI dataSetManager, DataSetDefRegistryCDI gitStorage, ExceptionManager exceptionManager)
public Path exportDataSetCSV(DataSetLookup lookup)
exportDataSetCSV in interface DataSetExportServicespublic Path exportDataSetCSV(DataSet dataSet)
exportDataSetCSV in interface DataSetExportServicespublic Path exportDataSetExcel(DataSetLookup dataSetLookup)
exportDataSetExcel in interface DataSetExportServicespublic Path exportDataSetExcel(DataSet dataSet)
exportDataSetExcel in interface DataSetExportServicesCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.