|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICompletionBeanManager
Interface that adapts the CompletionBean to the Webapp Session. (Or other pseudo-session depending on implementation.)
| Method Summary | |
|---|---|
CompletionBean |
createOrRetrieveActionForm(ExpressoRequest request)
Creates or retrieves the action form. |
void |
destroyActionForm(ExpressoRequest request)
Destroys the completion bean from the session. |
CompletionBean |
getActionForm(ExpressoRequest request)
Retrieve an action form. |
boolean |
handleSessionTimeout(ExpressoRequest request,
ExpressoResponse response)
Checks if session has timed out and redirects to 'list wizards' state if it has. |
void |
setCompletionBean(ExpressoRequest request,
CompletionBean wizardBeanToSave)
Saves the specified completion bean to session. |
ErrorCollection |
validate(ExpressoRequest request,
ErrorCollection errorsToAdd)
Validate the bean and return any action errors. |
| Method Detail |
|---|
CompletionBean createOrRetrieveActionForm(ExpressoRequest request)
throws ControllerException
request - ControllerRequest
ControllerException
void destroyActionForm(ExpressoRequest request)
throws ControllerException
request - ControllerRequest
ControllerException
CompletionBean getActionForm(ExpressoRequest request)
throws ControllerException
request - ControllerRequest
ControllerException
boolean handleSessionTimeout(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException,
NonHandleableException
request - The ControllerRequest handed to us by the framework.response - ControllerResponse handed to us by the framework.
ControllerException
NonHandleableException
ErrorCollection validate(ExpressoRequest request,
ErrorCollection errorsToAdd)
throws ControllerException
request - ControllerRequesterrorsToAdd - ErrorCollection
ControllerException - upon error.
void setCompletionBean(ExpressoRequest request,
CompletionBean wizardBeanToSave)
throws ControllerException
request - the ExpressoRequest that contains the session.wizardBeanToSave - CompletionBean
ControllerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||