Class NotificationTypeValidator

java.lang.Object
de.hybris.platform.notificationservices.validators.NotificationTypeValidator
All Implemented Interfaces:
org.springframework.validation.Validator

public class NotificationTypeValidator extends Object implements org.springframework.validation.Validator
Validate the notification type by the extension which inject the specific notification type list.
  • Constructor Details

    • NotificationTypeValidator

      public NotificationTypeValidator()
  • Method Details

    • supports

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

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

      protected List<NotificationType> getNotificationTypes()
    • setNotificationTypes

      public void setNotificationTypes(List<NotificationType> notificationTypes)