Class _SearchRequestValidatorImpl

  • All Implemented Interfaces:
    _SearchRequestValidator, de.knightsoftnet.validators.client.impl.GwtSpecificValidator<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest>

    public class _SearchRequestValidatorImpl
    extends de.knightsoftnet.validators.client.impl.AbstractGwtSpecificValidator<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest>
    implements _SearchRequestValidator
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.knightsoftnet.validators.client.impl.AbstractGwtSpecificValidator

        de.knightsoftnet.validators.client.impl.AbstractGwtSpecificValidator.AttributeBuilder
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> void expandDefaultAndValidateClassGroups​(de.knightsoftnet.validators.client.impl.GwtValidationContext<T> context, de.knightsoftnet.gwtp.spring.shared.search.SearchRequest object, Set<javax.validation.ConstraintViolation<T>> violations, de.knightsoftnet.validators.client.impl.Group... groups)  
      <T> void expandDefaultAndValidatePropertyGroups​(de.knightsoftnet.validators.client.impl.GwtValidationContext<T> context, de.knightsoftnet.gwtp.spring.shared.search.SearchRequest object, String propertyName, Set<javax.validation.ConstraintViolation<T>> violations, de.knightsoftnet.validators.client.impl.Group... groups)  
      <T> void expandDefaultAndValidateValueGroups​(de.knightsoftnet.validators.client.impl.GwtValidationContext<T> context, Class<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest> beanType, String propertyName, Object value, Set<javax.validation.ConstraintViolation<T>> violations, de.knightsoftnet.validators.client.impl.Group... groups)  
      de.knightsoftnet.validators.client.impl.metadata.BeanMetadata getBeanMetadata()  
      de.knightsoftnet.validators.client.impl.GwtBeanDescriptor<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest> getConstraints​(de.knightsoftnet.validators.client.impl.metadata.ValidationGroupsMetadata validationGroupsMetadata)  
      <T> void validateClassGroups​(de.knightsoftnet.validators.client.impl.GwtValidationContext<T> context, de.knightsoftnet.gwtp.spring.shared.search.SearchRequest object, Set<javax.validation.ConstraintViolation<T>> violations, Class<?>... groups)  
      <T> void validatePropertyGroups​(de.knightsoftnet.validators.client.impl.GwtValidationContext<T> context, de.knightsoftnet.gwtp.spring.shared.search.SearchRequest object, String propertyName, Set<javax.validation.ConstraintViolation<T>> violations, Class<?>... groups)  
      <T> void validateValueGroups​(de.knightsoftnet.validators.client.impl.GwtValidationContext<T> context, Class<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest> beanType, String propertyName, Object value, Set<javax.validation.ConstraintViolation<T>> violations, Class<?>... groups)  
      • Methods inherited from class de.knightsoftnet.validators.client.impl.AbstractGwtSpecificValidator

        addDefaultGroupWhenEmpty, addSingleViolation, attributeBuilder, groupsToClasses, validate, validate, validateProperty, validateValue
      • Methods inherited from interface de.knightsoftnet.validators.client.impl.GwtSpecificValidator

        validate, validateProperty, validateValue
    • Constructor Detail

      • _SearchRequestValidatorImpl

        public _SearchRequestValidatorImpl()
    • Method Detail

      • validateClassGroups

        public <T> void validateClassGroups​(de.knightsoftnet.validators.client.impl.GwtValidationContext<T> context,
                                            de.knightsoftnet.gwtp.spring.shared.search.SearchRequest object,
                                            Set<javax.validation.ConstraintViolation<T>> violations,
                                            Class<?>... groups)
        Specified by:
        validateClassGroups in interface de.knightsoftnet.validators.client.impl.GwtSpecificValidator<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest>
      • expandDefaultAndValidateClassGroups

        public <T> void expandDefaultAndValidateClassGroups​(de.knightsoftnet.validators.client.impl.GwtValidationContext<T> context,
                                                            de.knightsoftnet.gwtp.spring.shared.search.SearchRequest object,
                                                            Set<javax.validation.ConstraintViolation<T>> violations,
                                                            de.knightsoftnet.validators.client.impl.Group... groups)
        Specified by:
        expandDefaultAndValidateClassGroups in interface de.knightsoftnet.validators.client.impl.GwtSpecificValidator<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest>
      • expandDefaultAndValidatePropertyGroups

        public <T> void expandDefaultAndValidatePropertyGroups​(de.knightsoftnet.validators.client.impl.GwtValidationContext<T> context,
                                                               de.knightsoftnet.gwtp.spring.shared.search.SearchRequest object,
                                                               String propertyName,
                                                               Set<javax.validation.ConstraintViolation<T>> violations,
                                                               de.knightsoftnet.validators.client.impl.Group... groups)
        Specified by:
        expandDefaultAndValidatePropertyGroups in interface de.knightsoftnet.validators.client.impl.GwtSpecificValidator<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest>
      • expandDefaultAndValidateValueGroups

        public <T> void expandDefaultAndValidateValueGroups​(de.knightsoftnet.validators.client.impl.GwtValidationContext<T> context,
                                                            Class<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest> beanType,
                                                            String propertyName,
                                                            Object value,
                                                            Set<javax.validation.ConstraintViolation<T>> violations,
                                                            de.knightsoftnet.validators.client.impl.Group... groups)
        Specified by:
        expandDefaultAndValidateValueGroups in interface de.knightsoftnet.validators.client.impl.GwtSpecificValidator<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest>
      • validatePropertyGroups

        public <T> void validatePropertyGroups​(de.knightsoftnet.validators.client.impl.GwtValidationContext<T> context,
                                               de.knightsoftnet.gwtp.spring.shared.search.SearchRequest object,
                                               String propertyName,
                                               Set<javax.validation.ConstraintViolation<T>> violations,
                                               Class<?>... groups)
                                        throws javax.validation.ValidationException
        Specified by:
        validatePropertyGroups in interface de.knightsoftnet.validators.client.impl.GwtSpecificValidator<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest>
        Throws:
        javax.validation.ValidationException
      • validateValueGroups

        public <T> void validateValueGroups​(de.knightsoftnet.validators.client.impl.GwtValidationContext<T> context,
                                            Class<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest> beanType,
                                            String propertyName,
                                            Object value,
                                            Set<javax.validation.ConstraintViolation<T>> violations,
                                            Class<?>... groups)
        Specified by:
        validateValueGroups in interface de.knightsoftnet.validators.client.impl.GwtSpecificValidator<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest>
      • getBeanMetadata

        public de.knightsoftnet.validators.client.impl.metadata.BeanMetadata getBeanMetadata()
        Specified by:
        getBeanMetadata in interface de.knightsoftnet.validators.client.impl.GwtSpecificValidator<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest>
      • getConstraints

        public de.knightsoftnet.validators.client.impl.GwtBeanDescriptor<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest> getConstraints​(de.knightsoftnet.validators.client.impl.metadata.ValidationGroupsMetadata validationGroupsMetadata)
        Specified by:
        getConstraints in interface de.knightsoftnet.validators.client.impl.GwtSpecificValidator<de.knightsoftnet.gwtp.spring.shared.search.SearchRequest>