Interface ExcelImportWorkbookPostProcessor
- All Known Implementing Classes:
DefaultExcelImportWorkbookPostProcessor
public interface ExcelImportWorkbookPostProcessor
Backoffice Excel mechanism dedicated to postprocessing importing process. The postprocessor is invoked when
Impex for all SelectedAttribute is
transformed.-
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(ExcelImportResult excelImportResult) Allows to modifyingImpexobject which will be imported by adding new content or removing it.validate(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 list ofExcelAttributeValidatorto validate excel's workbook.
-
Method Details
-
process
Allows to modifyingImpexobject which will be imported by adding new content or removing it.- Parameters:
excelImportResult- - object represents importing result. The object consists ofWorkbookand generated impex object.
-
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 list ofExcelAttributeValidatorto validate excel's workbook.- Parameters:
workbook- - excel's workbook- Returns:
- Collection of
ExcelValidationResult
-
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 list ofExcelAttributeValidatorto validate excel's workbook.- Parameters:
workbook- - excel's workbookmediaContentEntries- - list of media entries- Returns:
- Collection of
ExcelValidationResult
-
validate
default Collection<ExcelValidationResult> validate(org.apache.poi.ss.usermodel.Workbook workbook, Set<String> mediaContentEntries, Map<String, Object> context) Uses list ofExcelAttributeValidatorto validate excel's workbook.- Parameters:
workbook- - excel's workbookmediaContentEntries- - list of media entriescontext- - context with additional parameters- Returns:
- Collection of
ExcelValidationResult
-