Class PrCreatePartyRoleValidator
java.lang.Object
de.hybris.platform.partyroletmfwebservices.v2.validators.PrCreatePartyRoleValidator
- All Implemented Interfaces:
org.springframework.validation.Validator
public class PrCreatePartyRoleValidator
extends Object
implements org.springframework.validation.Validator
Validator for POST /partyRole API.
- Since:
- 2208
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TuaGenericServicebooleanvoidVerifies that thePartyRolehas valid id and name.
-
Constructor Details
-
PrCreatePartyRoleValidator
-
-
Method Details
-
supports
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
Verifies that thePartyRolehas valid id and name.- Specified by:
validatein interfaceorg.springframework.validation.Validator- Parameters:
o- the partyRoleerrors- the validation errors
-
getTuaGenericService
-