Class PriceValidator
java.lang.Object
de.hybris.platform.ordermanagementwebservices.validators.PriceValidator
- All Implemented Interfaces:
org.springframework.validation.Validator
Default price validator
PriceWsDTO. Checks if a price is valid.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringvoidsetFieldPath(String fieldPath) booleanvoidprotected voidvalidatePriceWsDTO(PriceWsDTO price, org.springframework.validation.Errors errors) Validation for price of type PriceWsDTO
-
Constructor Details
-
PriceValidator
public PriceValidator()
-
-
Method Details
-
supports
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
- Specified by:
validatein interfaceorg.springframework.validation.Validator
-
validatePriceWsDTO
Validation for price of type PriceWsDTO- Parameters:
price-errors-
-
getFieldPath
-
setFieldPath
-