org.kuali.hr.time.base.web
Class ApprovalAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.BaseAction
          extended by org.apache.struts.actions.DispatchAction
              extended by org.kuali.rice.kns.web.struts.action.KualiAction
                  extended by org.kuali.hr.time.base.web.TkAction
                      extended by org.kuali.hr.time.base.web.ApprovalAction
Direct Known Subclasses:
LeaveApprovalAction, LeaveRequestApprovalAction, TimeApprovalAction

public class ApprovalAction
extends TkAction


Field Summary
 
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, methods, types
 
Fields inherited from class org.apache.struts.actions.BaseAction
messages
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Constructor Summary
ApprovalAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward changeCalendarYear(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 changePayPeriod(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void checkTKAuthorization(org.apache.struts.action.ActionForm form, String methodToCall)
           
 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)
           
protected  String getSortField(javax.servlet.http.HttpServletRequest request)
           
protected  List<TKPerson> getSubListPrincipalIds(javax.servlet.http.HttpServletRequest request, List<TKPerson> assignmentPrincipalIds)
           
 org.apache.struts.action.ActionForward gotoCurrentPayPeriod(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  Boolean isAscending(javax.servlet.http.HttpServletRequest request)
           
 org.apache.struts.action.ActionForward loadApprovalTab(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void populateCalendarAndPayPeriodLists(javax.servlet.http.HttpServletRequest request, ApprovalForm taf)
           
protected  void resetMainFields(org.apache.struts.action.ActionForm form)
           
protected  void setupDocumentOnFormContext(javax.servlet.http.HttpServletRequest request, ApprovalForm taf, CalendarEntries payCalendarEntries, String page)
           
 
Methods inherited from class org.kuali.hr.time.base.web.TkAction
userLogout
 
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiAction
addMethodToCallToUncheckedList, checkAuthorization, defaultDispatch, dispatchMethod, doProcessingAfterPost, findMethodToCall, getApplicationBaseUrl, getBusinessObjectAuthorizationService, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getLineToEdit, getReturnLocation, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, hideAllTabs, isModuleLocked, 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, 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
 

Constructor Detail

ApprovalAction

public ApprovalAction()
Method Detail

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 TkAction
Throws:
Exception

loadApprovalTab

public org.apache.struts.action.ActionForward loadApprovalTab(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

getSubListPrincipalIds

protected List<TKPerson> getSubListPrincipalIds(javax.servlet.http.HttpServletRequest request,
                                                List<TKPerson> assignmentPrincipalIds)

isAscending

protected Boolean isAscending(javax.servlet.http.HttpServletRequest request)

getSortField

protected String getSortField(javax.servlet.http.HttpServletRequest request)

checkTKAuthorization

protected void checkTKAuthorization(org.apache.struts.action.ActionForm form,
                                    String methodToCall)
                             throws org.kuali.rice.krad.exception.AuthorizationException
Overrides:
checkTKAuthorization in class TkAction
Throws:
org.kuali.rice.krad.exception.AuthorizationException

resetMainFields

protected void resetMainFields(org.apache.struts.action.ActionForm form)

setupDocumentOnFormContext

protected void setupDocumentOnFormContext(javax.servlet.http.HttpServletRequest request,
                                          ApprovalForm taf,
                                          CalendarEntries payCalendarEntries,
                                          String page)

gotoCurrentPayPeriod

public org.apache.struts.action.ActionForward gotoCurrentPayPeriod(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

changeCalendarYear

public org.apache.struts.action.ActionForward changeCalendarYear(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

changePayPeriod

public org.apache.struts.action.ActionForward changePayPeriod(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

populateCalendarAndPayPeriodLists

protected void populateCalendarAndPayPeriodLists(javax.servlet.http.HttpServletRequest request,
                                                 ApprovalForm taf)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.