public class ExportsImpl extends AbstractResourceImpl implements Exports
AbstractResourceImpl
and implements
Exports
Exports.ExportCSVParameters, Exports.ExportExcelParameters
Constructor and Description |
---|
ExportsImpl(javax.ws.rs.client.WebTarget apiRootV2,
Session session) |
Modifier and Type | Method and Description |
---|---|
InputStream |
downloadFile(String fileId)
Returns an
InputStream with the contents of the file. |
InputStream |
exportCSV(Exports.ExportCSVParameters exportCSVParameters) |
String |
exportCSVWithoutJobAsString(Exports.ExportCSVParameters exportCSVParameters) |
InputStream |
exportExcel(Exports.ExportExcelParameters exportParameters) |
InputStream |
exportJSON(String tableViewConfig) |
cookies
public ExportsImpl(javax.ws.rs.client.WebTarget apiRootV2, Session session)
public InputStream exportCSV(Exports.ExportCSVParameters exportCSVParameters)
exportCSV
in interface Exports
exportCSVParameters
- Exports.ExportCSVParameters
InputStream
public String exportCSVWithoutJobAsString(Exports.ExportCSVParameters exportCSVParameters)
exportCSVWithoutJobAsString
in interface Exports
public InputStream exportExcel(Exports.ExportExcelParameters exportParameters)
exportExcel
in interface Exports
exportParameters
- Exports.ExportExcelParameters
InputStream
public InputStream exportJSON(String tableViewConfig)
exportJSON
in interface Exports
tableViewConfig
- table view ConfigInputStream
public InputStream downloadFile(String fileId)
InputStream
with the contents of the file.downloadFile
in interface Exports
fileId
- - the file IDInputStream
Copyright © 2010–2019. All rights reserved.