Package org.kuali.rice.ksb.messaging.web
Class KSBAction
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.BaseAction
org.apache.struts.actions.DispatchAction
org.kuali.rice.ksb.messaging.web.KSBAction
- Direct Known Subclasses:
ConfigViewerAction,JavaSecurityManagementAction,MessageQueueAction,QuartzQueueAction,ServiceBusAction,ServiceRegistryAction,ThreadPoolAction
public abstract class KSBAction
extends org.apache.struts.actions.DispatchAction
An abstract super class for all Struts Actions in KEW. Adds some custom
dispatch behavior by extending the Struts DispatchAction.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Field Summary
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, log, methods, typesFields inherited from class org.apache.struts.actions.BaseAction
messagesFields inherited from class org.apache.struts.action.Action
servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckAuthorization(org.apache.struts.action.ActionForm form, String methodToCall) org.apache.struts.action.ActionMessagesestablishFinalState(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionForm form) abstract org.apache.struts.action.ActionMessagesestablishRequiredState(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionForm form) org.apache.struts.action.ActionForwardexecute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) protected StringfindMethodToCall(org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request) protected static org.kuali.rice.krad.service.KualiModuleServicegetRoleQualification(org.apache.struts.action.ActionForm form, String methodToCall) override this method to add data from the form for role qualification in the authorization checkprotected booleanisModuleLocked(org.apache.struts.action.ActionForm form, String methodToCall, javax.servlet.http.HttpServletRequest request) org.apache.struts.action.ActionForwardnoOp(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.ActionForwardrefresh(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) abstract org.apache.struts.action.ActionForwardstart(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Methods inherited from class org.apache.struts.actions.DispatchAction
cancelled, dispatchMethod, getMethod, getMethodName, getParameter, unspecifiedMethods 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
-
Constructor Details
-
KSBAction
public KSBAction()
-
-
Method Details
-
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 - Overrides:
executein classorg.apache.struts.actions.DispatchAction- Throws:
Exception
-
checkAuthorization
protected void checkAuthorization(org.apache.struts.action.ActionForm form, String methodToCall) throws org.kuali.rice.krad.exception.AuthorizationException - Throws:
org.kuali.rice.krad.exception.AuthorizationException
-
getRoleQualification
protected Map<String,String> getRoleQualification(org.apache.struts.action.ActionForm form, String methodToCall) override this method to add data from the form for role qualification in the authorization check -
start
public abstract org.apache.struts.action.ActionForward start(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
-
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 - Throws:
Exception
-
establishRequiredState
public abstract org.apache.struts.action.ActionMessages establishRequiredState(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionForm form) throws Exception - Throws:
Exception
-
establishFinalState
public org.apache.struts.action.ActionMessages establishFinalState(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionForm form) throws Exception - Throws:
Exception
-
noOp
public org.apache.struts.action.ActionForward noOp(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
-
getKualiModuleService
protected static org.kuali.rice.krad.service.KualiModuleService getKualiModuleService() -
findMethodToCall
protected String findMethodToCall(org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request) throws Exception - Throws:
Exception
-
isModuleLocked
protected boolean isModuleLocked(org.apache.struts.action.ActionForm form, String methodToCall, javax.servlet.http.HttpServletRequest request)
-