Class CmsDefaultValidationHandler

    • Field Summary

      Modifier and Type Field Description
      static java.lang.String EMAIL_REGEX
      The email regular expression.
      static java.lang.String USERNAME_CONSTRAINTS
      The user name constraints.
      static java.lang.String ZIPCODE_REGEX
      The zipcode regular expression.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkEmail​(java.lang.String email)
      The email should only be composed by digits and standard english letters, points, underscores and exact one "At" symbol.
      void checkFirstname​(java.lang.String firstname)
      Checks if the provided first name is valid.
      void checkGroupName​(java.lang.String name)
      Checks if the provided group name is a valid group name.
      void checkLastname​(java.lang.String lastname)
      Checks if the provided last name is valid.
      void checkUserName​(java.lang.String userName)
      A user name can only be composed of digits, standard ASCII letters and the symbols defined in USERNAME_CONSTRAINTS.
      void checkZipCode​(java.lang.String zipcode)
      That means, the parameter should only be composed by digits and standard english letters.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait