Class ViewStateModel
java.lang.Object
org.springframework.webflow.engine.model.AbstractModel
org.springframework.webflow.engine.model.AbstractStateModel
org.springframework.webflow.engine.model.AbstractTransitionableStateModel
org.springframework.webflow.engine.model.ViewStateModel
- All Implemented Interfaces:
Model
Model support for view states.
- Author:
- Scott Andrews
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a deep copy of this model.getModel()getPopup()getVars()getView()booleanisMergeableWith(Model model) Determine if the model is able to be merged into the current modelvoidMerge the model into the current modelvoidsetBinder(BinderModel binder) voidvoidsetOnRenderActions(LinkedList<AbstractActionModel> onRenderActions) voidvoidsetRedirect(String redirect) voidsetValidationHints(String validationHints) voidsetVars(LinkedList<VarModel> vars) voidMethods inherited from class org.springframework.webflow.engine.model.AbstractTransitionableStateModel
fillCopy, getOnExitActions, getTransitions, setOnExitActions, setTransitionsMethods inherited from class org.springframework.webflow.engine.model.AbstractStateModel
fillCopy, getAttributes, getExceptionHandlers, getId, getOnEntryActions, getParent, getSecured, setAttributes, setExceptionHandlers, setId, setOnEntryActions, setParent, setSecured
-
Constructor Details
-
ViewStateModel
Create a view state model- Parameters:
id- the identifier of the state
-
-
Method Details
-
isMergeableWith
Description copied from interface:ModelDetermine if the model is able to be merged into the current model- Parameters:
model- the model to compare- Returns:
- true if able to merge
-
merge
Description copied from interface:ModelMerge the model into the current model- Parameters:
model- the model to merge with
-
createCopy
Description copied from interface:ModelCreate a deep copy of this model. Needed when merging models and collections.- Returns:
- a deep copy of this model
-
getView
- Returns:
- the view
-
setView
- Parameters:
view- the view to set
-
getRedirect
- Returns:
- the redirect
-
setRedirect
- Parameters:
redirect- the redirect to set
-
getPopup
- Returns:
- the popup
-
setPopup
- Parameters:
popup- the popup to set
-
getModel
- Returns:
- the model
-
setModel
- Parameters:
model- the model to set
-
getValidationHints
-
setValidationHints
-
getVars
- Returns:
- the vars
-
setVars
- Parameters:
vars- the vars to set
-
getBinder
-
setBinder
-
getOnRenderActions
- Returns:
- the on render actions
-
setOnRenderActions
- Parameters:
onRenderActions- the on render actions to set
-