Class NotificationPreferenceChannelValidator

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

    public class NotificationPreferenceChannelValidator
    extends java.lang.Object
    implements org.springframework.validation.Validator
    Validator for notification preference channels.
    • Constructor Summary

      Constructors 
      Constructor Description
      NotificationPreferenceChannelValidator​(java.util.Map notificationChannelSpecificValidatorMap, org.springframework.validation.Validator channelTypeValidator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.springframework.validation.Validator getChannelTypeValidator()  
      boolean supports​(java.lang.Class<?> aClass)  
      void validate​(java.lang.Object object, org.springframework.validation.Errors errors)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NotificationPreferenceChannelValidator

        public NotificationPreferenceChannelValidator​(java.util.Map notificationChannelSpecificValidatorMap,
                                                      org.springframework.validation.Validator channelTypeValidator)
    • Method Detail

      • supports

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

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

        protected org.springframework.validation.Validator getChannelTypeValidator()