|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ValidationContext
A context for a validator to use to access user data and report validation failures.
| Method Summary | |
|---|---|
MessageContext |
getMessageContext()
A context for adding failure messages to display to the user directly. |
String |
getUserEvent()
The current user event that triggered validation. |
Principal |
getUserPrincipal()
The current user. |
Object |
getUserValue(String property)
Obtain the value entered by the current user in the UI field bound to the property provided. |
| Method Detail |
|---|
MessageContext getMessageContext()
Principal getUserPrincipal()
String getUserEvent()
Object getUserValue(String property)
property - the name of a bound property
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||