Uses of Class
com.hybris.backoffice.excel.validators.data.ExcelValidationResult
Packages that use ExcelValidationResult
Package
Description
-
Uses of ExcelValidationResult in com.hybris.backoffice.excel.imp.wizard
Methods in com.hybris.backoffice.excel.imp.wizard that return types with arguments of type ExcelValidationResultModifier and TypeMethodDescriptionprotected List<ExcelValidationResult>ExcelImportHandler.validateExcel(FileContent excelFileContent) Deprecated, for removal: This API element is subject to removal in a future version.protected List<ExcelValidationResult>ExcelImportHandler.validateExcel(FileContent excelFileContent, FileContent zipFileContent) Methods in com.hybris.backoffice.excel.imp.wizard with parameters of type ExcelValidationResultModifier and TypeMethodDescriptionprotected voidDefaultExcelDownloadReportService.generateValidationRow(StringBuilder sb, ExcelValidationResult value) protected voidExcelImportDownloadValidationErrorHandler.generateValidationRow(StringBuilder sb, ExcelValidationResult value) Deprecated, for removal: This API element is subject to removal in a future version.protected voidDefaultExcelDownloadReportService.generateValidationRowHeader(StringBuilder sb, ExcelValidationResult excelValidationResult) protected voidExcelImportDownloadValidationErrorHandler.generateValidationRowHeader(StringBuilder sb, ExcelValidationResult excelValidationResult) Deprecated, for removal: This API element is subject to removal in a future version.Method parameters in com.hybris.backoffice.excel.imp.wizard with type arguments of type ExcelValidationResultModifier and TypeMethodDescriptionvoidDefaultExcelDownloadReportService.downloadReport(Collection<ExcelValidationResult> excelValidationResults) voidExcelDownloadReportService.downloadReport(Collection<ExcelValidationResult> excelValidationResults) Triggers downloading of report file.protected StringDefaultExcelDownloadReportService.generateValidationContent(Collection<ExcelValidationResult> validationWorkbookResults) protected StringExcelImportDownloadValidationErrorHandler.generateValidationContent(List<ExcelValidationResult> validationWorkbookResults) Deprecated, for removal: This API element is subject to removal in a future version.protected booleanExcelImportHandler.hasValidationErrors(Collection<ExcelValidationResult> excelValidationResults) -
Uses of ExcelValidationResult in com.hybris.backoffice.excel.imp.wizard.renderer
Methods in com.hybris.backoffice.excel.imp.wizard.renderer that return types with arguments of type ExcelValidationResultModifier and TypeMethodDescriptionorg.zkoss.zul.ListitemRenderer<ExcelValidationResult>ExcelImportValidationResultRenderer.getListitemRenderer()protected List<ExcelValidationResult>ExcelImportValidationResultRenderer.limitValidationResultsToMaxThreshold(List<ExcelValidationResult> result, int maxErrorRenderAmount) protected List<ExcelValidationResult>ExcelImportValidationResultRenderer.reduceResultsList(List<ExcelValidationResult> result) Methods in com.hybris.backoffice.excel.imp.wizard.renderer with parameters of type ExcelValidationResultModifier and TypeMethodDescriptionprotected StringExcelImportValidationRowResultRenderer.getSubtitleLabelValue(ExcelValidationResult excelValidationResult) protected voidExcelImportValidationRowResultRenderer.handleToggleDetailsContainer(ExcelValidationResult excelValidationResult, org.zkoss.zul.A validationDetailsContainerToggleButton, org.zkoss.zul.Div validationDetailsContainer) voidExcelImportValidationRowResultRenderer.render(org.zkoss.zul.Listitem listitem, ExcelValidationResult excelValidationResult, int index) Method parameters in com.hybris.backoffice.excel.imp.wizard.renderer with type arguments of type ExcelValidationResultModifier and TypeMethodDescriptionprotected org.zkoss.zul.ButtonExcelImportValidationResultRenderer.createButton(List<ExcelValidationResult> result) protected org.zkoss.zul.ListboxExcelImportValidationResultRenderer.createListbox(List<ExcelValidationResult> result) protected List<ExcelValidationResult>ExcelImportValidationResultRenderer.limitValidationResultsToMaxThreshold(List<ExcelValidationResult> result, int maxErrorRenderAmount) protected List<ExcelValidationResult>ExcelImportValidationResultRenderer.reduceResultsList(List<ExcelValidationResult> result) voidExcelImportValidationResultRenderer.setListitemRenderer(org.zkoss.zul.ListitemRenderer<ExcelValidationResult> listitemRenderer) -
Uses of ExcelValidationResult in com.hybris.backoffice.excel.importing
Methods in com.hybris.backoffice.excel.importing that return types with arguments of type ExcelValidationResultModifier and TypeMethodDescriptionAbstractExcelImportWorkbookDecorator.validate(org.apache.poi.ss.usermodel.Workbook workbook) AbstractExcelImportWorkbookDecorator.validate(org.apache.poi.ss.usermodel.Workbook workbook, Set<String> mediaContentEntries) AbstractExcelImportWorkbookDecorator.validate(org.apache.poi.ss.usermodel.Workbook workbook, Set<String> mediaContentEntries, Map<String, Object> context) protected List<ExcelValidationResult>DefaultExcelImportService.validate(ExcelWorksheet excelWorksheet, Map<String, Object> context) DefaultExcelImportService.validate(org.apache.poi.ss.usermodel.Workbook workbook) DefaultExcelImportService.validate(org.apache.poi.ss.usermodel.Workbook workbook, Set<String> mediaContentEntries) DefaultExcelImportService.validate(org.apache.poi.ss.usermodel.Workbook workbook, Set<String> mediaContentEntries, Map<String, Object> context) DefaultExcelImportWorkbookPostProcessor.validate(org.apache.poi.ss.usermodel.Workbook workbook) DefaultExcelImportWorkbookPostProcessor.validate(org.apache.poi.ss.usermodel.Workbook workbook, Set<String> mediaContentEntries) DefaultExcelImportWorkbookPostProcessor.validate(org.apache.poi.ss.usermodel.Workbook workbook, Set<String> mediaContentEntries, Map<String, Object> context) ExcelImportService.validate(org.apache.poi.ss.usermodel.Workbook workbook) Deprecated, for removal: This API element is subject to removal in a future version.since 6.7 please useExcelImportService.validate(Workbook, Set)default List<ExcelValidationResult>ExcelImportService.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 please useExcelImportService.validate(Workbook, Set, Map)default List<ExcelValidationResult>ExcelImportService.validate(org.apache.poi.ss.usermodel.Workbook workbook, Set<String> mediaContentEntries, Map<String, Object> context) Validates a workbook.ExcelImportWorkbookPostProcessor.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>ExcelImportWorkbookPostProcessor.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.default Collection<ExcelValidationResult>ExcelImportWorkbookPostProcessor.validate(org.apache.poi.ss.usermodel.Workbook workbook, Set<String> mediaContentEntries, Map<String, Object> context) Uses list ofExcelAttributeValidatorto validate excel's workbook.ExcelImportWorkbookValidationAwareDecorator.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>ExcelImportWorkbookValidationAwareDecorator.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.default Collection<ExcelValidationResult>ExcelImportWorkbookValidationAwareDecorator.validate(org.apache.poi.ss.usermodel.Workbook workbook, Set<String> mediaContentEntries, Map<String, Object> context) Uses lists ofExcelAttributeValidatorto validate given workbook.protected Optional<ExcelValidationResult>DefaultExcelImportService.validateCell(ExcelValueTranslator translator, DefaultExcelImportService.CellValidationMetaData metaData) protected Optional<ExcelValidationResult>DefaultExcelImportService.validateExcelFileOrigin(org.apache.poi.ss.usermodel.Workbook workbook) protected List<ExcelValidationResult>DefaultExcelImportService.validateWorkbook(org.apache.poi.ss.usermodel.Workbook workbook) Methods in com.hybris.backoffice.excel.importing with parameters of type ExcelValidationResultModifier and TypeMethodDescriptionprotected voidDefaultExcelImportService.mergeWithRowValidation(Map<Integer, ExcelValidationResult> rowsValidation, Integer rowIndex, ExcelValidationResult cellValidation) Method parameters in com.hybris.backoffice.excel.importing with type arguments of type ExcelValidationResultModifier and TypeMethodDescriptionprotected voidDefaultExcelImportService.mergeWithRowValidation(Map<Integer, ExcelValidationResult> rowsValidation, Integer rowIndex, ExcelValidationResult cellValidation) -
Uses of ExcelValidationResult in com.hybris.backoffice.excel.translators
Methods in com.hybris.backoffice.excel.translators that return ExcelValidationResultModifier and TypeMethodDescriptionAbstractValidationAwareTranslator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> context) ExcelValueTranslator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> context) Validates single cell based on parsed importParameters. -
Uses of ExcelValidationResult in com.hybris.backoffice.excel.validators
Methods in com.hybris.backoffice.excel.validators that return ExcelValidationResultModifier and TypeMethodDescriptionprotected ExcelValidationResultWorkbookTypeCodeAndSelectedAttributeValidator.prepareValidationResultForUnknownType(String sheetName) CatalogVersionPermissionValidator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> context) ExcelAttributeValidator.validate(T excelAttribute, ImportParameters importParameters, Map<String, Object> context) Validates given cell and returns validation result.ExcelBaseProductValidator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> ctx) Deprecated, for removal: This API element is subject to removal in a future version.ExcelBooleanValidator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> context) ExcelCatalogVersionValidator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> ctx) Deprecated, for removal: This API element is subject to removal in a future version.ExcelCategoryValidator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> ctx) ExcelDateValidator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> context) ExcelEnumValidator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> context) ExcelEurope1PricesValidator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> ctx) ExcelGenericReferenceValidator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> context) ExcelMandatoryFieldValidator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> context) ExcelMediaCollectionImportValidator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> context) ExcelMediaImportValidator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> context) ExcelNumberValidator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> context) ExcelStringValidator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> context) ExcelValidator.validate(ImportParameters importParameters, AttributeDescriptorModel attributeDescriptor, Map<String, Object> context) Validates given cell and returns validation result.ExcelGenericReferenceValidator.validateRequiredAttribute(RequiredAttribute requiredAttribute, ImportParameters importParameters, Map<String, Object> context) Validates given cell and returns validation result.protected ExcelValidationResultExcelEurope1PricesValidatorTest.validateWithCorrectPriceAnd(String param, String value) protected ExcelValidationResultExcelEurope1PricesValidatorTest.validateWithCorrectPriceAnd(Map<String, String> params) protected ExcelValidationResultExcelEurope1PricesValidatorTest.validateWithParams(Map<String, String> params) Methods in com.hybris.backoffice.excel.validators that return types with arguments of type ExcelValidationResultModifier and TypeMethodDescriptionprotected Optional<ExcelValidationResult>WorkbookTypeCodeAndSelectedAttributeValidator.createValidationResult(String sheetName, List<String> duplicateColumnNames) protected List<ExcelValidationResult>WorkbookMaxRowValidator.prepareResult(int totalNumberOfRows) WorkbookLanguagePermissionValidator.validate(org.apache.poi.ss.usermodel.Workbook workbook) WorkbookMandatoryColumnsValidator.validate(org.apache.poi.ss.usermodel.Workbook workbook) WorkbookMaxRowValidator.validate(org.apache.poi.ss.usermodel.Workbook workbook) WorkbookTypeCodeAndSelectedAttributeValidator.validate(org.apache.poi.ss.usermodel.Workbook workbook) WorkbookValidator.validate(org.apache.poi.ss.usermodel.Workbook workbook) Validates workbook.protected Optional<ExcelValidationResult>WorkbookTypeCodeAndAttributesValidator.validateClassificationAttributes(String typeCode, List<ClassificationTypeSystemRow> classificationAttributes) protected Optional<ExcelValidationResult>WorkbookTypeCodeAndAttributesValidator.validateColumnUniqueness(String typeCode, org.apache.poi.ss.usermodel.Sheet sheet) protected Optional<ExcelValidationResult>WorkbookTypeCodeAndSelectedAttributeValidator.validateColumnUniqueness(String sheetName, List<SelectedAttributeQualifier> selectedColumns) protected List<ExcelValidationResult>WorkbookTypeCodeAndAttributesValidator.validateSelectedColumns(org.apache.poi.ss.usermodel.Sheet typeSystemSheet, org.apache.poi.ss.usermodel.Sheet sheet) protected List<ExcelValidationResult>WorkbookTypeCodeAndSelectedAttributeValidator.validateSelectedColumns(org.apache.poi.ss.usermodel.Sheet typeSystemSheet, org.apache.poi.ss.usermodel.Sheet sheet) protected Optional<ExcelValidationResult>WorkbookMandatoryColumnsValidator.validateSheet(org.apache.poi.ss.usermodel.Sheet typeSystemSheet, org.apache.poi.ss.usermodel.Sheet sheet) protected List<ExcelValidationResult>WorkbookTypeCodeAndSelectedAttributeValidator.validateSheet(org.apache.poi.ss.usermodel.Sheet typeSystemSheet, org.apache.poi.ss.usermodel.Sheet sheet) protected Optional<ExcelValidationResult>WorkbookTypeCodeAndAttributesValidator.validateThatColumnsExistAndUserHasPermission(String typeCode, List<TypeSystemRow> standardAttributes, List<String> unknownAttributes) protected Optional<ExcelValidationResult>WorkbookTypeCodeAndSelectedAttributeValidator.validateTypeCode(String typeCode) protected Optional<ExcelValidationResult>WorkbookTypeCodeAndSelectedAttributeValidator.validateWhetherColumnExistAndUserHasPermission(String typeCode, List<SelectedAttributeQualifier> qualifiers) Method parameters in com.hybris.backoffice.excel.validators with type arguments of type ExcelValidationResultModifier and TypeMethodDescriptionprotected voidWorkbookTypeCodeAndAttributesValidatorTest.assertValidationResult(List<ExcelValidationResult> validationResults, String headerMessageKey, String descriptionMessageKey) -
Uses of ExcelValidationResult in com.hybris.backoffice.excel.validators.classification
Methods in com.hybris.backoffice.excel.validators.classification that return ExcelValidationResultModifier and TypeMethodDescriptionprotected ExcelValidationResultExcelRangeClassificationFieldValidator.mergeResults(Collection<ExcelValidationResult> fromResults, Collection<ExcelValidationResult> toResults) ExcelBooleanClassificationFieldValidator.validate(ExcelClassificationAttribute excelAttribute, ImportParameters importParameters, Map<String, Object> context) ExcelClassificationGenericReferenceValidator.validate(ExcelClassificationAttribute excelAttribute, ImportParameters importParameters, Map<String, Object> context) ExcelDateClassificationFieldValidator.validate(ExcelClassificationAttribute excelAttribute, ImportParameters importParameters, Map<String, Object> context) ExcelDefaultValuesClassificationFieldValidator.validate(ExcelClassificationAttribute excelAttribute, ImportParameters importParameters, Map<String, Object> context) ExcelEnumClassificationValidator.validate(ExcelClassificationAttribute excelAttribute, ImportParameters importParameters, Map<String, Object> context) ExcelMandatoryClassificationFieldValidator.validate(ExcelClassificationAttribute excelAttribute, ImportParameters importParameters, Map<String, Object> context) Checks whetherImportParameters.getCellValue()is not blank.ExcelMediaClassificationValidator.validate(ExcelClassificationAttribute excelAttribute, ImportParameters importParameters, Map<String, Object> context) ExcelMultivalueClassificationFieldValidator.validate(ExcelClassificationAttribute excelAttribute, ImportParameters importParameters, Map<String, Object> context) ExcelNumberClassificationFieldValidator.validate(ExcelClassificationAttribute excelAttribute, ImportParameters importParameters, Map<String, Object> context) ExcelRangeClassificationFieldValidator.validate(ExcelClassificationAttribute excelAttribute, ImportParameters importParameters, Map<String, Object> context) ExcelUnitClassificationFieldValidator.validate(ExcelClassificationAttribute excelAttribute, ImportParameters importParameters, Map<String, Object> context) Method parameters in com.hybris.backoffice.excel.validators.classification with type arguments of type ExcelValidationResultModifier and TypeMethodDescriptionprotected ExcelValidationResultExcelRangeClassificationFieldValidator.mergeResults(Collection<ExcelValidationResult> fromResults, Collection<ExcelValidationResult> toResults) -
Uses of ExcelValidationResult in com.hybris.backoffice.excel.validators.data
Fields in com.hybris.backoffice.excel.validators.data declared as ExcelValidationResultModifier and TypeFieldDescriptionstatic final ExcelValidationResultExcelValidationResult.SUCCESSMethods in com.hybris.backoffice.excel.validators.data with parameters of type ExcelValidationResultModifier and TypeMethodDescriptionintExcelValidationResult.compareTo(ExcelValidationResult another) -
Uses of ExcelValidationResult in com.hybris.backoffice.excel.validators.engine
Methods in com.hybris.backoffice.excel.validators.engine that return ExcelValidationResultModifier and TypeMethodDescriptionDefaultExcelValidationEngineAwareValidator.validate(ExcelAttribute excelAttribute, ImportParameters importParameters) ExcelValidationEngineAwareLocalizedStrategy.validate(ImportParameters importParameters, ExcelAttribute excelAttribute) ExcelValidationEngineAwareStrategy.validate(ImportParameters importParameters, ExcelAttribute excelAttribute) Validates current value based on backoffice's validation engineExcelValidationEngineAwareUnlocalizedStrategy.validate(ImportParameters importParameters, ExcelAttribute excelAttribute) ExcelValidationEngineAwareValidator.validate(ExcelAttribute excelAttribute, ImportParameters importParameters) Validates currently processed cell's value -
Uses of ExcelValidationResult in com.hybris.backoffice.excel.validators.util
Methods in com.hybris.backoffice.excel.validators.util that return ExcelValidationResultModifier and TypeMethodDescriptionstatic ExcelValidationResultExcelValidationResultUtil.mergeExcelValidationResults(Collection<ExcelValidationResult> results) Allows to merge the list of errors fromExcelValidationResultto singleExcelValidationResult.Methods in com.hybris.backoffice.excel.validators.util that return types with arguments of type ExcelValidationResultModifier and TypeMethodDescriptionstatic List<ExcelValidationResult>ExcelValidationResultUtil.mergeValidationResults(List<ExcelValidationResult> resultsToMerge) FindsExcelValidationResultwhich belong to the same row and creates newExcelValidationResultwhich consists of mergedValidationMessageand common header.Methods in com.hybris.backoffice.excel.validators.util with parameters of type ExcelValidationResultModifier and TypeMethodDescriptionstatic voidExcelValidationResultUtil.insertHeaderIfNeeded(ExcelValidationResult singleResult, int rowIndex, String typeCode, String attributeName) Creates validation header if givenExcelValidationResultdoes not have it.Method parameters in com.hybris.backoffice.excel.validators.util with type arguments of type ExcelValidationResultModifier and TypeMethodDescriptionstatic Collection<ValidationMessage>ExcelValidationResultUtil.mapExcelResultsToValidationMessages(Collection<ExcelValidationResult> results) Allows to retrieve allValidationMessages from givenExcelValidationResults and returns the flat structure.static ExcelValidationResultExcelValidationResultUtil.mergeExcelValidationResults(Collection<ExcelValidationResult> results) Allows to merge the list of errors fromExcelValidationResultto singleExcelValidationResult.static List<ExcelValidationResult>ExcelValidationResultUtil.mergeValidationResults(List<ExcelValidationResult> resultsToMerge) FindsExcelValidationResultwhich belong to the same row and creates newExcelValidationResultwhich consists of mergedValidationMessageand common header.
ExcelImportHandler.validateExcel(FileContent, FileContent)