Class TmaProductOrderUpdateValidator

java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v3.validators.TmaProductOrderUpdateValidator
All Implemented Interfaces:
org.springframework.validation.Validator

public class TmaProductOrderUpdateValidator extends Object implements org.springframework.validation.Validator
Update order validator.
Since:
2205
  • Constructor Details

    • TmaProductOrderUpdateValidator

      public TmaProductOrderUpdateValidator()
  • Method Details

    • supports

      public boolean supports(Class<?> aClass)
      Specified by:
      supports in interface org.springframework.validation.Validator
    • validate

      public void validate(Object object, org.springframework.validation.Errors errors)
      Specified by:
      validate in interface org.springframework.validation.Validator
    • validateState

      protected void validateState(StateType state, org.springframework.validation.Errors errors)
      Validates the order state.
      Parameters:
      state - The state of the order
      errors - The errors found
    • validateRelatedParty

      protected void validateRelatedParty(List<RelatedPartyRef> relatedPartyRefList, org.springframework.validation.Errors errors)
      Validates the related party.
      Parameters:
      relatedPartyRefList - Related party reference list
      errors - The errors found