|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.Action com.jcorporate.expresso.core.controller.Controller com.jcorporate.expresso.core.controller.DBController com.sri.common.controller.AbstractDBController com.sri.common.controller.AbstractComponentController com.sri.emo.wizard.completion.management.CompletionEditor
public class CompletionEditor
Controller that manages completion wizards. This class derives from Component Controller which takes care of the job of assembling all the state handlers and dispatching them. So the AbstractComponentController is now more of a mediator and factory then anything else.
Side note: Of course, standard state handlers may be mixed with this class.
Field Summary |
---|
Fields inherited from class com.sri.common.controller.AbstractComponentController |
---|
REQUEST_CONTAINER |
Fields inherited from class com.sri.common.controller.AbstractDBController |
---|
COLUMN, COMMON_FOOTER_HANDLER, COMMON_HEADER_HANDLER, DELIMIT, EDIT_GROUP_DISPLAY, EMBEDDED_MODE, FOOTER, MAX_CHARS_OUTPUT, MAX_TEXTAREA_LENGTH, MULTIPLE_TEXTAREA_NUM_LINES, ROW, ROW_BLOCK, SESSION_CONTAINER, SINGLE_TEXTAREA_NUM_LINES, TEXTAREA_NUM_COLS, WARNING_LIST |
Fields inherited from class com.jcorporate.expresso.core.controller.DBController |
---|
CACHE_NAME |
Fields inherited from class com.jcorporate.expresso.core.controller.Controller |
---|
CONTROLLER_PARAM_KEY, CTL_SUCC_CTL, CTL_SUCC_STATE, CTL_SUCC_TRAN, mLog, NEWSTATE_EXCEPTION_KEY, ORIGINAL_URL_KEY, REQUEST_KEY, RESPONSE_KEY, RETURN_TO_SENDER_TRAN, STATE_ERR_CTL, STATE_ERR_STATE, STATE_ERR_TRAN, STATE_PARAM_KEY, STATE_SUCC_CTL, STATE_SUCC_STATE, STATE_SUCC_TRAN |
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
CompletionEditor()
Default constructor. |
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. |
Methods inherited from class com.sri.common.controller.AbstractComponentController |
---|
addStateHandler, initializeControllerContainer, locate, locator, newExpressoState, postPerform, prePerform |
Methods inherited from class com.sri.common.controller.AbstractDBController |
---|
addEmbeddedParameter, addWarning, addWarningList, getActionForwarding, getCheckbox, getPermsTrans, getPrettyXML, getTextArea, getTextArea, getWarningList, isEmbeddedMode, isValidAndPopulated, outputXML, populateDBObject, stateAllowed, str, strTrunc, trimAllTextFields |
Methods inherited from class com.jcorporate.expresso.core.controller.DBController |
---|
getString, isAllowed |
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompletionEditor()
Method Detail |
---|
public void add(ExpressoRequest request, ExpressoResponse response) throws ControllerException
add
in interface IWizardManager
request
- ExpressoRequest the request object.response
- ExpressoResponse the response object.
ControllerException
public void edit(WizDefinition wizard, ExpressoRequest request, ExpressoResponse response) throws ControllerException
edit
in interface IWizardManager
wizard
- The WizardDefinition to edit.request
- ExpressoRequest the request object.response
- ExpressoResponse the response object.
ControllerException
- upon error.public void run(WizDefinition wizard, ExpressoRequest request, ExpressoResponse response) throws ControllerException
run
in interface IWizardManager
wizard
- WizDefinitionrequest
- ExpressoRequestresponse
- ExpressoResponse
ControllerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |