Package com.atlassian.confluence.user
Interface UserFormValidator
- All Known Implementing Classes:
DefaultUserFormValidator
public interface UserFormValidator
Validation logic for all User forms.
- Since:
- 4.2.3
-
Method Summary
Modifier and TypeMethodDescriptionvalidateEditUser
(UserForm form, MessageHolder result) Validates that an existing User can be updated with UserForm data.validateEditUserAllowRename
(UserForm form, MessageHolder result) Validates that an existing User can be updated with UserForm data.validateNewUser
(UserForm form, MessageHolder result) Validate that a new User specified by the given UserForm can be added to the system.validateNewUserBySignup
(UserForm form, MessageHolder result) Validates that a new User can be created via the Sign Up process with the supplied UserForm data.
-
Method Details
-
validateNewUser
Validate that a new User specified by the given UserForm can be added to the system. -
validateNewUserBySignup
Validates that a new User can be created via the Sign Up process with the supplied UserForm data. -
validateEditUser
Validates that an existing User can be updated with UserForm data. -
validateEditUserAllowRename
Validates that an existing User can be updated with UserForm data. Supports renaming the user.
-