org.kuali.kfs.sys.web.struts
Class KualiBatchJobModifyAction
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.DispatchAction
org.kuali.rice.kns.web.struts.action.KualiAction
org.kuali.kfs.sys.web.struts.KualiBatchJobModifyAction
public class KualiBatchJobModifyAction
- extends org.kuali.rice.kns.web.struts.action.KualiAction
Fields inherited from class org.kuali.rice.kns.web.struts.action.KualiAction |
FORM_ACTION, FORWARD_NEXT, FORWARD_TEXT_AREA_UPDATE, METHOD_TO_CALL, POST_TEXT_AREA_TO_PARENT, TEXT_AREA_FIELD_ANCHOR, TEXT_AREA_FIELD_LABEL, TEXT_AREA_FIELD_NAME, TEXT_AREA_MAX_LENGTH, TEXT_AREA_READ_ONLY |
Fields inherited from class org.apache.struts.actions.DispatchAction |
clazz, log, messages, methods, types |
Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
Method Summary |
protected boolean |
canModifyJob(KualiBatchJobModifyForm form,
String actionType)
Performs the actual authorization check for a given job and action against the current user. |
protected void |
checkAuthorization(org.apache.struts.action.ActionForm form,
String methodToCall)
|
protected void |
checkJobAuthorization(KualiBatchJobModifyForm form,
String actionType)
|
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)
|
static org.kuali.rice.kns.service.DateTimeService |
getDateTimeService()
|
static org.kuali.rice.kns.service.ParameterService |
getParameterService()
|
org.apache.struts.action.ActionForward |
runJob(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 |
schedule(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 |
start(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 |
stopJob(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 |
unschedule(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.kuali.rice.kns.web.struts.action.KualiAction |
addMethodToCallToUncheckedList, defaultDispatch, dispatchMethod, doProcessingAfterPost, findMethodToCall, getApplicationBaseUrl, getBasePath, getBusinessObjectAuthorizationService, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getReturnLocation, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, hideAllTabs, performInquiry, performLookup, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, refresh, 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, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, 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 |
KualiBatchJobModifyAction
public KualiBatchJobModifyAction()
checkAuthorization
protected void checkAuthorization(org.apache.struts.action.ActionForm form,
String methodToCall)
throws org.kuali.rice.kns.exception.AuthorizationException
- Overrides:
checkAuthorization
in class org.kuali.rice.kns.web.struts.action.KualiAction
- Throws:
org.kuali.rice.kns.exception.AuthorizationException
canModifyJob
protected boolean canModifyJob(KualiBatchJobModifyForm form,
String actionType)
- Performs the actual authorization check for a given job and action against the current user. This method can be overridden by
sub-classes if more granular controls are desired.
- Parameters:
job
- actionType
-
- Throws:
org.kuali.rice.kns.exception.AuthorizationException
checkJobAuthorization
protected void checkJobAuthorization(KualiBatchJobModifyForm form,
String actionType)
throws org.kuali.rice.kns.exception.AuthorizationException
- Throws:
org.kuali.rice.kns.exception.AuthorizationException
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:
execute
in class org.kuali.rice.kns.web.struts.action.KualiAction
- Throws:
Exception
getParameterService
public static org.kuali.rice.kns.service.ParameterService getParameterService()
start
public 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
runJob
public org.apache.struts.action.ActionForward runJob(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
stopJob
public org.apache.struts.action.ActionForward stopJob(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
schedule
public org.apache.struts.action.ActionForward schedule(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
unschedule
public org.apache.struts.action.ActionForward unschedule(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
getDateTimeService
public static org.kuali.rice.kns.service.DateTimeService getDateTimeService()
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.