Class TmaAnonymousCartValidator

  • All Implemented Interfaces:
    org.springframework.validation.Validator

    public class TmaAnonymousCartValidator
    extends java.lang.Object
    implements org.springframework.validation.Validator
    Validates if the given anonymous cart is valid and are eligible for requested user
    Since:
    1911
    • Constructor Detail

      • TmaAnonymousCartValidator

        public TmaAnonymousCartValidator()
    • Method Detail

      • supports

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

        public void validate​(java.lang.Object cartGUID,
                             org.springframework.validation.Errors arg1)
        Specified by:
        validate in interface org.springframework.validation.Validator
      • getUserFacade

        protected de.hybris.platform.commercefacades.user.UserFacade getUserFacade()
      • setUserFacade

        public void setUserFacade​(de.hybris.platform.commercefacades.user.UserFacade userFacade)
      • setTmaCartFacade

        public void setTmaCartFacade​(TmaCartFacade tmaCartFacade)