Interface ExcelValidationEngineAwareStrategy
-
- All Known Implementing Classes:
ExcelAbstractValidationEngineAwareStrategy,ExcelValidationEngineAwareLocalizedStrategy,ExcelValidationEngineAwareUnlocalizedStrategy
public interface ExcelValidationEngineAwareStrategyStrategy for validation engine used by excel mechanism.
-
-
Method Summary
All Methods Instance Methods Abstract 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
-
-
-
Method Detail
-
canHandle
boolean canHandle(ImportParameters importParameters, ExcelAttribute excelAttribute)
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
ExcelValidationResult validate(ImportParameters importParameters, ExcelAttribute excelAttribute)
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
-
-