Interface ExcelValidationEngineAwareStrategy
- All Known Implementing Classes:
ExcelAbstractValidationEngineAwareStrategy,ExcelValidationEngineAwareLocalizedStrategy,ExcelValidationEngineAwareUnlocalizedStrategy
public interface ExcelValidationEngineAwareStrategy
Strategy for validation engine used by excel mechanism.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanHandle(ImportParameters importParameters, ExcelAttribute excelAttribute) Indicates whether current strategy is able to handle given attributevalidate(ImportParameters importParameters, ExcelAttribute excelAttribute) Validates current value based on backoffice's validation engine
-
Method Details
-
canHandle
Indicates 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
Validates current value based on backoffice's validation engine- Parameters:
importParameters-ImportParameterslist of parsed import parametersexcelAttribute-ExcelAttributerepresentation of currently processed attribute- Returns:
- result of validation
-