Interface UserFormValidator

  • All Known Implementing Classes:

    public interface UserFormValidator
    Validation logic for all User forms.
    • 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.
      • validateEditUserAllowRename

        MessageHolder validateEditUserAllowRename​(UserForm form,
                                                  MessageHolder result)
        Validates that an existing User can be updated with UserForm data. Supports renaming the user.