org.kuali.rice.kew.superuser.web
Class SuperUserAction
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.BaseAction
org.apache.struts.actions.DispatchAction
org.kuali.rice.kns.web.struts.action.KualiAction
org.kuali.rice.kew.web.KewKualiAction
org.kuali.rice.kew.superuser.web.SuperUserAction
public class SuperUserAction
- extends KewKualiAction
A Struts Action which provides super user functionality.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Fields inherited from class org.apache.struts.actions.DispatchAction |
clazz, log, methods, types |
Fields inherited from class org.apache.struts.actions.BaseAction |
messages |
Fields inherited from class org.apache.struts.action.Action |
servlet |
Method Summary |
org.apache.struts.action.ActionForward |
actionRequestApprove(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
approve(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
cancel(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
disapprove(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
displaySuperUserDocument(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Entry point to all actions. |
protected String |
getAdHocRouteNodeName(String documentId)
|
static UserSession |
getUserSession(javax.servlet.http.HttpServletRequest request)
|
org.apache.struts.action.ActionForward |
initForm(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionForm form)
|
org.apache.struts.action.ActionForward |
refresh(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Default refresh method. |
org.apache.struts.action.ActionForward |
removeAppSpecificRecipient(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Removes an existing AppSpecificRouteRecipient from the list. |
org.apache.struts.action.ActionForward |
returnToPreviousNode(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
routeLevelApprove(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
routeToAppSpecificRecipient(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
validateAppSpecificRoute(AppSpecificRouteRecipient recipient)
|
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiAction |
addMethodToCallToUncheckedList, checkAuthorization, dispatchMethod, doProcessingAfterPost, findMethodToCall, getApplicationBaseUrl, getBusinessObjectAuthorizationService, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, hideAllTabs, isModuleLocked, performInquiry, performLookup, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, retrieveLookupParameterValue, showAllTabs, toggleTab, updateTextArea, validateLookupInquiryFullParameter |
Methods inherited from class org.apache.struts.actions.DispatchAction |
cancelled, getMethod, getMethodName, getParameter, unspecified |
Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, generateToken, 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 |
UNAUTHORIZED
public static final String UNAUTHORIZED
- See Also:
- Constant Field Values
SuperUserAction
public SuperUserAction()
execute
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Description copied from class:
KualiAction
- Entry point to all actions.
NOTE: No need to hook into execute for handling framework setup anymore. Just implement the methodToCall for the framework
setup, Constants.METHOD_REQUEST_PARAMETER will contain the full parameter, which can be sub stringed for getting framework
parameters.
- Overrides:
execute
in class KualiAction
- Throws:
Exception
- See Also:
Action.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm,
javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
refresh
public org.apache.struts.action.ActionForward refresh(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Description copied from class:
KualiAction
- Default refresh method. Called from returning frameworks.
- Overrides:
refresh
in class KualiAction
- Returns:
-
- Throws:
Exception
displaySuperUserDocument
public org.apache.struts.action.ActionForward displaySuperUserDocument(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
routeLevelApprove
public org.apache.struts.action.ActionForward routeLevelApprove(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
approve
public org.apache.struts.action.ActionForward approve(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
disapprove
public org.apache.struts.action.ActionForward disapprove(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
cancel
public org.apache.struts.action.ActionForward cancel(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
returnToPreviousNode
public org.apache.struts.action.ActionForward returnToPreviousNode(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
actionRequestApprove
public org.apache.struts.action.ActionForward actionRequestApprove(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
initForm
public org.apache.struts.action.ActionForward initForm(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionForm form)
throws Exception
- Throws:
Exception
routeToAppSpecificRecipient
public org.apache.struts.action.ActionForward routeToAppSpecificRecipient(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
removeAppSpecificRecipient
public org.apache.struts.action.ActionForward removeAppSpecificRecipient(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Removes an existing AppSpecificRouteRecipient from the list.
- Throws:
Exception
validateAppSpecificRoute
protected void validateAppSpecificRoute(AppSpecificRouteRecipient recipient)
getAdHocRouteNodeName
protected String getAdHocRouteNodeName(String documentId)
throws WorkflowException
- Throws:
WorkflowException
getUserSession
public static UserSession getUserSession(javax.servlet.http.HttpServletRequest request)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.