org.kuali.kfs.fp.service
Interface FiscalYearFunctionControlService

All Known Implementing Classes:
FiscalYearFunctionControlServiceImpl

public interface FiscalYearFunctionControlService

This interface defines methods that a FiscalYearFunctionControl Service must provide.


Method Summary
 List<Integer> getActiveBudgetYear()
          returns a list of years for which budget construction is visible in the application
 List getBudgetAdjustmentAllowedYears()
          Retrieves list of fiscal years that the BudgetAdjustment is allowed in.
 boolean isApplicationUpdateFromHumanResourcesAllowed(Integer universityFiscalYear)
          checks the fiscal year against the control table to see if a user can force a refresh of human resources data for selected organizations in the budget construction security tree from the application
 boolean isBaseAmountChangeAllowed(Integer postingYear)
          Checks the fiscal year against the control tables to see if BudgetAdjustment to base amount is allowed.
 boolean isBatchUpdateFromHumanResourcesAllowed(Integer universityFiscalYear)
          checks the fiscal year against the control table to see if the batch process will do a global update (ALL changes found) of the human-resource derived data in budget construction
 boolean isBatchUpdateFromPayrollAllowed(Integer universityFiscalYear)
          checks the fiscal year against the control table to see if the batch process will update base salaries in the budget using the CalculatedSalaryFoundation data derived from payroll
 boolean isBudgetConstructionActive(Integer universityFiscalYear)
          checks the fiscal year against the control table to see if users can view budget construction data in the application
 boolean isBudgetGeneralLedgerUpdateAllowed(Integer universityFiscalYear)
          checks the fiscal year against the control table to see if the general ledger in budget construction should reflect current base budget amounts in the accounting general ledger for the fiscal year
 boolean isBudgetUpdateAllowed(Integer universityFiscalYear)
          checks the fiscal year against the control table to see if users can make edits to budget construction for the given year (some users may still be frozen out because of the security mechanism)
 

Method Detail

getBudgetAdjustmentAllowedYears

List getBudgetAdjustmentAllowedYears()
Retrieves list of fiscal years that the BudgetAdjustment is allowed in.

Returns:
A list of fiscal years that the current user is authorized to perform a budget adjustment against.

isBaseAmountChangeAllowed

boolean isBaseAmountChangeAllowed(Integer postingYear)
Checks the fiscal year against the control tables to see if BudgetAdjustment to base amount is allowed.

Parameters:
Posting - year that the base amount is being changed for.
Returns:
True if the current user is authorized to edit the base amount, false otherwise.

getActiveBudgetYear

List<Integer> getActiveBudgetYear()
returns a list of years for which budget construction is visible in the application

Returns:
list of type integer

isApplicationUpdateFromHumanResourcesAllowed

boolean isApplicationUpdateFromHumanResourcesAllowed(Integer universityFiscalYear)
checks the fiscal year against the control table to see if a user can force a refresh of human resources data for selected organizations in the budget construction security tree from the application

Parameters:
universityFiscalYear -
Returns:
true if selected human resources updates are allowed.

isBatchUpdateFromHumanResourcesAllowed

boolean isBatchUpdateFromHumanResourcesAllowed(Integer universityFiscalYear)
checks the fiscal year against the control table to see if the batch process will do a global update (ALL changes found) of the human-resource derived data in budget construction

Parameters:
universityFiscalYear -
Returns:
true if the batch processes will feed human resource data changes into budget construction

isBatchUpdateFromPayrollAllowed

boolean isBatchUpdateFromPayrollAllowed(Integer universityFiscalYear)
checks the fiscal year against the control table to see if the batch process will update base salaries in the budget using the CalculatedSalaryFoundation data derived from payroll

Parameters:
universityFiscalYear -
Returns:
true if base salaries will be changed

isBudgetConstructionActive

boolean isBudgetConstructionActive(Integer universityFiscalYear)
checks the fiscal year against the control table to see if users can view budget construction data in the application

Parameters:
universityFiscalYear -
Returns:
true if the budget construction data is viewable in general (in other words, security may still freeze some viewers out even though everyone is not excluded)

isBudgetGeneralLedgerUpdateAllowed

boolean isBudgetGeneralLedgerUpdateAllowed(Integer universityFiscalYear)
checks the fiscal year against the control table to see if the general ledger in budget construction should reflect current base budget amounts in the accounting general ledger for the fiscal year

Parameters:
universityFiscalYear -
Returns:
true if updates are allowed

isBudgetUpdateAllowed

boolean isBudgetUpdateAllowed(Integer universityFiscalYear)
checks the fiscal year against the control table to see if users can make edits to budget construction for the given year (some users may still be frozen out because of the security mechanism)

Parameters:
universityFiscalYear -
Returns:
true if authorized users can update budget construction using the application


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