org.kuali.kpme.tklm.leave.calendar.web
Class LeaveCalendarAction

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.kpme.core.web.KPMEAction
                      extended by org.kuali.kpme.tklm.common.CalendarFormAction
                          extended by org.kuali.kpme.tklm.leave.calendar.web.LeaveCalendarAction
Direct Known Subclasses:
LeaveCalendarWSAction

public class LeaveCalendarAction
extends CalendarFormAction


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
LeaveCalendarAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward addLeaveBlock(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 deleteLeaveBlock(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 docHandler(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)
           
protected  List<CalendarEntry> getCalendarEntries(CalendarEntry currentCalendarEntry)
           
protected  List<LeaveBlock> getLeaveBlocks(String principalId, CalendarEntry calendarEntry, LeaveCalendarDocument leaveCalendarDocument, List<String> assignmentKeys)
           
protected  void runAccrualService(LeaveCalendarForm leaveCalendarForm)
           
protected  void setLeaveBlocks(LeaveCalendarForm leaveCalendarForm, String principalId, List<LeaveBlock> leaveBlocks, List<String> assignmentKeys)
           
protected  void setLeaveSummary(LeaveCalendarForm leaveCalendarForm)
           
protected  void setMessages(LeaveCalendarForm leaveCalendarForm, List<LeaveBlock> leaveBlocks)
           
 org.apache.struts.action.ActionForward updateLeaveBlock(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.kpme.tklm.common.CalendarFormAction
setCalendarFields
 
Methods inherited from class org.kuali.kpme.core.web.KPMEAction
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

LeaveCalendarAction

public LeaveCalendarAction()
Method Detail

checkTKAuthorization

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

docHandler

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

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

addLeaveBlock

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

deleteLeaveBlock

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

getCalendarEntries

protected List<CalendarEntry> getCalendarEntries(CalendarEntry currentCalendarEntry)
Specified by:
getCalendarEntries in class CalendarFormAction

runAccrualService

protected void runAccrualService(LeaveCalendarForm leaveCalendarForm)

getLeaveBlocks

protected List<LeaveBlock> getLeaveBlocks(String principalId,
                                          CalendarEntry calendarEntry,
                                          LeaveCalendarDocument leaveCalendarDocument,
                                          List<String> assignmentKeys)

setLeaveBlocks

protected void setLeaveBlocks(LeaveCalendarForm leaveCalendarForm,
                              String principalId,
                              List<LeaveBlock> leaveBlocks,
                              List<String> assignmentKeys)

setLeaveSummary

protected void setLeaveSummary(LeaveCalendarForm leaveCalendarForm)
                        throws Exception
Throws:
Exception

setMessages

protected void setMessages(LeaveCalendarForm leaveCalendarForm,
                           List<LeaveBlock> leaveBlocks)

updateLeaveBlock

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


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