org.kuali.kfs.module.bc.document.web.struts
Class MonthlyBudgetAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.DispatchAction
          extended by org.kuali.rice.kns.web.struts.action.KualiAction
              extended by org.kuali.kfs.module.bc.document.web.struts.BudgetExpansionAction
                  extended by org.kuali.kfs.module.bc.document.web.struts.MonthlyBudgetAction

public class MonthlyBudgetAction
extends BudgetExpansionAction


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, messages, methods, types
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
MonthlyBudgetAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward close(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handling for screen close.
 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)
          added for testing - remove if not needed
 org.apache.struts.action.ActionForward hideDetails(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This action toggles the value of the hide field in the user interface to "hide" so that when the page is rendered, the UI displays values without all of the descriptions and labels for each of the pbgl lines.
 org.apache.struts.action.ActionForward loadExpansionScreen(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 performMonthlyDelete(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 performMonthlySpread(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 performMonthlyZero(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void populateAuthorizationFields(MonthlyBudgetForm monthlyBudgetForm)
           
 void replaceMonthlyNullWithZero(BudgetConstructionMonthly bcMth)
          checks monthly object for nulls in the amounts and replaces with zeros
 org.apache.struts.action.ActionForward save(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This saves the data and redisplays
 org.apache.struts.action.ActionForward showDetails(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This action changes the value of the hide field in the user interface so that when the page is rendered, the UI knows to show all of the descriptions and labels for each of the pbgl line values.
 
Methods inherited from class org.kuali.kfs.module.bc.document.web.struts.BudgetExpansionAction
addCallBackMessagesAsObjectInSession, cleanupAnySessionForm, moveCallBackMessagesInPlace, refresh, removeCallBackMessagesObjectFromSession, returnToCaller
 
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiAction
addMethodToCallToUncheckedList, checkAuthorization, 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, 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
 

Constructor Detail

MonthlyBudgetAction

public MonthlyBudgetAction()
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
added for testing - remove if not needed

Overrides:
execute in class BudgetExpansionAction
Throws:
Exception
See Also:
BudgetConstructionAction.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

populateAuthorizationFields

protected void populateAuthorizationFields(MonthlyBudgetForm monthlyBudgetForm)

loadExpansionScreen

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

save

public org.apache.struts.action.ActionForward save(org.apache.struts.action.ActionMapping mapping,
                                                   org.apache.struts.action.ActionForm form,
                                                   javax.servlet.http.HttpServletRequest request,
                                                   javax.servlet.http.HttpServletResponse response)
                                            throws Exception
This saves the data and redisplays

Parameters:
mapping -
form -
request -
response -
Returns:
Throws:
Exception

close

public org.apache.struts.action.ActionForward close(org.apache.struts.action.ActionMapping mapping,
                                                    org.apache.struts.action.ActionForm form,
                                                    javax.servlet.http.HttpServletRequest request,
                                                    javax.servlet.http.HttpServletResponse response)
                                             throws Exception
Description copied from class: BudgetExpansionAction
Handling for screen close. Default action is return to caller.

Overrides:
close in class BudgetExpansionAction
Throws:
Exception
See Also:
Action.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

performMonthlySpread

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

performMonthlyZero

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

performMonthlyDelete

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

replaceMonthlyNullWithZero

public void replaceMonthlyNullWithZero(BudgetConstructionMonthly bcMth)
checks monthly object for nulls in the amounts and replaces with zeros

Parameters:
bcMth -

showDetails

public org.apache.struts.action.ActionForward showDetails(org.apache.struts.action.ActionMapping mapping,
                                                          org.apache.struts.action.ActionForm form,
                                                          javax.servlet.http.HttpServletRequest request,
                                                          javax.servlet.http.HttpServletResponse response)
                                                   throws Exception
This action changes the value of the hide field in the user interface so that when the page is rendered, the UI knows to show all of the descriptions and labels for each of the pbgl line values.

Parameters:
mapping -
form -
request -
response -
Returns:
ActionForward
Throws:
Exception

hideDetails

public org.apache.struts.action.ActionForward hideDetails(org.apache.struts.action.ActionMapping mapping,
                                                          org.apache.struts.action.ActionForm form,
                                                          javax.servlet.http.HttpServletRequest request,
                                                          javax.servlet.http.HttpServletResponse response)
                                                   throws Exception
This action toggles the value of the hide field in the user interface to "hide" so that when the page is rendered, the UI displays values without all of the descriptions and labels for each of the pbgl lines.

Parameters:
mapping -
form -
request -
response -
Returns:
ActionForward
Throws:
Exception


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