|
Expresso 5-6 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use ControllerResponse | |
| com.jcorporate.expresso.core.controller | This package contains the object defining the "Controller" object, an important component of Expresso that should be used to encapsulate all user interaction sequences. |
| com.jcorporate.expresso.core.servlet.viewhandler | Servlets to render the View. |
| com.jcorporate.expresso.ext.controller | Controllers that are optional to Expresso. |
| com.jcorporate.expresso.ext.struts.taglib | This package contains tag libraries that correspond to the Struts Library tags. |
| com.jcorporate.expresso.ext.taglib | This package contains an abundance of Expresso specific tags. |
| com.jcorporate.expresso.ext.xml.controller | Contains a controller object for importing and export DBObject data into XML formats. |
| com.jcorporate.expresso.services.controller.configuration | |
| com.jcorporate.expresso.services.controller.dbmaint | This package contains the various State objects that make up the "Model" of the DBMaint controller. |
| com.jcorporate.expresso.services.controller.ui | Objects that provide an automatic user interface rendering capability to the system |
| com.jcorporate.expresso.services.test | Contains classes that assist in unit testing using JUnit and Cactus testing. |
| com.jcorporate.expresso.services.validation | This package provides for a 'validation framework'. |
| Uses of ControllerResponse in com.jcorporate.expresso.core.controller |
| Subclasses of ControllerResponse in com.jcorporate.expresso.core.controller | |
class |
ServletControllerResponse
A ServletControllerResponse object is an extension that provides wide access to the pure Struts API and Servlet environment. |
| Fields in com.jcorporate.expresso.core.controller declared as ControllerResponse | |
protected ControllerResponse |
ControllerInstallLog.response
|
| Methods in com.jcorporate.expresso.core.controller that return ControllerResponse | |
ControllerResponse |
Controller.newState(String newState,
ControllerRequest myRequest)
This is the method where all of the real work of the controller is done. |
ControllerResponse |
Controller.setCurrentState(String newState,
ControllerRequest params)
Convenience method to be able to access the state as a property from a JSP. |
static ControllerResponse |
ControllerResponse.fromXML(org.w3c.dom.Node n)
Assemble a ControllerResponse from an xml document (may be document fragment). |
protected ControllerResponse |
Transition.newStateDispatch(ControllerRequest request)
This method invokes a new controller by dispatching to it rather than calling it directly. |
ControllerResponse |
Transition.transition(ControllerRequest req,
ControllerResponse res)
Run this transition - e.g. transition to the new state of the specified controller object immediately, setting the specified response to the response of this new controller/state, discarding any previous response |
ControllerResponse |
Transition.transition(ControllerRequest req,
ControllerResponse res,
boolean clear)
Run this transition - e.g. transition to the new state of the specified controller object immediately, setting the specified response to the response of this new controller/state, discarding any previous response (if "clear" is specified) NB: all parameters in the original request are discarded, except those that are explicit params added to this Transition. |
ControllerResponse |
State.getResponse()
|
protected ControllerResponse |
State.getControllerResponse()
Retrieves the ControllerResponse object associated with this state |
protected ControllerResponse |
ControllerElement.getControllerResponse()
|
| Methods in com.jcorporate.expresso.core.controller with parameters of type ControllerResponse | |
protected void |
Controller.addPromptTransitions(State nextState,
ControllerResponse response)
If nextState is a prompt state (as determined by the addStatePairing method) then add a 'next' and 'previous' transitions as required. |
protected void |
Controller.prePerform(State nextState,
ControllerRequest request,
ControllerResponse response)
Template Method, allowing a subclass to do an action after any state in this controller is performed. |
protected void |
Controller.postPerform(State nextState,
ControllerRequest request,
ControllerResponse response)
Template Method, allowing a subclass to into actions after the invocation of any state in this controller. |
protected org.apache.struts.action.ActionForward |
Controller.getActionForward(ServletControllerRequest req,
org.apache.struts.config.ActionConfig mapping,
ControllerResponse res)
Determine the forward appropriate for this controller/state, either from parameters or from configuration files, or from remapping based on past extensions like .xsl |
protected Transition |
Controller.processTransitions(ControllerRequest request,
ControllerResponse response,
State nextState)
This method is the traffic cop that determines which transition to execute after a state completes. |
protected void |
Controller.transition(String newState,
ControllerRequest req,
ControllerResponse res)
|
protected void |
Controller.transition(String newState,
Class externalController,
ControllerRequest req,
ControllerResponse res)
convenience method for transition to other controller |
protected void |
Controller.transition(String newState,
ControllerRequest req,
ControllerResponse res,
boolean clear)
Transition to an internal state. |
void |
Controller.redirectRequest(ControllerRequest request,
ControllerResponse response,
String redirectURL)
redirect response so that URL changes in client browser |
void |
Transition.enableReturnToSender(ControllerResponse response)
Call this method when the state/controller being transitioned to should return control back to the calling state once it has 'completed' successfully. |
ControllerResponse |
Transition.transition(ControllerRequest req,
ControllerResponse res)
Run this transition - e.g. transition to the new state of the specified controller object immediately, setting the specified response to the response of this new controller/state, discarding any previous response |
void |
Transition.redirectTransition(ControllerRequest request,
ControllerResponse response)
Transition to a new controller and state by issuing a Redirect
request to the browser. |
ControllerResponse |
Transition.transition(ControllerRequest req,
ControllerResponse res,
boolean clear)
Run this transition - e.g. transition to the new state of the specified controller object immediately, setting the specified response to the response of this new controller/state, discarding any previous response (if "clear" is specified) NB: all parameters in the original request are discarded, except those that are explicit params added to this Transition. |
void |
Transition.setControllerResponse(ControllerResponse newResponse)
Override of the normal setControllerResponse so that the HttpServletResponse is also set for this particular transition. |
protected void |
State.setResponse(ControllerResponse res)
Set the ControllerResponse object associated with this state |
void |
State.run(ControllerRequest newRequest,
ControllerResponse newResponse)
A state may implement a "run" method to actually perform it's logic by overriding this method. |
void |
State.perform(StateForm stateForm,
ControllerRequest newRequest,
ControllerResponse newResponse)
A state may implement a "perform" method to actually perform it's logic by overriding this method. |
protected void |
State.transition(String newState,
ControllerRequest req,
ControllerResponse res)
|
void |
TilesController.execute(org.apache.struts.tiles.ComponentContext context,
ControllerRequest request,
ControllerResponse response,
ServletContext servletContext)
This method will be called by the perform() method. |
void |
Input.setDefaultValue(ControllerResponse response)
Convenience method to quickly set the default value from the form cache. |
void |
ControllerElement.setControllerResponse(ControllerResponse newResponse)
Called by the ControllerResponse to hand itself back to this element so that it can be accessed by the elements as required |
| Constructors in com.jcorporate.expresso.core.controller with parameters of type ControllerResponse | |
ControllerInstallLog(ControllerResponse theResponse)
Constructs a ControllerInstallLog and sets the ControllerResponse that we will be using to add the outputs to. |
|
| Uses of ControllerResponse in com.jcorporate.expresso.core.servlet.viewhandler |
| Methods in com.jcorporate.expresso.core.servlet.viewhandler with parameters of type ControllerResponse | |
void |
XMLViewHandler.handleView(ControllerResponse con,
HttpServletRequest req,
HttpServletResponse res)
Handle the Controller by producing XML output, transforming via a specified XSL stylesheet Creation date: (8/3/00 5:22:58 PM) |
void |
DefaultViewHandler.handleView(ControllerResponse con,
HttpServletRequest req,
HttpServletResponse res)
Display the response from a controller with a "default" view generated in HTML |
protected void |
DefaultViewHandler.printDisplay(ControllerResponse con,
HttpServletRequest request,
HttpServletResponse response,
Page p)
Separate to allow overriding for different types of rendering. |
abstract void |
ViewHandler.handleView(ControllerResponse con,
HttpServletRequest req,
HttpServletResponse res)
The ViewHandler implementation must implement only this method |
protected void |
ExcelViewHandler.printDisplay(ControllerResponse con,
HttpServletRequest request,
HttpServletResponse response,
Page p)
Separate to allow overriding for different types of rendering. |
void |
JSPViewHandler.handleView(ControllerResponse con,
HttpServletRequest req,
HttpServletResponse res)
Process a Controller with an explicitly specified "view" |
| Uses of ControllerResponse in com.jcorporate.expresso.ext.controller |
| Methods in com.jcorporate.expresso.ext.controller that return ControllerResponse | |
ControllerResponse |
RunTests.newState(String newState,
ControllerRequest params)
Transition to a new state |
protected ControllerResponse |
ServeTextFile.runServeTextFileState(ControllerRequest request,
ControllerResponse response)
Serves up a basic text file as specified by the parameter. |
protected ControllerResponse |
ServeTextFile.runServeJavaFileState(ControllerRequest request,
ControllerResponse response)
Serves up a java source file as specified by the parameter. |
protected ControllerResponse |
ComponentManager.runListState(ControllerRequest request,
ControllerResponse response)
Lists the currently installed Schemas |
protected ControllerResponse |
ComponentManager.runPromptAddState(ControllerRequest request,
ControllerResponse response)
|
protected ControllerResponse |
ComponentManager.runProcessAddState(ControllerRequest request,
ControllerResponse response)
|
protected ControllerResponse |
ComponentManager.runComponentDetailsState(ControllerRequest request,
ControllerResponse response)
Lists the details of a particular schema component. |
protected ControllerResponse |
ComponentManager.runPromptDeleteState(ControllerRequest request,
ControllerResponse response)
|
protected ControllerResponse |
ComponentManager.runProcessDeleteState(ControllerRequest request,
ControllerResponse response)
|
protected ControllerResponse |
Download.runBeginState(ControllerRequest request,
ControllerResponse response)
Starts a download for a file. |
protected ControllerResponse |
Download.runListState(ControllerRequest request,
ControllerResponse response)
Lists the files available for download. |
protected ControllerResponse |
Download.runDownloadState(ControllerRequest controllerRequest,
ControllerResponse controllerResponse)
Returns the file actually requested by the user. |
ControllerResponse |
HealthCheck.newState(String newState,
ControllerRequest params)
Transition to a new state |
ControllerResponse |
TestController.newState(String newState,
ControllerRequest params)
Standard method to select the appropriate next state as the controller moves from state to state. |
| Methods in com.jcorporate.expresso.ext.controller with parameters of type ControllerResponse | |
protected ControllerResponse |
ServeTextFile.runServeTextFileState(ControllerRequest request,
ControllerResponse response)
Serves up a basic text file as specified by the parameter. |
protected ControllerResponse |
ServeTextFile.runServeJavaFileState(ControllerRequest request,
ControllerResponse response)
Serves up a java source file as specified by the parameter. |
protected ControllerResponse |
ComponentManager.runListState(ControllerRequest request,
ControllerResponse response)
Lists the currently installed Schemas |
protected ControllerResponse |
ComponentManager.runPromptAddState(ControllerRequest request,
ControllerResponse response)
|
protected ControllerResponse |
ComponentManager.runProcessAddState(ControllerRequest request,
ControllerResponse response)
|
protected ControllerResponse |
ComponentManager.runComponentDetailsState(ControllerRequest request,
ControllerResponse response)
Lists the details of a particular schema component. |
protected ControllerResponse |
ComponentManager.runPromptDeleteState(ControllerRequest request,
ControllerResponse response)
|
protected void |
ComponentManager.runVerifyInstallState(ControllerRequest request,
ControllerResponse response)
|
protected ArrayList |
ComponentManager.parseMarkedClassNames(ControllerRequest request,
ControllerResponse response)
|
protected ControllerResponse |
ComponentManager.runProcessDeleteState(ControllerRequest request,
ControllerResponse response)
|
void |
RunSQL.runPromptState(ControllerRequest request,
ControllerResponse response)
Present a form requesting the SQL to be executed |
void |
RunSQL.runGetDefinitionState(ControllerRequest request,
ControllerResponse response)
Prints the definition of a given table. |
void |
RunSQL.runRunState(ControllerRequest req,
ControllerResponse res)
Receive the SQL request from the client & send it to the database for execution. |
protected ControllerResponse |
Download.runBeginState(ControllerRequest request,
ControllerResponse response)
Starts a download for a file. |
protected ControllerResponse |
Download.runListState(ControllerRequest request,
ControllerResponse response)
Lists the files available for download. |
protected ControllerResponse |
Download.runDownloadState(ControllerRequest controllerRequest,
ControllerResponse controllerResponse)
Returns the file actually requested by the user. |
protected String |
Download.getDownloadTime(ControllerResponse response,
long fileLength)
Returns a string estimating download time at 28.8k This function assumes a download rate of 5 Mb / minute |
protected void |
Download.runViewNotesState(ControllerRequest request,
ControllerResponse response)
View the notes associated with the download. |
protected void |
DataTransfer.runSelSchemaState(ControllerRequest req,
ControllerResponse res)
|
protected void |
DataTransfer.runPromptState(ControllerRequest req,
ControllerResponse res)
|
protected void |
DataTransfer.runTransferState(ControllerRequest req,
ControllerResponse res)
|
protected void |
ReportServer.runProcessReportState(ControllerRequest request,
ControllerResponse response)
Process the actual report. |
protected void |
ReportServer.runPromptState(ControllerRequest request,
ControllerResponse response)
Runs the Prompt state |
protected void |
ReportServer.runSelectReportState(ControllerRequest request,
ControllerResponse response)
Runs the Prompt state |
protected void |
ReportServer.runSetParametersState(ControllerRequest request,
ControllerResponse response)
Selects the report output format, if it is a MultiFormatted Report, and if not, provide a few parameters. |
protected void |
TestController.runTransition2FormTestState(ControllerRequest request,
ControllerResponse response)
test a transition to a controller/state which requires a form |
protected void |
TestController.runTransitionTestState(ControllerRequest request,
ControllerResponse response)
test a transition to a controller/state note that the ControllerSecurityMatrix output uses the default layout, so the title at the top of that page will show this test controller. |
protected void |
TestController.runPromptTestState(ControllerRequest request,
ControllerResponse response)
test a transition to a controller/state which requires a form |
protected void |
TestController.runTransitionFromFormTestState(ControllerRequest request,
ControllerResponse response)
test a transition from a controller/state which uses a form to one that does not use a form |
| Uses of ControllerResponse in com.jcorporate.expresso.ext.struts.taglib |
| Methods in com.jcorporate.expresso.ext.struts.taglib that return ControllerResponse | |
static ControllerResponse |
ControllerUtils.getResponse(PageContext pageContext)
Get the current ControllerResponse object from the session |
| Uses of ControllerResponse in com.jcorporate.expresso.ext.taglib |
| Fields in com.jcorporate.expresso.ext.taglib declared as ControllerResponse | |
protected ControllerResponse |
ExpressoTagSupport.ctlrResp
|
protected ControllerResponse |
ExpressoBodyTagSupport.ctlrResp
|
| Uses of ControllerResponse in com.jcorporate.expresso.ext.xml.controller |
| Methods in com.jcorporate.expresso.ext.xml.controller that return ControllerResponse | |
ControllerResponse |
XMLController.newState(String newState,
ControllerRequest req)
Old-Style State switching method. |
| Uses of ControllerResponse in com.jcorporate.expresso.services.controller.configuration |
| Methods in com.jcorporate.expresso.services.controller.configuration with parameters of type ControllerResponse | |
void |
ShowComponent.run(ControllerRequest request,
ControllerResponse response)
|
void |
ShowComponent.displayNoRuntime(ControllerRequest requset,
ControllerResponse response)
|
void |
ShowContainerTree.run(ControllerRequest request,
ControllerResponse response)
|
protected void |
CreateSettingsWizard.runStartState(ControllerRequest request,
ControllerResponse response)
Initialize Wizard and prepare runtime state. |
protected void |
CreateSettingsWizard.runRuntimeNameState(ControllerRequest request,
ControllerResponse response)
Prompt for a runtime name |
protected void |
CreateSettingsWizard.runProcessRuntimeNameState(ControllerRequest request,
ControllerResponse response)
Process and validates the input of the runtime state. |
protected void |
CreateSettingsWizard.runPromptDBSettingsState(ControllerRequest request,
ControllerResponse response)
|
protected void |
CreateSettingsWizard.runProcessDBSettingsState(ControllerRequest request,
ControllerResponse response)
Processes and validates the DB Settings. |
protected void |
CreateSettingsWizard.runPromptJNDISettingsState(ControllerRequest request,
ControllerResponse response)
|
protected void |
CreateSettingsWizard.runProcessJNDISettingsState(ControllerRequest request,
ControllerResponse response)
|
protected void |
CreateSettingsWizard.runReadDatabaseNotesState(ControllerRequest request,
ControllerResponse response)
|
protected void |
CreateSettingsWizard.runPromptTestSettingsState(ControllerRequest request,
ControllerResponse response)
|
protected void |
CreateSettingsWizard.runTestSettingsState(ControllerRequest request,
ControllerResponse response)
|
protected void |
CreateSettingsWizard.runPromptInstallExpressoState(ControllerRequest request,
ControllerResponse response)
|
protected void |
CreateSettingsWizard.runInstallExpressoState(ControllerRequest request,
ControllerResponse response)
|
protected void |
CreateSettingsWizard.runPromptFinishedState(ControllerRequest request,
ControllerResponse response)
|
protected void |
CreateSettingsWizard.runSaveFileLocalState(ControllerRequest request,
ControllerResponse response)
|
protected void |
CreateSettingsWizard.runViewFileState(ControllerRequest request,
ControllerResponse response)
|
protected void |
CreateSettingsWizard.runCompleteState(ControllerRequest request,
ControllerResponse response)
|
protected void |
UpgradeSettingsWizard.runStartState(ControllerRequest request,
ControllerResponse response)
|
| Uses of ControllerResponse in com.jcorporate.expresso.services.controller.dbmaint |
| Methods in com.jcorporate.expresso.services.controller.dbmaint with parameters of type ControllerResponse | |
void |
Update.run(ControllerRequest req,
ControllerResponse res)
Perform the actions of this state. |
void |
ViewBlob.run(ControllerRequest newRequest,
ControllerResponse newResponse)
Download the BLOB field. |
protected void |
ViewBlob.sendBlobField(ControllerRequest newRequest,
ControllerResponse newResponse,
JDBCDataObject dbobj,
String fieldName)
Sends a BLOB field to the client browser. |
protected void |
ViewBlob.sendMediaObjectField(ControllerRequest newRequest,
ControllerResponse newResponse,
MediaDBObject dbobj,
String fieldName)
Sends a Media DBObject's BLOB fields to the client. |
void |
Add.run(ControllerRequest req,
ControllerResponse res)
Actually perform the setup and display of the form |
void |
AddUpdate.run(ControllerRequest req,
ControllerResponse res)
Performs the real work for this class. |
void |
List.run(ControllerRequest req,
ControllerResponse res)
Perform the actions of this state. |
void |
UpdateDelete.run(ControllerRequest req,
ControllerResponse res)
Perform the actions of this state. |
void |
SearchList.run(ControllerRequest req,
ControllerResponse res)
Perform the actions of this state. |
void |
UpdateUpdate.run(ControllerRequest req,
ControllerResponse res)
Perform the actions of this state. |
void |
DynamicCmd.run(ControllerRequest newParams,
ControllerResponse newResponse)
All of the sub-classes of DynamicCmd extend the run method to perform their functionality. |
void |
Search.run(ControllerRequest req,
ControllerResponse res)
Perform the actions of this state. |
| Uses of ControllerResponse in com.jcorporate.expresso.services.controller.ui |
| Methods in com.jcorporate.expresso.services.controller.ui with parameters of type ControllerResponse | |
Input |
AutoControllerElement.renderDBObjectField(ControllerResponse response,
DataObject dbobj,
String fieldName,
String defaultValue,
boolean readOnly)
Renders an Input in a update method per field name. |
Block |
AutoControllerElement.createDBObjectBlock(ControllerRequest request,
ControllerResponse response,
DataObject dbobj)
Creates a DBObject Block that contains all the non-secret fields for the DBObject. |
Block |
AutoControllerElement.createDBObjectBlock(ControllerRequest request,
ControllerResponse response,
String title,
DataObject dbobj)
Creates a DBObject Block that contains all the non-secret fields for the DBObject. |
Block |
DefaultAutoElement.createDBObjectBlock(ControllerRequest request,
ControllerResponse response,
DataObject dbobj)
Creates a DBObject Block that contains all the non-secret fields for the DBObject. |
Block |
DefaultAutoElement.createDBObjectBlock(ControllerRequest request,
ControllerResponse response,
String title,
DataObject dbobj)
Creates a DBObject Block that contains all the non-secret fields for the DBObject. |
protected void |
DefaultAutoElement.retrieveCachedValueInForm(ControllerResponse response,
String oneFieldName,
Input i)
Used to set values in created db objects to the values found (if any) in the form cache. |
Input |
DefaultAutoElement.renderDBObjectField(ControllerResponse response,
DataObject dbobj,
String fieldName,
String cachedValue,
boolean readOnly)
Renders a DBOBject Field as either an Input or an Output. |
protected Input |
DefaultAutoElement.renderReadOnlyInput(ControllerResponse response,
Input oneField,
DataObject dbobj,
String fieldName,
String oneFieldValue)
Modifies an already instantiated Input to be a finished read only control. |
protected void |
DefaultAutoElement.renderReadWriteBlob(ControllerResponse response,
Input oneField,
DataObject dbobj,
String fieldName,
String oneFieldValue,
String oneFieldSize)
Modifies an already instantiated Input to be a finished Input control specifically for a blob field. |
protected Input |
DefaultAutoElement.renderReadWriteInput(ControllerResponse response,
Input oneField,
DataObject dbobj,
String fieldName,
String oneFieldValue,
String oneFieldSize)
Modifies an already instantiated Input to be a finished Input control |
protected void |
CacheAutoElement.retrieveCachedValueInForm(ControllerResponse response,
String oneFieldName,
Input i)
Used to set values in created db objects to the values found (if any) in the form cache. |
| Uses of ControllerResponse in com.jcorporate.expresso.services.test |
| Methods in com.jcorporate.expresso.services.test that return ControllerResponse | |
ControllerResponse |
ControllerTestCase.buildControllerResponse(org.w3c.dom.Document d)
Deprecated. |
ControllerResponse |
ControllerTestCase.buildControllerResponse(org.apache.cactus.WebResponse theConnection)
Deprecated. |
ControllerResponse |
ControllerTestCase.controllerProcess()
Run the target controller. |
| Uses of ControllerResponse in com.jcorporate.expresso.services.validation |
| Methods in com.jcorporate.expresso.services.validation that return ControllerResponse | |
ControllerResponse |
LoginEmailValidator.validated(Hashtable params,
ControllerRequest request,
ControllerResponse response,
Controller ctlr)
This method is used to transition back to the "emailValidate" state of the registration controller which then completes the user's registration and sends out the email notification of succesful registration. |
ControllerResponse |
ChangePasswordValidator.validated(Hashtable params,
ControllerRequest request,
ControllerResponse response,
Controller ctlr)
This method is used to regenerate an users password after the validation is successful. |
ControllerResponse |
ValidationHandler.validated(Hashtable params,
ControllerRequest request,
ControllerResponse response,
Controller ctlr)
This method is used to complete the application-specific action after the validation is successful. |
ControllerResponse |
ApproveRegistrationValidator.validated(Hashtable params,
ControllerRequest request,
ControllerResponse response,
Controller ctlr)
This method is used after the approver is validated. |
| Methods in com.jcorporate.expresso.services.validation with parameters of type ControllerResponse | |
ControllerResponse |
LoginEmailValidator.validated(Hashtable params,
ControllerRequest request,
ControllerResponse response,
Controller ctlr)
This method is used to transition back to the "emailValidate" state of the registration controller which then completes the user's registration and sends out the email notification of succesful registration. |
ControllerResponse |
ChangePasswordValidator.validated(Hashtable params,
ControllerRequest request,
ControllerResponse response,
Controller ctlr)
This method is used to regenerate an users password after the validation is successful. |
ControllerResponse |
ValidationHandler.validated(Hashtable params,
ControllerRequest request,
ControllerResponse response,
Controller ctlr)
This method is used to complete the application-specific action after the validation is successful. |
ControllerResponse |
ApproveRegistrationValidator.validated(Hashtable params,
ControllerRequest request,
ControllerResponse response,
Controller ctlr)
This method is used after the approver is validated. |
|
Expresso 5-6 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||