|
|||||||||
| Home >> All >> com >> RuntimeCollective >> questionnaire >> [ action overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.RuntimeCollective.questionnaire.action
Class ProcessQuestionnaireAction

java.lang.ObjectBaseAction
com.RuntimeCollective.webapps.action.BaseForwardAction
com.RuntimeCollective.webapps.action.BaseUserAction
com.RuntimeCollective.permission.action.PermissibleAction
com.RuntimeCollective.permission.action.AuthenticatedAction
com.RuntimeCollective.questionnaire.action.ProcessQuestionnaireAction
- public class ProcessQuestionnaireAction
- extends com.RuntimeCollective.permission.action.AuthenticatedAction
Implementation of Action to process a QuestionnaireForm.
- Version:
- $Id: ProcessQuestionnaireAction.java,v 1.12 2003/09/30 15:12:53 joe Exp $
| Field Summary |
| Fields inherited from class com.RuntimeCollective.permission.action.PermissibleAction |
DENIED, NOT_AUTH |
| Fields inherited from class com.RuntimeCollective.webapps.action.BaseUserAction |
USER_KEY |
| Fields inherited from class com.RuntimeCollective.webapps.action.BaseForwardAction |
CANCEL, FAILURE, FAILURE_KEY, INVALID, ITERATE, SUCCESS, SUCCESS_FORWARD, SUCCESS_KEY, SUCCESS_PARAM_MAP, TRANSACTION_TOKEN_KEY |
| Constructor Summary | |
ProcessQuestionnaireAction()
|
|
| Method Summary | |
protected void |
authorisedPreProcess(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Ensure the action is set to a value we understand, and makes sure the questionnaire is live. |
void |
executeLogic(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process a submitted QuestionnaireForm. |
| Methods inherited from class com.RuntimeCollective.permission.action.AuthenticatedAction |
checkPermissions |
| Methods inherited from class com.RuntimeCollective.permission.action.PermissibleAction |
preProcess, validateRequest |
| Methods inherited from class com.RuntimeCollective.webapps.action.BaseUserAction |
execute, getUser |
| Methods inherited from class com.RuntimeCollective.webapps.action.BaseForwardAction |
findFailure, findSuccess, forward, getToken, isTokenValid, iterate, resetToken, saveToken, setFailureForward, setSuccessForward, setSuccessForward, setSuccessForward, setToken, validForm |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
ProcessQuestionnaireAction
public ProcessQuestionnaireAction()
| Method Detail |
authorisedPreProcess
protected void authorisedPreProcess(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
- Ensure the action is set to a value we understand,
and makes sure the questionnaire is live.
executeLogic
public void executeLogic(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
- Process a submitted QuestionnaireForm.
The following
Forwardsare returned:failure- local forward to go to if there was a problem.
dynamic forward - if there was no problem, and a return url was specified in the QuestionnaireForm.success- if there was no problem, and no return url was specified in the QuestionnaireForm.The following error messages are returned:
error.db.connection- if there was a problem connecting to the database.
|
|||||||||
| Home >> All >> com >> RuntimeCollective >> questionnaire >> [ action overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
BaseAction