|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.validation.AbstractValidator<B>
net.sf.doolin.gui.validation.ConfirmPasswordValidator<B>
B - Type of bean for the viewpublic class ConfirmPasswordValidator<B>
Validator used for the validation of a password input.
| Constructor Summary | |
|---|---|
ConfirmPasswordValidator()
|
|
| Method Summary | |
|---|---|
String |
getConfirmPasswordPropertyPath()
Path to the property that contains the confirmation of the password |
String |
getKey()
Key that identifies the password field |
String |
getLabelKey()
Key for the text that defines the password field |
String |
getMsgKey()
Key for the text that defines the validation message |
String |
getPasswordPropertyPath()
Path to the property that contains the password |
void |
setConfirmPasswordPropertyPath(String confirmPasswordPropertyPath)
Path to the property that contains the confirmation of the password |
void |
setKey(String key)
Key that identifies the password field |
void |
setLabelKey(String labelKey)
Key for the text that defines the password field |
void |
setMsgKey(String msgKey)
Key for the text that defines the validation message. |
void |
setPasswordPropertyPath(String passwordPropertyPath)
Path to the property that contains the password |
void |
subscribe(SubscriberValidator validator,
B bean,
Runnable runnable)
Subscribes the validator to the model changes. |
protected void |
validate(GUIValidation validationResult,
B bean)
Validate. |
| Methods inherited from class net.sf.doolin.gui.validation.AbstractValidator |
|---|
getMsgMandatoryKey, isNotBlank, isNotNull, setMsgMandatoryKey, validate, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfirmPasswordValidator()
| Method Detail |
|---|
protected void validate(GUIValidation validationResult,
B bean)
AbstractValidator
validate in class AbstractValidator<B>validationResult - the validation resultbean - the model to validate
public void subscribe(SubscriberValidator validator,
B bean,
Runnable runnable)
GUIValidator
validator - Subscription validatorbean - Model to subscribe torunnable - Task to subscribepublic String getPasswordPropertyPath()
public void setPasswordPropertyPath(String passwordPropertyPath)
passwordPropertyPath - Property pathpublic String getConfirmPasswordPropertyPath()
public void setConfirmPasswordPropertyPath(String confirmPasswordPropertyPath)
confirmPasswordPropertyPath - Property pathpublic String getLabelKey()
public void setLabelKey(String labelKey)
labelKey - Text keypublic String getKey()
public void setKey(String key)
key - Field keypublic String getMsgKey()
public void setMsgKey(String msgKey)
ValidationMsgKeys.MSG_CONFIRM_PASSWORD.
msgKey - Text key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||