|
||||||
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(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. |
Method Detail |
---|
void checkEmail(java.lang.String email) throws CmsIllegalArgumentException
email
- the email address to validate
CmsIllegalArgumentException
- if the given email address is not validvoid checkFirstname(java.lang.String firstname) throws CmsIllegalArgumentException
firstname
- the first name to validate
CmsIllegalArgumentException
- if the given email address is not validvoid checkGroupName(java.lang.String groupName) throws CmsIllegalArgumentException
groupName
- the group name to check
CmsIllegalArgumentException
- if the given group name is not validvoid checkLastname(java.lang.String lastname) throws CmsIllegalArgumentException
lastname
- the last name to validate
CmsIllegalArgumentException
- if the given email address is not validvoid checkUserName(java.lang.String userName) throws CmsIllegalArgumentException
userName
- the user name to check
CmsIllegalArgumentException
- if the given user name is not validvoid checkZipCode(java.lang.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 |