com.sri.emo.wizard.selection.management
Class PromptModelField
java.lang.Object
com.sri.emo.wizard.selection.management.AbstractStepHandler
com.sri.emo.wizard.selection.management.EditFinalState
com.sri.emo.wizard.selection.management.PromptModelField
- All Implemented Interfaces:
- StateHandler
public class PromptModelField
- extends EditFinalState
- implements StateHandler
This handler is called when the user indicates that the picklist to use
is based on an attribute defined in the model. It displays the common attributes
of all wizard steps, as well as a list of all fields available for viewing.
- Author:
- Michael Rimov
Constructor Summary |
PromptModelField(String wizId,
String stepId)
Constructor that takes a wizard id and a step id and forms its internal
state, allowing for easy retrieval of database objects from subclasses. |
Methods inherited from class com.sri.emo.wizard.selection.management.AbstractStepHandler |
buildCancelTransition, getDefinition, getStep, getStepFromParameters, getStepName, getStepTitle, getWizardTitle, isEditing, parseStepAttributes, setEditing, transitionOnError |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATE_NAME
public static final String STATE_NAME
- Constant for access to this state.
- See Also:
- Constant Field Values
STATE_DESCRIPTION
public static final String STATE_DESCRIPTION
- Constant for description of this state.
- See Also:
- Constant Field Values
PromptModelField
public PromptModelField(String wizId,
String stepId)
throws DBException
- Constructor that takes a wizard id and a step id and forms its internal
state, allowing for easy retrieval of database objects from subclasses.
- Parameters:
wizId
- The Wizard ID (usually an integer)stepId
- The Step Id. May be null if there is no step definition.
- Throws:
DBException
- upon error.
handleRequest
public void handleRequest(ExpressoRequest request,
ExpressoResponse response)
throws DBException,
ControllerException
- Called to handle the request.
- Specified by:
handleRequest
in interface StateHandler
- Parameters:
request
- ExpressoRequest The Function's ExpressoRequest
object.response
- ExpressoResponse The Function's ExpressoResponse
object.
- Throws:
DBException
- upon underlying database exception error.
ControllerException
- upon underlying ControllerException error.
Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.