public class DefaultUserFormValidator extends Object implements UserFormValidator
Constructor and Description |
---|
DefaultUserFormValidator(UserAccessor userAccessor,
I18NBeanFactory i18NBeanFactory) |
Modifier and Type | Method and Description |
---|---|
MessageHolder |
validateEditUser(UserForm form,
MessageHolder result)
Validates that an existing User can be updated with UserForm data.
|
MessageHolder |
validateEditUserAllowRename(UserForm form,
MessageHolder result)
Validates that an existing User can be updated with UserForm data.
|
MessageHolder |
validateNewUser(UserForm form,
MessageHolder result)
Validate that a new User specified by the given UserForm can be added to the system.
|
MessageHolder |
validateNewUserBySignup(UserForm form,
MessageHolder result)
Validates that a new User can be created via the Sign Up process with the supplied UserForm data.
|
public DefaultUserFormValidator(UserAccessor userAccessor, I18NBeanFactory i18NBeanFactory)
public MessageHolder validateNewUserBySignup(UserForm form, MessageHolder result)
UserFormValidator
validateNewUserBySignup
in interface UserFormValidator
public MessageHolder validateEditUser(UserForm form, MessageHolder result)
UserFormValidator
validateEditUser
in interface UserFormValidator
public MessageHolder validateEditUserAllowRename(UserForm form, MessageHolder result)
UserFormValidator
validateEditUserAllowRename
in interface UserFormValidator
public MessageHolder validateNewUser(UserForm form, MessageHolder result)
UserFormValidator
validateNewUser
in interface UserFormValidator
Copyright © 2003–2021 Atlassian. All rights reserved.