public interface UserPropertyValidator
Modifier and Type | Method and Description |
---|---|
java.lang.String |
validate(java.lang.String propertyValue,
SUser editee,
UserForm currentUserData)
Returns error text if property value is not valid, null otherwise
|
@Nullable java.lang.String validate(@NotNull java.lang.String propertyValue, @Nullable SUser editee, @NotNull UserForm currentUserData)
propertyValue
- property valueeditee
- user that is being edited (null if user is being created)currentUserData
- current user data