com.sri.emo.wizard.wizardgateway
Class RunWizard

java.lang.Object
  extended by com.sri.emo.wizard.wizardgateway.WizardGatewayHandler
      extended by com.sri.emo.wizard.wizardgateway.RunWizard
All Implemented Interfaces:
StateHandler

public class RunWizard
extends WizardGatewayHandler
implements StateHandler

Runs the wizard.

Version:
1.0
Author:
Michael Rimov

Field Summary
static String STATE_DESCRIPTION
          Friendly description of this handler.
static String STATE_NAME
          Name of the State for which this handler deals with.
 
Fields inherited from class com.sri.emo.wizard.wizardgateway.WizardGatewayHandler
owner
 
Constructor Summary
RunWizard(Controller handlerOwner, WizDefinitionRepository myRepository)
          Constructs this particular state handler.
 
Method Summary
 void handleRequest(ExpressoRequest request, ExpressoResponse response)
          Called to handle the request.
 
Methods inherited from class com.sri.emo.wizard.wizardgateway.WizardGatewayHandler
getOwner, getRepository, getWizDef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE_NAME

public static final String STATE_NAME
Name of the State for which this handler deals with.

See Also:
Constant Field Values

STATE_DESCRIPTION

public static final String STATE_DESCRIPTION
Friendly description of this handler.

See Also:
Constant Field Values
Constructor Detail

RunWizard

public RunWizard(Controller handlerOwner,
                 WizDefinitionRepository myRepository)
Constructs this particular state handler.

Parameters:
handlerOwner - Controller the controller that is the parent of this state handler.
myRepository - WizDefinitionRepository the repository to use for data access methods.
Method Detail

handleRequest

public void handleRequest(ExpressoRequest request,
                          ExpressoResponse response)
                   throws DBException,
                          ControllerException
Called to handle the request.

Specified by:
handleRequest in interface StateHandler
Parameters:
request - ControllerRequest The Function's ControllerRequest object.
response - ControllerResponse The Function's ControllerResponse object.
Throws:
DBException - upon underlying database exception error.
ControllerException - upon underlying ControllerException error.


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.