Interface ExcelImportWorkbookValidationAwareDecorator
- All Superinterfaces:
ExcelImportWorkbookDecorator,org.springframework.core.Ordered
- All Known Implementing Classes:
AbstractExcelImportWorkbookDecorator,DefaultExcelImportClassificationWorkbookDecorator
Excel decorator used by
DefaultExcelImportWorkbookPostProcessor mechanism to validate values to import.-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptionvalidate(org.apache.poi.ss.usermodel.Workbook workbook) Deprecated, for removal: This API element is subject to removal in a future version.since 1905.default Collection<ExcelValidationResult>Deprecated, for removal: This API element is subject to removal in a future version.since 2005.default Collection<ExcelValidationResult>validate(org.apache.poi.ss.usermodel.Workbook workbook, Set<String> mediaContentEntries, Map<String, Object> context) Uses lists ofExcelAttributeValidatorto validate given workbook.Methods inherited from interface com.hybris.backoffice.excel.importing.ExcelImportWorkbookDecorator
decorateMethods inherited from interface org.springframework.core.Ordered
getOrder
-
Method Details
-
validate
@Deprecated(since="1905", forRemoval=true) Collection<ExcelValidationResult> validate(org.apache.poi.ss.usermodel.Workbook workbook) Deprecated, for removal: This API element is subject to removal in a future version.since 1905. Usevalidate(Workbook, Set)instead. Uses lists ofExcelAttributeValidatorto validate given workbook.- Parameters:
workbook-- Returns:
- collection of validation results
-
validate
@Deprecated(since="2005", forRemoval=true) default Collection<ExcelValidationResult> validate(org.apache.poi.ss.usermodel.Workbook workbook, Set<String> mediaContentEntries) Deprecated, for removal: This API element is subject to removal in a future version.since 2005. Usevalidate(Workbook, Set, Map)instead. Uses lists ofExcelAttributeValidatorto validate given workbook.- Parameters:
workbook- which represents excel filemediaContentEntries- - list of media entries- Returns:
- collection of validation results
-
validate
default Collection<ExcelValidationResult> validate(org.apache.poi.ss.usermodel.Workbook workbook, Set<String> mediaContentEntries, Map<String, Object> context) Uses lists ofExcelAttributeValidatorto validate given workbook.- Parameters:
workbook- which represents excel filemediaContentEntries- - list of media entries- Returns:
- collection of validation results
-