Constructs a BudgetOverviewFormHelper based on data extracted from a BudgetForm. Will add NonpersonnelCategories,
BudgetNonpersonnelFormHelper, and BudgetIndirectCostFormHelper to BudgetForum. Runs
BudgetModularService.generateModularBudget and BudgetIndirectCostService.refreshIndirectCost to satisfy requirements of
recalculate which is called as the final step.
Parameters: budgetForm -
Constructor for BudgetOverviewFormHelper with detailed argument list. Populars several interesting objects in class scope
that may be used to reduce service calls. Could be changed to pass those local variables as arguments if that is needed.
Note that BudgetIndirectCostService.refreshIndirectCost and BudgetModularService.generateModularBudget has to have been
called before this.
Parameters: currentTaskNumber - determines for which task the calculations should be performed. Parameters: currentPeriodNumber - determines for which period the calculations should be performed. Parameters: nonpersonnelCategories - passed to avoid refetching it from the DB when BudgetXml calls this for each task / period. Parameters: budgetIndirectCostFormHelper - passed to avoid refetching it from the DB when BudgetXml calls this for each task /period. Parameters: budget - with refreshIndirectCost and generateModularBudget performed on. BudgetNonpersonnelFormHelper is returned with proper Fee Remission items from personnel (if applicable).
setAdjustedDirectCostsAgencyRequest
public void setAdjustedDirectCostsAgencyRequest(KualiInteger adjustedDirectCosts)(Code)
Parameters: adjustedDirectCostsAgencyRequest - The adjustedDirectCostsAgencyRequest to set.
setBudgetOverviewPersonnelHelpers
public void setBudgetOverviewPersonnelHelpers(List<BudgetOverviewPersonnelHelper> lineItems)(Code)
Parameters: budgetOverviewPersonnelHelpers - The budgetOverviewPersonnelHelpers to set.