| java.lang.Object org.kuali.module.kra.budget.web.struts.form.BudgetIndirectCostFormHelper
BudgetIndirectCostFormHelper | public class BudgetIndirectCostFormHelper (Code) | | Used by UI to get totals, counts, aggregations, and other things to render the Indirect Cost page.
|
BudgetIndirectCostFormHelper | public BudgetIndirectCostFormHelper()(Code) | | Default constructor.
|
BudgetIndirectCostFormHelper | public BudgetIndirectCostFormHelper(BudgetForm budgetForm)(Code) | | Non-default constructor, sets default values based on passed BudgetForm object.
Parameters: budgetForm - |
BudgetIndirectCostFormHelper | public BudgetIndirectCostFormHelper(Budget budget)(Code) | | Non-default constructor, sets default values based on passed Budget object.
Parameters: budgetForm - |
BudgetIndirectCostFormHelper | public BudgetIndirectCostFormHelper(List tasks, List periods, List idcItems)(Code) | | Update all Indirect Cost totals. This is the function generally called from the action class. Used this method to consolidate
all calls.
Parameters: tasks - Parameters: periods - |
getNumPeriods | public Integer getNumPeriods()(Code) | | Returns the numPeriods. |
getTaskTotals | public List getTaskTotals()(Code) | | Returns the taskTotals. |
initializeTotals | public void initializeTotals(List tasks, List periods)(Code) | | Iterate over all tasks and periods to set up HashMaps with default (zero) values.
Parameters: tasks - Parameters: periods - |
setNumPeriods | public void setNumPeriods(Integer numPeriods)(Code) | | Parameters: numPeriods - The numPeriods to set. |
setPeriodTotals | public void setPeriodTotals(List periodTotals)(Code) | | Parameters: periodTotals - The periodTotals to set. |
setTaskTotals | public void setTaskTotals(List taskTotals)(Code) | | Parameters: taskTotals - The taskTotals to set. |
updateTotals | public void updateTotals(List idcItems)(Code) | | Iterate over all taskPeriods. For each one, add their totals to the HashMaps.
Parameters: tasks - Parameters: periods - Parameters: idcItems - We should now have a list, since createTaskPeriodIdcList would have set it up for us just now, or on anyprevious save. |
|
|