Interface ExcelAttributeTranslator<T extends ExcelAttribute>
- All Superinterfaces:
org.springframework.core.Ordered
- All Known Implementing Classes:
AbstractClassificationAttributeTranslator,AbstractClassificationRangeTranslator,ExcelClassificationEnumTypeTranslator,ExcelClassificationJavaTypeTranslator,ExcelClassificationMediaTranslator,ExcelClassificationReferenceTranslator
public interface ExcelAttributeTranslator<T extends ExcelAttribute>
extends org.springframework.core.Ordered
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptionbooleanexportData(T excelAttribute, Object objectToExport) importData(ExcelAttribute excelAttribute, ImportParameters importParameters, ExcelImportContext excelImportContext) Imports data based on provided importParameters for given excel attribute.default StringreferenceFormat(T excelAttribute) Methods inherited from interface org.springframework.core.Ordered
getOrder
-
Method Details
-
canHandle
-
exportData
-
referenceFormat
-
importData
Impex importData(ExcelAttribute excelAttribute, ImportParameters importParameters, ExcelImportContext excelImportContext) Imports data based on provided importParameters for given excel attribute. The method returnsImpexthanks to that it is possible to creating additional entries ( or example creating part-of entries: product - price row, ect.)- Parameters:
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 context- Returns:
Impexobject which is representation of impex script.
-