org.kuali.kfs.module.bc.document.service.impl
Class BudgetConstructionMonthlyBudgetsCreateDeleteServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.bc.document.service.impl.BudgetConstructionMonthlyBudgetsCreateDeleteServiceImpl
All Implemented Interfaces:
BudgetConstructionMonthlyBudgetsCreateDeleteService

@Transactional
public class BudgetConstructionMonthlyBudgetsCreateDeleteServiceImpl
extends Object
implements BudgetConstructionMonthlyBudgetsCreateDeleteService

See Also:
org.kuali.module.budget.service.BudgetConctructionMonthlyBudgetsCreateDeleteService

Constructor Summary
BudgetConstructionMonthlyBudgetsCreateDeleteServiceImpl()
           
 
Method Summary
 void deleteBudgetConstructionMonthlyBudgetsExpenditure(String documentNumber, Integer fiscalYear, String chartCode, String accountNumber, String subAccountNumber)
          remove the existing expenditure monthly budgets for this key
 void deleteBudgetConstructionMonthlyBudgetsRevenue(String documentNumber, Integer fiscalYear, String chartCode, String accountNumber, String subAccountNumber)
          remove the existing revenue monthly budgets for this key
 void setBudgetConstructionMonthlyBudgetsCreateDeleteDao(BudgetConstructionMonthlyBudgetsCreateDeleteDao budgetConstructionMonthlyBudgetsCreateDeleteDao)
          set method for the Dao
 boolean spreadBudgetConstructionMonthlyBudgetsExpenditure(String documentNumber, Integer fiscalYear, String chartCode, String accountNumber, String subAccountNumber)
          spread the expenditures for this key evenly over 12 months, with any reaminder mod 12 added to the first month
 void spreadBudgetConstructionMonthlyBudgetsRevenue(String documentNumber, Integer fiscalYear, String chartCode, String accountNumber, String subAccountNumber)
          spread the revenue for this key evenly over 12 months, with any remainder mod 12 added to the first month
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BudgetConstructionMonthlyBudgetsCreateDeleteServiceImpl

public BudgetConstructionMonthlyBudgetsCreateDeleteServiceImpl()
Method Detail

deleteBudgetConstructionMonthlyBudgetsRevenue

public void deleteBudgetConstructionMonthlyBudgetsRevenue(String documentNumber,
                                                          Integer fiscalYear,
                                                          String chartCode,
                                                          String accountNumber,
                                                          String subAccountNumber)
                                                   throws IOException,
                                                          NoSuchFieldException
Description copied from interface: BudgetConstructionMonthlyBudgetsCreateDeleteService
remove the existing revenue monthly budgets for this key

Specified by:
deleteBudgetConstructionMonthlyBudgetsRevenue in interface BudgetConstructionMonthlyBudgetsCreateDeleteService
Parameters:
documentNumber - the budget construction document number
fiscalYear - the fiscal year for which the budget is being built. this and the fields below are the key to a budget construction document
Throws:
IOException
NoSuchFieldException
See Also:
BudgetConstructionMonthlyBudgetsCreateDeleteService.deleteBudgetConstructionMonthlyBudgetsRevenue(java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String)

deleteBudgetConstructionMonthlyBudgetsExpenditure

public void deleteBudgetConstructionMonthlyBudgetsExpenditure(String documentNumber,
                                                              Integer fiscalYear,
                                                              String chartCode,
                                                              String accountNumber,
                                                              String subAccountNumber)
                                                       throws IOException,
                                                              NoSuchFieldException
Description copied from interface: BudgetConstructionMonthlyBudgetsCreateDeleteService
remove the existing expenditure monthly budgets for this key

Specified by:
deleteBudgetConstructionMonthlyBudgetsExpenditure in interface BudgetConstructionMonthlyBudgetsCreateDeleteService
Parameters:
documentNumber - the budget construction document number
fiscalYear - the fiscal year for which the budget is being built. this and the fields below are the key to a budget construction document
Throws:
IOException
NoSuchFieldException
See Also:
BudgetConstructionMonthlyBudgetsCreateDeleteService.deleteBudgetConstructionMonthlyBudgetsExpenditure(java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String)

spreadBudgetConstructionMonthlyBudgetsRevenue

public void spreadBudgetConstructionMonthlyBudgetsRevenue(String documentNumber,
                                                          Integer fiscalYear,
                                                          String chartCode,
                                                          String accountNumber,
                                                          String subAccountNumber)
                                                   throws IOException,
                                                          NoSuchFieldException
Description copied from interface: BudgetConstructionMonthlyBudgetsCreateDeleteService
spread the revenue for this key evenly over 12 months, with any remainder mod 12 added to the first month

Specified by:
spreadBudgetConstructionMonthlyBudgetsRevenue in interface BudgetConstructionMonthlyBudgetsCreateDeleteService
Parameters:
documentNumber - the budget construction document number
fiscalYear - the fiscal year for which the budget is being built. this and the fields below are the key to a budget construction document
Throws:
IOException
NoSuchFieldException
See Also:
BudgetConstructionMonthlyBudgetsCreateDeleteService.spreadBudgetConstructionMonthlyBudgetsRevenue(java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String)

spreadBudgetConstructionMonthlyBudgetsExpenditure

public boolean spreadBudgetConstructionMonthlyBudgetsExpenditure(String documentNumber,
                                                                 Integer fiscalYear,
                                                                 String chartCode,
                                                                 String accountNumber,
                                                                 String subAccountNumber)
                                                          throws IOException,
                                                                 NoSuchFieldException
Description copied from interface: BudgetConstructionMonthlyBudgetsCreateDeleteService
spread the expenditures for this key evenly over 12 months, with any reaminder mod 12 added to the first month

Specified by:
spreadBudgetConstructionMonthlyBudgetsExpenditure in interface BudgetConstructionMonthlyBudgetsCreateDeleteService
Parameters:
documentNumber - the budget construction document number
fiscalYear - the fiscal year for which the budget is being built. this and the fields below are the key to a budget construction document
Returns:
FAILED if the SQL could not be built, BENEFITS if benefits need to be recalculated, NO_BENEFITS otherwise
Throws:
IOException
NoSuchFieldException
See Also:
BudgetConstructionMonthlyBudgetsCreateDeleteService.spreadBudgetConstructionMonthlyBudgetsExpenditure(java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String)

setBudgetConstructionMonthlyBudgetsCreateDeleteDao

public void setBudgetConstructionMonthlyBudgetsCreateDeleteDao(BudgetConstructionMonthlyBudgetsCreateDeleteDao budgetConstructionMonthlyBudgetsCreateDeleteDao)
set method for the Dao

Parameters:
budgetConstructionMonthlyBudgetsCreateDeleteDao -


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