org.kuali.hr.time.approval.web
Class TimeApprovalAction

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
                          extended by org.kuali.hr.time.approval.web.TimeApprovalAction

public class TimeApprovalAction
extends ApprovalAction


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
TimeApprovalAction()
           
 
Method Summary
 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)
           
protected  List<ApprovalTimeSummaryRow> getApprovalRows(TimeApprovalActionForm taaf, List<TKPerson> assignmentPrincipalIds)
          Helper method to modify / manage the list of records needed to display approval data to the user.
 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)
           
 void resetState(org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request)
           
 org.apache.struts.action.ActionForward searchResult(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 selectNewDept(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 selectNewPayCalendar(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 selectNewWorkArea(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void setupDocumentOnFormContext(javax.servlet.http.HttpServletRequest request, ApprovalForm form, CalendarEntries payCalendarEntries, String page)
           
 
Methods inherited from class org.kuali.hr.time.base.web.ApprovalAction
changeCalendarYear, changePayPeriod, checkTKAuthorization, getSortField, getSubListPrincipalIds, gotoCurrentPayPeriod, isAscending, resetMainFields
 
Methods inherited from class org.kuali.hr.time.base.web.TkAction
execute, 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, 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

TimeApprovalAction

public TimeApprovalAction()
Method Detail

searchResult

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

selectNewDept

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

selectNewWorkArea

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

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

setupDocumentOnFormContext

protected void setupDocumentOnFormContext(javax.servlet.http.HttpServletRequest request,
                                          ApprovalForm form,
                                          CalendarEntries payCalendarEntries,
                                          String page)
Overrides:
setupDocumentOnFormContext in class ApprovalAction

selectNewPayCalendar

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

getApprovalRows

protected List<ApprovalTimeSummaryRow> getApprovalRows(TimeApprovalActionForm taaf,
                                                       List<TKPerson> assignmentPrincipalIds)
Helper method to modify / manage the list of records needed to display approval data to the user.

Parameters:
taaf -
Returns:

resetState

public void resetState(org.apache.struts.action.ActionForm form,
                       javax.servlet.http.HttpServletRequest request)

populateCalendarAndPayPeriodLists

protected void populateCalendarAndPayPeriodLists(javax.servlet.http.HttpServletRequest request,
                                                 ApprovalForm taf)
Overrides:
populateCalendarAndPayPeriodLists in class ApprovalAction


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