public BudgetNonpersonnelCopyOverFormHelper()(Code)
Constructs a BudgetNonpersonnelFormHelper. Default, no arg constructor
BudgetNonpersonnelCopyOverFormHelper
public BudgetNonpersonnelCopyOverFormHelper(BudgetForm budgetForm)(Code)
Constructs a BudgetNonpersonnelCopyOverFormHelper based on data extracted from a BudgetForm.
Parameters: budgetForm - which is used to take the categories and nonpersonnel objects from
Copies the nonpersonnel objects contained in this object back into the nonpersonnel list in BudgetForm. The data duplication
is present in order to simplify display on the copy over page and most importantly to facilitate saving at the right time.
Parameters: budgetForm - which is used to copy the nonpersonnel objects into
getNonpersonnelCopyOverCategoryHelper
public NonpersonnelCopyOverCategoryHelper getNonpersonnelCopyOverCategoryHelper(String key)(Code)
Gets a NonpersonnelCopyOverCategoryHelper from nonpersonnelCopyOverCategoryHelpers. Creates it if it doesn't exist yet. This
is useful because the hidden variables on the copy over page need a place to be put.
Parameters: key - Key for the NonpersonnelCopyOverCategoryHelper to get Returns a NonpersonnelCopyOverCategoryHelper.
Updates the datastructure with new values based on a page refresh or prior to a return. Specifically this involves ensuring
origin item checkboxes are correctly checked (checked for items that have been copied over) and totals are calculated.
Parameters: periodsSize - number of periods
setNonpersonnelCopyOverCategoryHelpers
public void setNonpersonnelCopyOverCategoryHelpers(Map budgetNonpersonnelHelperMap)(Code)
Sets the nonpersonnelCopyOverCategoryHelpers attribute value.
Parameters: nonpersonnelCopyOverCategoryHelpers - The nonpersonnelCopyOverCategoryHelpers to set.