public interface ExcelAttributeTranslator<T extends ExcelAttribute>
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(T excelAttribute) |
java.util.Optional<java.lang.String> |
exportData(T excelAttribute,
java.lang.Object objectToExport) |
Impex |
importData(ExcelAttribute excelAttribute,
ImportParameters importParameters,
ExcelImportContext excelImportContext)
Imports data based on provided importParameters for given excel attribute.
|
default java.lang.String |
referenceFormat(T excelAttribute) |
boolean canHandle(T excelAttribute)
java.util.Optional<java.lang.String> exportData(T excelAttribute, java.lang.Object objectToExport)
default java.lang.String referenceFormat(T excelAttribute)
Impex importData(ExcelAttribute excelAttribute, ImportParameters importParameters, ExcelImportContext excelImportContext)
Impex thanks to
that it is possible to creating additional entries ( or example creating part-of entries: product - price row, ect.)excelAttribute - describes attribute which should be importedimportParameters - contains information about language for localized field, type code, parsed parameters inserted into excel's
cell.excelImportContext - excel's contextImpex object which is representation of impex script.Copyright © 2018 SAP SE. All Rights Reserved.