Class NotificationTypeValidator
- java.lang.Object
-
- de.hybris.platform.notificationservices.validators.NotificationTypeValidator
-
- All Implemented Interfaces:
org.springframework.validation.Validator
public class NotificationTypeValidator extends java.lang.Object implements org.springframework.validation.ValidatorValidate the notification type by the extension which inject the specific notification type list.
-
-
Constructor Summary
Constructors Constructor Description NotificationTypeValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<NotificationType>getNotificationTypes()voidsetNotificationTypes(java.util.List<NotificationType> notificationTypes)booleansupports(java.lang.Class<?> arg0)voidvalidate(java.lang.Object obj, org.springframework.validation.Errors errors)
-
-
-
Method Detail
-
supports
public boolean supports(java.lang.Class<?> arg0)
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
public void validate(java.lang.Object obj, org.springframework.validation.Errors errors)- Specified by:
validatein interfaceorg.springframework.validation.Validator
-
getNotificationTypes
protected java.util.List<NotificationType> getNotificationTypes()
-
setNotificationTypes
public void setNotificationTypes(java.util.List<NotificationType> notificationTypes)
-
-