Class ExcelValidationEngineAwareUnlocalizedStrategy
- java.lang.Object
-
- com.hybris.backoffice.excel.validators.engine.ExcelAbstractValidationEngineAwareStrategy
-
- com.hybris.backoffice.excel.validators.engine.ExcelValidationEngineAwareUnlocalizedStrategy
-
- All Implemented Interfaces:
ExcelValidationEngineAwareStrategy
public class ExcelValidationEngineAwareUnlocalizedStrategy extends ExcelAbstractValidationEngineAwareStrategy
Excel validation strategy for unlocalized fields which uses validation engine.
-
-
Constructor Summary
Constructors Constructor Description ExcelValidationEngineAwareUnlocalizedStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandle(ImportParameters importParameters, ExcelAttribute excelAttribute)Indicates whether current strategy is able to handle given attributeExcelValidationResultvalidate(ImportParameters importParameters, ExcelAttribute excelAttribute)Validates current value based on backoffice's validation engine-
Methods inherited from class com.hybris.backoffice.excel.validators.engine.ExcelAbstractValidationEngineAwareStrategy
convertValue, getConstraintGroups, getConverterRegistry, getSeverities, getTypeService, getValidationDao, getValidationService, setConstraintGroups, setConverterRegistry, setSeverities, setTypeService, setValidationDao, setValidationService, validateValue
-
-
-
-
Method Detail
-
canHandle
public boolean canHandle(ImportParameters importParameters, ExcelAttribute excelAttribute)
Description copied from interface:ExcelValidationEngineAwareStrategyIndicates whether current strategy is able to handle given attribute- Parameters:
importParameters-ImportParameterslist of parsed import parametersexcelAttribute-ExcelAttributerepresentation of currently processed attribute- Returns:
- whether current strategy is able to handle given attribute
-
validate
public ExcelValidationResult validate(ImportParameters importParameters, ExcelAttribute excelAttribute)
Description copied from interface:ExcelValidationEngineAwareStrategyValidates current value based on backoffice's validation engine- Parameters:
importParameters-ImportParameterslist of parsed import parametersexcelAttribute-ExcelAttributerepresentation of currently processed attribute- Returns:
- result of validation
-
-