com.sri.emo.wizard
Interface IWizardManager

All Known Implementing Classes:
CompletionEditor, CreationEditor, SelectionWizardManager

public interface IWizardManager

Common interface for all wizard managers regardless of wizard type. The WizardGateway object dispatches to the wizard managers based on the data entered in the Wizard definition object. Essentially it provides a sort of Strategy object to allow multiple types of wizards to be hooked under a common management interface.

Version:
1.0
Author:
Michael Rimov

Method Summary
 void add(ExpressoRequest request, ExpressoResponse response)
          Begins an 'add' end-user transaction to create a new wizard.
 void edit(WizDefinition wizard, ExpressoRequest request, ExpressoResponse response)
          Begins an 'edit' end-user transaction to edit an existing wizard.
 void run(WizDefinition wizard, ExpressoRequest request, ExpressoResponse response)
          Runs the wizard that the manager is associated with.
 

Method Detail

add

void add(ExpressoRequest request,
         ExpressoResponse response)
         throws ControllerException
Begins an 'add' end-user transaction to create a new wizard.

Parameters:
request - ExpressoRequest the request object.
response - ExpressoResponse the response object.
Throws:
ControllerException

edit

void edit(WizDefinition wizard,
          ExpressoRequest request,
          ExpressoResponse response)
          throws ControllerException
Begins an 'edit' end-user transaction to edit an existing wizard.

Parameters:
wizard - The WizardDefinition to edit.
request - ExpressoRequest the request object.
response - ExpressoResponse the response object.
Throws:
ControllerException - upon error.

run

void run(WizDefinition wizard,
         ExpressoRequest request,
         ExpressoResponse response)
         throws ControllerException
Runs the wizard that the manager is associated with.

Parameters:
wizard - WizDefinition
request - ExpressoRequest
response - ExpressoResponse
Throws:
ControllerException


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