|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I_CmsValidationHandler
Defines general validation methods.
Method Summary | |
---|---|
void |
checkEmail(String email)
Checks if the provided email is a valid email address. |
void |
checkFirstname(String firstname)
Checks if the provided first name is valid. |
void |
checkGroupName(String groupName)
Checks if the provided group name is a valid group name. |
void |
checkLastname(String lastname)
Checks if the provided last name is valid. |
void |
checkUserName(String userName)
Checks if the provided user name is a valid user name. |
void |
checkZipCode(String zipcode)
Checks if the provided string is a valid zip code. |
Method Detail |
---|
void checkEmail(String email) throws CmsIllegalArgumentException
email
- the email address to validate
CmsIllegalArgumentException
- if the given email address is not validvoid checkFirstname(String firstname) throws CmsIllegalArgumentException
firstname
- the first name to validate
CmsIllegalArgumentException
- if the given email address is not validvoid checkGroupName(String groupName) throws CmsIllegalArgumentException
groupName
- the group name to check
CmsIllegalArgumentException
- if the given group name is not validvoid checkLastname(String lastname) throws CmsIllegalArgumentException
lastname
- the last name to validate
CmsIllegalArgumentException
- if the given email address is not validvoid checkUserName(String userName) throws CmsIllegalArgumentException
userName
- the user name to check
CmsIllegalArgumentException
- if the given user name is not validvoid checkZipCode(String zipcode) throws CmsIllegalArgumentException
zipcode
- the zip code to validate
CmsIllegalArgumentException
- if the given zip code is not valid
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |