Constructor and Description |
---|
UserValidator() |
Modifier and Type | Method and Description |
---|---|
protected String |
getFieldValueOrNull(org.springframework.validation.Errors errors,
String field) |
protected boolean |
noNamePresent(org.springframework.validation.Errors errors) |
boolean |
supports(Class<?> serviceClass,
com.broadleafcommerce.data.tracking.core.context.ContextInfo context) |
void |
validate(Object businessInstance,
org.springframework.validation.Errors errors,
com.broadleafcommerce.data.tracking.core.context.ContextInfo context) |
protected void |
validateAuthorizationServer(org.springframework.validation.Errors errors) |
protected void |
validateEmail(org.springframework.validation.Errors errors) |
protected void |
validateName(org.springframework.validation.Errors errors) |
protected void |
validateServiceIdAndType(User user,
org.springframework.validation.Errors errors) |
protected void |
validateUsername(org.springframework.validation.Errors errors) |
public boolean supports(Class<?> serviceClass, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
supports
in interface com.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidator
public void validate(@NonNull Object businessInstance, @NonNull org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
validate
in interface com.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidator
protected void validateAuthorizationServer(org.springframework.validation.Errors errors)
protected void validateName(org.springframework.validation.Errors errors)
protected boolean noNamePresent(org.springframework.validation.Errors errors)
protected String getFieldValueOrNull(org.springframework.validation.Errors errors, String field)
protected void validateEmail(org.springframework.validation.Errors errors)
protected void validateUsername(org.springframework.validation.Errors errors)
protected void validateServiceIdAndType(User user, org.springframework.validation.Errors errors)
Copyright © 2021. All rights reserved.