|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.validation.DefaultValidationContext
public class DefaultValidationContext
| Constructor Summary | |
|---|---|
DefaultValidationContext(RequestContext requestContext,
java.lang.String eventId,
MappingResults mappingResults)
|
|
| Method Summary | |
|---|---|
MessageContext |
getMessageContext()
A context for adding failure messages to display to the user directly. |
java.lang.String |
getUserEvent()
The current user event that triggered validation. |
java.security.Principal |
getUserPrincipal()
The current user. |
java.lang.Object |
getUserValue(java.lang.String property)
Obtain the value entered by the current user in the UI field bound to the property provided. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultValidationContext(RequestContext requestContext,
java.lang.String eventId,
MappingResults mappingResults)
| Method Detail |
|---|
public MessageContext getMessageContext()
ValidationContext
getMessageContext in interface ValidationContextpublic java.lang.String getUserEvent()
ValidationContext
getUserEvent in interface ValidationContextpublic java.security.Principal getUserPrincipal()
ValidationContext
getUserPrincipal in interface ValidationContextpublic java.lang.Object getUserValue(java.lang.String property)
ValidationContext
getUserValue in interface ValidationContextproperty - the name of a bound property
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||