public interface I_CmsValidationHandler
Modifier and Type | Method and Description |
---|---|
void |
checkEmail(java.lang.String email)
Checks if the provided email is a valid email address.
|
void |
checkFirstname(java.lang.String firstname)
Checks if the provided first name is valid.
|
void |
checkGroupName(java.lang.String groupName)
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)
Checks if the provided user name is a valid user name.
|
void |
checkZipCode(java.lang.String zipcode)
Checks if the provided string is a valid zip code.
|
void checkEmail(java.lang.String email) throws CmsIllegalArgumentException
email
- the email address to validateCmsIllegalArgumentException
- if the given email address is not validvoid checkFirstname(java.lang.String firstname) throws CmsIllegalArgumentException
firstname
- the first name to validateCmsIllegalArgumentException
- if the given email address is not validvoid checkGroupName(java.lang.String groupName) throws CmsIllegalArgumentException
groupName
- the group name to checkCmsIllegalArgumentException
- if the given group name is not validvoid checkLastname(java.lang.String lastname) throws CmsIllegalArgumentException
lastname
- the last name to validateCmsIllegalArgumentException
- if the given email address is not validvoid checkUserName(java.lang.String userName) throws CmsIllegalArgumentException
userName
- the user name to checkCmsIllegalArgumentException
- if the given user name is not validvoid checkZipCode(java.lang.String zipcode) throws CmsIllegalArgumentException
zipcode
- the zip code to validateCmsIllegalArgumentException
- if the given zip code is not valid