|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.core.enums.AbstractLabeledEnum
org.springframework.core.enums.StaticLabeledEnum
org.springframework.webflow.execution.ScopeType
public abstract class ScopeType
An enumeration of the core scope types of Spring Web Flow. Provides easy access to each scope by type using
getScope(RequestContext)
.
A "scope" defines a data structure for storing custom user attributes within a flow execution. Different scope types have different semantics in terms of how long attributes placed in those scope maps remain valid.
Field Summary | |
---|---|
static ScopeType |
CONVERSATION
The "conversation" scope type. |
static ScopeType |
FLASH
The "flash" scope type. |
static ScopeType |
FLOW
The "flow" scope type. |
static ScopeType |
REQUEST
The "request" scope type. |
Fields inherited from interface org.springframework.core.enums.LabeledEnum |
---|
CODE_ORDER, DEFAULT_ORDER, LABEL_ORDER |
Method Summary | |
---|---|
abstract MutableAttributeMap |
getScope(RequestContext context)
Accessor that returns the mutable attribute map for this scope type for a given flow execution request context. |
java.lang.Class |
getType()
|
Methods inherited from class org.springframework.core.enums.StaticLabeledEnum |
---|
getCode, getLabel, readResolve, shortValue |
Methods inherited from class org.springframework.core.enums.AbstractLabeledEnum |
---|
compareTo, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ScopeType REQUEST
public static final ScopeType FLASH
Flash scope is typically used to store messages that should be preserved across refreshes of the next view state (for example, on a redirect and any browser refreshes).
public static final ScopeType FLOW
flow definition
. When the flow session ends any data in
flow scope goes out of scope.
public static final ScopeType CONVERSATION
Method Detail |
---|
public java.lang.Class getType()
getType
in interface org.springframework.core.enums.LabeledEnum
getType
in class org.springframework.core.enums.AbstractLabeledEnum
public abstract MutableAttributeMap getScope(RequestContext context)
context
- the context representing an executing request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |