org.kuali.kfs.module.bc.document.dataaccess.impl
Class BudgetConstructionMonthlyBudgetsCreateDeleteDaoJdbc
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport
org.kuali.rice.kns.dao.jdbc.PlatformAwareDaoBaseJdbc
org.kuali.kfs.module.bc.document.dataaccess.impl.BudgetConstructionDaoJdbcBase
org.kuali.kfs.module.bc.document.dataaccess.impl.BudgetConstructionMonthlyBudgetsCreateDeleteDaoJdbc
- All Implemented Interfaces:
- BudgetConstructionMonthlyBudgetsCreateDeleteDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean
public class BudgetConstructionMonthlyBudgetsCreateDeleteDaoJdbc
- extends BudgetConstructionDaoJdbcBase
- implements BudgetConstructionMonthlyBudgetsCreateDeleteDao
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
protected boolean |
budgetConstructionMonthlyBudgetContainsBenefitsExpenditure(String BenefitsObjectsCheckSQL,
String documentNumber,
Integer fiscalYear,
String chartCode,
String accountNumber,
String subAccountNumber)
return true if there are benefits object codes in the general ledger for the document, false otherwise |
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 |
setPersistenceService(org.kuali.rice.kns.service.PersistenceService persistenceService)
|
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 org.kuali.kfs.module.bc.document.dataaccess.impl.BudgetConstructionDaoJdbcBase |
clearTempTableBySesId, clearTempTableByUnvlId, getExpenditureINList, getFiscalYearStartDate, getRevenueINList, getSqlSubStringFunction, inString, inString, setOjbOraclePlatform, setOjbPlatform, setParameterService |
Methods inherited from class org.kuali.rice.kns.dao.jdbc.PlatformAwareDaoBaseJdbc |
getDbPlatform, setDbPlatform |
Methods inherited from class org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport |
getSimpleJdbcTemplate, initTemplateConfig |
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, releaseConnection, setDataSource, setJdbcTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BudgetConstructionMonthlyBudgetsCreateDeleteDaoJdbc
public BudgetConstructionMonthlyBudgetsCreateDeleteDaoJdbc()
deleteBudgetConstructionMonthlyBudgetsRevenue
public void deleteBudgetConstructionMonthlyBudgetsRevenue(String documentNumber,
Integer fiscalYear,
String chartCode,
String accountNumber,
String subAccountNumber)
- Description copied from interface:
BudgetConstructionMonthlyBudgetsCreateDeleteDao
- remove the existing revenue monthly budgets for this key
- Specified by:
deleteBudgetConstructionMonthlyBudgetsRevenue
in interface BudgetConstructionMonthlyBudgetsCreateDeleteDao
- Parameters:
documentNumber
- the budget construction document numberfiscalYear
- the fiscal year for which the budget is being built- See Also:
org.kuali.kfs.module.bc.document.dataaccess.BudgetConstructionMonthlyBudgetsCreateDeleteDao#BudgetConstructionMonthlyBudgetsDeleteRevenue(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
deleteBudgetConstructionMonthlyBudgetsExpenditure
public void deleteBudgetConstructionMonthlyBudgetsExpenditure(String documentNumber,
Integer fiscalYear,
String chartCode,
String accountNumber,
String subAccountNumber)
- Description copied from interface:
BudgetConstructionMonthlyBudgetsCreateDeleteDao
- remove the existing expenditure monthly budgets for this key
- Specified by:
deleteBudgetConstructionMonthlyBudgetsExpenditure
in interface BudgetConstructionMonthlyBudgetsCreateDeleteDao
- Parameters:
documentNumber
- the budget construction document numberfiscalYear
- the fiscal year for which the budget is being built- See Also:
org.kuali.kfs.module.bc.document.dataaccess.BudgetConstructionMonthlyBudgetsCreateDeleteDao#BudgetConstructionMonthlyBudgetsDeleteExpenditure(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
spreadBudgetConstructionMonthlyBudgetsRevenue
public void spreadBudgetConstructionMonthlyBudgetsRevenue(String documentNumber,
Integer fiscalYear,
String chartCode,
String accountNumber,
String subAccountNumber)
- Description copied from interface:
BudgetConstructionMonthlyBudgetsCreateDeleteDao
- 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 BudgetConstructionMonthlyBudgetsCreateDeleteDao
- Parameters:
documentNumber
- the budget construction document numberfiscalYear
- the fiscal year for which the budget is being built- See Also:
org.kuali.kfs.module.bc.document.dataaccess.BudgetConstructionMonthlyBudgetsCreateDeleteDao#BudgetConstructionMonthlyBudgetsSpreadRevenue(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
spreadBudgetConstructionMonthlyBudgetsExpenditure
public boolean spreadBudgetConstructionMonthlyBudgetsExpenditure(String documentNumber,
Integer fiscalYear,
String chartCode,
String accountNumber,
String subAccountNumber)
- Description copied from interface:
BudgetConstructionMonthlyBudgetsCreateDeleteDao
- 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 BudgetConstructionMonthlyBudgetsCreateDeleteDao
- Parameters:
documentNumber
- the budget construction document numberfiscalYear
- the fiscal year for which the budget is being built
- Returns:
- true benefits need to be recomputed, false otherwise
- See Also:
org.kuali.kfs.module.bc.document.dataaccess.BudgetConstructionMonthlyBudgetsCreateDeleteDao#BudgetConstructionMonthlyBudgetsSpreadExpenditure(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
budgetConstructionMonthlyBudgetContainsBenefitsExpenditure
protected boolean budgetConstructionMonthlyBudgetContainsBenefitsExpenditure(String BenefitsObjectsCheckSQL,
String documentNumber,
Integer fiscalYear,
String chartCode,
String accountNumber,
String subAccountNumber)
- return true if there are benefits object codes in the general ledger for the document, false otherwise
setPersistenceService
public void setPersistenceService(org.kuali.rice.kns.service.PersistenceService persistenceService)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.