|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sri.emo.wizard.selection.management.AbstractStepHandler
com.sri.emo.wizard.selection.management.PromptSelectModel
public class PromptSelectModel
This state prompts for the model that should be used in locating the attribute to use for building the menus.
| Field Summary | |
|---|---|
static String |
PARAM_MODEL_ID
Id of the input parameter on the form. |
static String |
STATE_DESCRIPTION
Constant for description of this state. |
static String |
STATE_NAME
Constant for access to this state. |
| Fields inherited from class com.sri.emo.wizard.selection.management.AbstractStepHandler |
|---|
ADD_MODE, ATTRIBUTE_SESSION_KEY, EDIT_MODE, PARAM_RETURN_URL |
| Constructor Summary | |
|---|---|
PromptSelectModel(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. |
|
| Method Summary | |
|---|---|
void |
handleRequest(ExpressoRequest request,
ExpressoResponse response)
Called to handle the request. |
| 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 |
| Field Detail |
|---|
public static final String PARAM_MODEL_ID
public static final String STATE_NAME
public static final String STATE_DESCRIPTION
| Constructor Detail |
|---|
public PromptSelectModel(String wizId,
String stepId)
throws DBException
wizId - The Wizard ID (usually an integer)stepId - The Step Id. May be null if there is no step definition.
DBException - upon error.| Method Detail |
|---|
public void handleRequest(ExpressoRequest request,
ExpressoResponse response)
throws DBException,
ControllerException
handleRequest in interface StateHandlerrequest - ExpressoRequest The Function's ExpressoRequest
object.response - ExpressoResponse The Function's ExpressoResponse
object.
DBException - upon underlying database exception error.
ControllerException - upon underlying ControllerException error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||