Class TmaProductOrderUpdateValidator
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.validators.TmaProductOrderUpdateValidator
- All Implemented Interfaces:
org.springframework.validation.Validator
public class TmaProductOrderUpdateValidator
extends Object
implements org.springframework.validation.Validator
Update order validator.
- Since:
- 2105
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidprotected voidvalidateRelatedParty(List<RelatedPartyRef> relatedPartyRefList, org.springframework.validation.Errors errors) Validates the related party.protected voidvalidateState(StateType state, org.springframework.validation.Errors errors) Validates the order state.
-
Constructor Details
-
TmaProductOrderUpdateValidator
public TmaProductOrderUpdateValidator()
-
-
Method Details
-
supports
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
- Specified by:
validatein interfaceorg.springframework.validation.Validator
-
validateState
Validates the order state.- Parameters:
state- The state of the ordererrors- The errors found
-
validateRelatedParty
protected void validateRelatedParty(List<RelatedPartyRef> relatedPartyRefList, org.springframework.validation.Errors errors) Validates the related party.- Parameters:
relatedPartyRefList- Related party reference listerrors- The errors found
-