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
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
validateNewUser
MessageHolder validateNewUser(UserForm form, MessageHolder result)
Validate that a new User specified by the given UserForm can be added to the system.
-
validateNewUserBySignup
MessageHolder validateNewUserBySignup(UserForm form, MessageHolder result)
Validates that a new User can be created via the Sign Up process with the supplied UserForm data.
-
validateEditUser
MessageHolder validateEditUser(UserForm form, MessageHolder result)
Validates that an existing User can be updated with UserForm data.
-
validateEditUserAllowRename
MessageHolder validateEditUserAllowRename(UserForm form, MessageHolder result)
Validates that an existing User can be updated with UserForm data. Supports renaming the user.
-
-