| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sri.emo.wizard.creation.management.CreationBeanManager
public class CreationBeanManager
Class for managing the completion bean in the session.
| Field Summary | |
|---|---|
static String | 
BEAN_NAME
Attribute name for what is stored in the session.  | 
| Constructor Summary | |
|---|---|
CreationBeanManager()
Default constructor.  | 
|
| Method Summary | |
|---|---|
 CreationBeans | 
createOrRetrieveActionForm(ExpressoRequest request)
Creates or retrieves the action form.  | 
 void | 
destroyActionForm(ExpressoRequest request)
Destroys the completion bean from the session.  | 
 CreationBeans | 
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,
                  CreationBeans wizardBeanToSave)
Saves the specified completion bean to session.  | 
 ErrorCollection | 
validate(ExpressoRequest request,
         ErrorCollection errorsToAdd)
Validate the bean and return any action errors.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final String BEAN_NAME
| Constructor Detail | 
|---|
public CreationBeanManager()
| Method Detail | 
|---|
public boolean handleSessionTimeout(ExpressoRequest request,
                                    ExpressoResponse response)
                             throws ControllerException
ICreationBeanManager
handleSessionTimeout in interface ICreationBeanManagerrequest - The ControllerRequest handed to us by the framework.response - ControllerResponse handed to us by the framework.
ControllerException
public CreationBeans createOrRetrieveActionForm(ExpressoRequest request)
                                         throws ControllerException
ICreationBeanManager
createOrRetrieveActionForm in interface ICreationBeanManagerrequest - ControllerRequest
ControllerException
public CreationBeans getActionForm(ExpressoRequest request)
                            throws ControllerException
ICreationBeanManager
getActionForm in interface ICreationBeanManagerrequest - ControllerRequest
ControllerException
public void destroyActionForm(ExpressoRequest request)
                       throws ControllerException
ICreationBeanManager
destroyActionForm in interface ICreationBeanManagerrequest - ControllerRequest
ControllerException
public ErrorCollection validate(ExpressoRequest request,
                                ErrorCollection errorsToAdd)
                         throws ControllerException
ICreationBeanManager
validate in interface ICreationBeanManagerrequest - ControllerRequesterrorsToAdd - ErrorCollection
ControllerException - upon error.
public void setCompletionBean(ExpressoRequest request,
                              CreationBeans wizardBeanToSave)
                       throws ControllerException
ICreationBeanManager
setCompletionBean in interface ICreationBeanManagerrequest - 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 | |||||||||