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

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.SalarySettingBaseAction
                      extended by org.kuali.kfs.module.bc.document.web.struts.DetailSalarySettingAction
                          extended by org.kuali.kfs.module.bc.document.web.struts.PositionSalarySettingAction

public class PositionSalarySettingAction
extends DetailSalarySettingAction

the struts action for the salary setting for position


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
PositionSalarySettingAction()
           
 
Method Summary
protected  String getFundingAwareObjectName()
          get the name of object that holds a set of appointment funding 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)
          loads the data for the expansion screen based on the passed in url parameters
 org.apache.struts.action.ActionForward recalculateAllSalarySettingLines(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Recalculates all rows where the position change flags are set and the row is edit-able and active.
 org.apache.struts.action.ActionForward recalculateSalarySettingLine(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Recalculates a single row where the position change flags are set and the row is edit-able and active.
protected  void recalculateSalarySettingLine(PendingBudgetConstructionAppointmentFunding appointmentFunding)
          Recalculates a PendingBudgetConstructionAppointmentFunding.
 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)
          enable to send warning after saving
 void sendWarnings(PositionSalarySettingForm positionSalarySettingForm, org.kuali.rice.kns.util.MessageList warnings)
          send warning messsages back to the caller
 
Methods inherited from class org.kuali.kfs.module.bc.document.web.struts.DetailSalarySettingAction
addAppointmentFundingLine, applyDefaultValuesIfEmpty, clearPurgedAppointmentFundings, close, execute, hasFundingLineInvolvedLeave, hasFundingLineInvolvedLeaveWithoutPay, refresh, unlockPositionOnly
 
Methods inherited from class org.kuali.kfs.module.bc.document.web.struts.SalarySettingBaseAction
adjustSalary, adjustSalarySettingLinePercent, adjustSalarySettingLinePercent, deleteSalarySettingLine, getErrorKeyPrefixOfAppointmentFundingLine, getSelectedFundingLine, initAuthorization, invokeRules, normalizePayRateAndAmount, populateAuthorizationFields, purgeSalarySettingLine, restorePurgedSalarySettingLine, returnAfterClose, revertSalarySettingLine, undeleteSalarySettingLine, vacateSalarySettingLine
 
Methods inherited from class org.kuali.kfs.module.bc.document.web.struts.BudgetExpansionAction
addCallBackMessagesAsObjectInSession, cleanupAnySessionForm, moveCallBackMessagesInPlace, 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

PositionSalarySettingAction

public PositionSalarySettingAction()
Method Detail

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
Description copied from class: SalarySettingBaseAction
loads the data for the expansion screen based on the passed in url parameters

Specified by:
loadExpansionScreen in class SalarySettingBaseAction
Throws:
Exception
See Also:
SalarySettingBaseAction.loadExpansionScreen(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

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
enable to send warning after saving

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

sendWarnings

public void sendWarnings(PositionSalarySettingForm positionSalarySettingForm,
                         org.kuali.rice.kns.util.MessageList warnings)
send warning messsages back to the caller

Parameters:
positionSalarySettingForm - the given position salary setting form
warnings - the warning list that can hold the warning messages if any

recalculateAllSalarySettingLines

public org.apache.struts.action.ActionForward recalculateAllSalarySettingLines(org.apache.struts.action.ActionMapping mapping,
                                                                               org.apache.struts.action.ActionForm form,
                                                                               javax.servlet.http.HttpServletRequest request,
                                                                               javax.servlet.http.HttpServletResponse response)
                                                                        throws Exception
Recalculates all rows where the position change flags are set and the row is edit-able and active. Sets funding months, FTE, CSF FTE, and normalizes biweekly request amounts, where appropriate This action is called from the global calculate button.

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

recalculateSalarySettingLine

public org.apache.struts.action.ActionForward recalculateSalarySettingLine(org.apache.struts.action.ActionMapping mapping,
                                                                           org.apache.struts.action.ActionForm form,
                                                                           javax.servlet.http.HttpServletRequest request,
                                                                           javax.servlet.http.HttpServletResponse response)
                                                                    throws Exception
Recalculates a single row where the position change flags are set and the row is edit-able and active. Sets funding months, FTE, CSF FTE, and normalizes biweekly request amounts, where appropriate This action is called from the row action calculate button.

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

recalculateSalarySettingLine

protected void recalculateSalarySettingLine(PendingBudgetConstructionAppointmentFunding appointmentFunding)
Recalculates a PendingBudgetConstructionAppointmentFunding. Sets funding months, FTE, CSF FTE, and normalizes biweekly request amounts, where appropriate

Parameters:
appointmentFunding -

getFundingAwareObjectName

protected String getFundingAwareObjectName()
Description copied from class: SalarySettingBaseAction
get the name of object that holds a set of appointment funding lines

Specified by:
getFundingAwareObjectName in class SalarySettingBaseAction
See Also:
SalarySettingBaseAction.getFundingAwareObjectName()


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