|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.action.AbstractAction
org.springframework.webflow.action.SetAction
public class SetAction
An action that sets an attribute in a scope when executed. Always returns the "success" event.
| Field Summary |
|---|
| Fields inherited from class org.springframework.webflow.action.AbstractAction |
|---|
logger |
| Constructor Summary | |
|---|---|
SetAction(Expression nameExpression,
Expression valueExpression)
Creates a new set attribute action. |
|
| Method Summary | |
|---|---|
protected Event |
doExecute(RequestContext context)
Template hook method subclasses should override to encapsulate their specific action execution logic. |
java.lang.String |
toString()
|
| Methods inherited from class org.springframework.webflow.action.AbstractAction |
|---|
afterPropertiesSet, doPostExecute, doPreExecute, error, error, execute, getActionNameForLogging, getEventFactorySupport, initAction, no, result, result, result, result, success, success, yes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SetAction(Expression nameExpression,
Expression valueExpression)
nameExpression - the name of the property to set (required)valueExpression - the expression to obtain the new property value (required) expected| Method Detail |
|---|
protected Event doExecute(RequestContext context)
throws java.lang.Exception
AbstractAction
doExecute in class AbstractActioncontext - the action execution context, for accessing and setting data in "flow scope" or "request scope"
java.lang.Exception - an unrecoverable exception occured, either checked or uncheckedpublic java.lang.String toString()
toString in class java.lang.Object
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||