|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sri.emo.wizard.selection.management.AbstractStepHandler com.sri.emo.wizard.selection.management.StepDefinition
public abstract class StepDefinition
Base class for step definitions. This is the final step in defining a wizard step and it takes Title, Directive, and Helptext as a minimum for data entry.
Field Summary | |
---|---|
static String |
PARAM_DIRECTIVE_ID
The parameter name of the directive parameter. |
static String |
PARAM_HELPTEXT_ID
The parameter name of the helptext parameter. |
static String |
PARAM_NAME_ID
The parameter name of the title parameter. |
Fields inherited from class com.sri.emo.wizard.selection.management.AbstractStepHandler |
---|
ADD_MODE, ATTRIBUTE_SESSION_KEY, EDIT_MODE, PARAM_RETURN_URL |
Constructor Summary | |
---|---|
StepDefinition(String wizId,
String stepId)
Default Constructor. |
Method Summary | |
---|---|
protected WizStep |
getStep()
Retrieve the current step. |
void |
handleRequest(ExpressoRequest request,
ExpressoResponse response)
Base class parses some parameters and loads the step definition based on that. |
Methods inherited from class com.sri.emo.wizard.selection.management.AbstractStepHandler |
---|
buildCancelTransition, getDefinition, 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_NAME_ID
public static final String PARAM_DIRECTIVE_ID
public static final String PARAM_HELPTEXT_ID
Constructor Detail |
---|
public StepDefinition(String wizId, String stepId) throws DBException
wizId
- the Wizard id we're working with.stepId
- the Step Id we're working with. (May be null for no step)
DBException
- upon DBObject construction/retrieval error.Method Detail |
---|
public void handleRequest(ExpressoRequest request, ExpressoResponse response) throws DBException, ControllerException
handleRequest
in interface StateHandler
request
- ControllerRequestresponse
- ControllerResponse
DBException
- upon database error.
ControllerException
- upon controller error.protected WizStep getStep()
getStep
in class AbstractStepHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |