Class TmaPlaceValidator
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.validators.TmaPlaceValidator
- All Implemented Interfaces:
org.springframework.validation.Validator
Validator for
Place.- Since:
- 1911
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidprotected voidvalidateRole(Place place, org.springframework.validation.Errors errors) Checks that the place has a role and that role is of typeTmaPlaceRoleType.
-
Constructor Details
-
TmaPlaceValidator
public TmaPlaceValidator()
-
-
Method Details
-
supports
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
- Specified by:
validatein interfaceorg.springframework.validation.Validator
-
validateRole
Checks that the place has a role and that role is of typeTmaPlaceRoleType.- Parameters:
place- the placeerrors- the errors found
-