Class PointOfServiceValidator
- java.lang.Object
-
- de.hybris.platform.ordermanagementwebservices.validators.PointOfServiceValidator
-
- All Implemented Interfaces:
org.springframework.validation.Validator
public class PointOfServiceValidator extends java.lang.Object implements org.springframework.validation.ValidatorDefault Ordermanagement point of service validatorPointOfServiceModel. Checks if point of service with given name exist.
-
-
Constructor Summary
Constructors Constructor Description PointOfServiceValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetFieldPath()protected PointOfServiceServicegetPointOfServiceService()voidsetFieldPath(java.lang.String fieldPath)voidsetPointOfServiceService(PointOfServiceService pointOfServiceService)booleansupports(java.lang.Class<?> clazz)voidvalidate(java.lang.Object target, org.springframework.validation.Errors errors)
-
-
-
Method Detail
-
supports
public boolean supports(java.lang.Class<?> clazz)
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
public void validate(java.lang.Object target, org.springframework.validation.Errors errors)- Specified by:
validatein interfaceorg.springframework.validation.Validator
-
getPointOfServiceService
protected PointOfServiceService getPointOfServiceService()
-
setPointOfServiceService
public void setPointOfServiceService(PointOfServiceService pointOfServiceService)
-
getFieldPath
protected java.lang.String getFieldPath()
-
setFieldPath
public void setFieldPath(java.lang.String fieldPath)
-
-