public class SufficientFundsDaoOjb extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb implements SufficientFundsDao
Constructor and Description |
---|
SufficientFundsDaoOjb()
Constructs a SufficientFundsDaoOjb instance
|
Modifier and Type | Method and Description |
---|---|
org.kuali.rice.core.api.util.type.KualiDecimal |
calculateM113PendActual(boolean financialBeginBalanceLoadInd,
Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
List specialFinancialObjectCodes,
String financialObjectCodeForCashInBank)
Calculate the prior fiscal year pending actual amount
|
protected org.kuali.rice.core.api.util.type.KualiDecimal |
calculateM113PendActual1(boolean financialBeginBalanceLoadInd,
Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
boolean isEqualDebitCode,
String financialObjectCodeForCashInBank)
calculate part of the actual total
|
protected org.kuali.rice.core.api.util.type.KualiDecimal |
calculateM113PendActual2(boolean financialBeginBalanceLoadInd,
Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
boolean isEqualDebitCode,
List specialFinancialObjectCodes)
Calculate part of the actual total
|
org.kuali.rice.core.api.util.type.KualiDecimal |
calculateM113PfyrBudget(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber)
Calculate the Prior Fiscal Year Budget total
|
org.kuali.rice.core.api.util.type.KualiDecimal |
calculateM113PfyrEncum(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber)
Calculate the prior fiscal year encumbrance total
|
org.kuali.rice.core.api.util.type.KualiDecimal |
calculatePendActual(boolean isYearEndDocument,
String actualFinancialBalanceTypeCd,
Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
String acctSufficientFundsFinObjCd,
List expenditureCodes)
Calculates the current pending actual
|
protected org.kuali.rice.core.api.util.type.KualiDecimal |
calculatePendActual1(boolean isYearEndDocument,
String actualFinancialBalanceTypeCd,
Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
String acctSufficientFundsFinObjCd,
boolean isEqualDebitCode,
List expenditureCodes)
Calculate this part of the actual total
|
org.kuali.rice.core.api.util.type.KualiDecimal |
calculatePendBudget(boolean isYearEndDocument,
String budgetCheckingBalanceTypeCd,
Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
String acctSufficientFundsFinObjCd,
List expenditureCodes)
calculates the current year pending budget total
|
org.kuali.rice.core.api.util.type.KualiDecimal |
calculatePendEncum(boolean isYearEndDocument,
String extrnlEncumFinBalanceTypCd,
String intrnlEncumFinBalanceTypCd,
String preencumbranceFinBalTypeCd,
Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
String acctSufficientFundsFinObjCd,
List expenditureCodes)
Calculates the current year pending encumbrance total
|
protected org.kuali.rice.core.api.util.type.KualiDecimal |
calculatePendEncum1(boolean isYearEndDocument,
String extrnlEncumFinBalanceTypCd,
String intrnlEncumFinBalanceTypCd,
String preencumbranceFinBalTypeCd,
Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
String acctSufficientFundsFinObjCd,
boolean isEqualDebitCode,
List expenditureCodes)
Calcluate this part of the encumbrance total
|
protected org.kuali.rice.core.api.util.type.KualiDecimal |
executeReportQuery(org.apache.ojb.broker.query.ReportQueryByCriteria reportQuery)
This returns the very first value returned by a report query and then makes certain that OJB closes the
connection that retrieved the query data
|
void |
purgeYearByChart(String chartOfAccountsCode,
int year)
Purge table by year/chart
|
getDbPlatform, setDbPlatform
public SufficientFundsDaoOjb()
public org.kuali.rice.core.api.util.type.KualiDecimal calculateM113PfyrBudget(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber)
calculateM113PfyrBudget
in interface SufficientFundsDao
universityFiscalYear
- the university fiscal year of sufficient funds balances that will be summarizedchartOfAccountCode
- the chart of accounts code of sufficient fund balance records that will be summarizedaccountNumber
- the account number of sufficient fund balances that will be summarizedSufficientFundsDao.calculateM113PfyrBudget(java.lang.Integer, java.lang.String,
java.lang.String)
public org.kuali.rice.core.api.util.type.KualiDecimal calculateM113PfyrEncum(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber)
calculateM113PfyrEncum
in interface SufficientFundsDao
universityFiscalYear
- the university fiscal year of sufficient funds balances to summarizechartOfAccountsCode
- the chart of accounts code of sufficient funds balances to summarizeaccountNumber
- the account number of sufficient fund balances to summarizeSufficientFundsDao.calculateM113PfyrEncum(java.lang.Integer, java.lang.String, java.lang.String)
public org.kuali.rice.core.api.util.type.KualiDecimal calculateM113PendActual(boolean financialBeginBalanceLoadInd, Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, List specialFinancialObjectCodes, String financialObjectCodeForCashInBank)
calculateM113PendActual
in interface SufficientFundsDao
universityFiscalYear
- the university fiscal year of sufficient funds balances to summarizechartOfAccountsCode
- the chart of accounts code of sufficient funds balances to summarizeaccountNumber
- the account number of sufficient fund balances to summarizespecialFinancialObjectCodes
- this actually doesn't seem to be usedfinancialObjectCodeForCashInBank
- the object code for cash in the bankSufficientFundsDao.calculateM113PendActual(boolean, java.lang.Integer, java.lang.String,
java.lang.String, List, String)
public org.kuali.rice.core.api.util.type.KualiDecimal calculatePendActual(boolean isYearEndDocument, String actualFinancialBalanceTypeCd, Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String acctSufficientFundsFinObjCd, List expenditureCodes)
calculatePendActual
in interface SufficientFundsDao
isYearEndDocument
- should year end documents be included?actualFinancialBalanceTypeCd
- the actual balance type codeuniversityFiscalYear
- the university fiscal year of sufficient funds balances to summarizechartOfAccountsCode
- the chart of accounts code of sufficient funds balances to summarizeaccountNumber
- the account number of sufficient fund balances to summarizeacctSufficientFundsFinObjCd
- the object code for sufficient fundsexpenditureCodes
- object codes that represent expendituresSufficientFundsDao.calculatePendActual(boolean, java.lang.String, java.lang.Integer,
java.lang.String, java.lang.String, java.lang.String, List)
public org.kuali.rice.core.api.util.type.KualiDecimal calculatePendBudget(boolean isYearEndDocument, String budgetCheckingBalanceTypeCd, Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String acctSufficientFundsFinObjCd, List expenditureCodes)
calculatePendBudget
in interface SufficientFundsDao
isYearEndDocument
- should year end documents be included?budgetCheckingBalanceTypeCd
- the budget balance type codeuniversityFiscalYear
- the university fiscal year of sufficient funds balances to summarizechartOfAccountsCode
- the chart of accounts code of sufficient funds balances to summarizeaccountNumber
- the account number of sufficient fund balances to summarizeacctSufficientFundsFinObjCd
- the object code for sufficient fundsexpenditureCodes
- object codes that represent expendituresSufficientFundsDao.calculatePendBudget(boolean, java.lang.String, java.lang.Integer,
java.lang.String, java.lang.String, java.lang.String, List)
public org.kuali.rice.core.api.util.type.KualiDecimal calculatePendEncum(boolean isYearEndDocument, String extrnlEncumFinBalanceTypCd, String intrnlEncumFinBalanceTypCd, String preencumbranceFinBalTypeCd, Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String acctSufficientFundsFinObjCd, List expenditureCodes)
calculatePendEncum
in interface SufficientFundsDao
isYearEndDocument
- should year end documents be included?extrnlEncumFinBalanceTypCd
- the external encumbrance balance typeintrnlEncumFinBalanceTypCd
- the internal encumbrance balance typepreencumbranceFinBalTypeCd
- the pre-encumbrance balance typeuniversityFiscalYear
- the university fiscal year of sufficient funds balances to summarizechartOfAccountsCode
- the chart of accounts code of sufficient funds balances to summarizeaccountNumber
- the account number of sufficient fund balances to summarizeacctSufficientFundsFinObjCd
- the object code for sufficient fundsexpenditureCodes
- object codes that represent expendituresSufficientFundsDao.calculatePendEncum(boolean, java.lang.String, java.lang.String,
java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, List)
protected org.kuali.rice.core.api.util.type.KualiDecimal calculatePendEncum1(boolean isYearEndDocument, String extrnlEncumFinBalanceTypCd, String intrnlEncumFinBalanceTypCd, String preencumbranceFinBalTypeCd, Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String acctSufficientFundsFinObjCd, boolean isEqualDebitCode, List expenditureCodes)
isYearEndDocument
- should year end documents be included?extrnlEncumFinBalanceTypCd
- the external encumbrance balance typeintrnlEncumFinBalanceTypCd
- the internal encumbrance balance typepreencumbranceFinBalTypeCd
- the pre-encumbrance balance typeuniversityFiscalYear
- the university fiscal year of sufficient funds balances to summarizechartOfAccountsCode
- the chart of accounts code of sufficient funds balances to summarizeaccountNumber
- the account number of sufficient fund balances to summarizeacctSufficientFundsFinObjCd
- the object code for sufficient fundsisEqualDebitCode
- should debits be included in the calculation or notprotected org.kuali.rice.core.api.util.type.KualiDecimal calculatePendActual1(boolean isYearEndDocument, String actualFinancialBalanceTypeCd, Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String acctSufficientFundsFinObjCd, boolean isEqualDebitCode, List expenditureCodes)
isYearEndDocument
- should year end documents be included?actualFinancialBalanceTypeCd
- the actual balance type codeuniversityFiscalYear
- the university fiscal year of sufficient funds balances to summarizechartOfAccountsCode
- the chart of accounts code of sufficient funds balances to summarizeaccountNumber
- the account number of sufficient fund balances to summarizeacctSufficientFundsFinObjCd
- the object code for sufficient fundsprotected org.kuali.rice.core.api.util.type.KualiDecimal calculateM113PendActual1(boolean financialBeginBalanceLoadInd, Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, boolean isEqualDebitCode, String financialObjectCodeForCashInBank)
universityFiscalYear
- the university fiscal year of sufficient funds balances to summarizechartOfAccountsCode
- the chart of accounts code of sufficient funds balances to summarizeaccountNumber
- the account number of sufficient fund balances to summarizeprotected org.kuali.rice.core.api.util.type.KualiDecimal calculateM113PendActual2(boolean financialBeginBalanceLoadInd, Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, boolean isEqualDebitCode, List specialFinancialObjectCodes)
universityFiscalYear
- the university fiscal year of sufficient funds balances to summarizechartOfAccountsCode
- the chart of accounts code of sufficient funds balances to summarizeaccountNumber
- the account number of sufficient fund balances to summarizeisEqualDebitCode
- should this query be returning debits or not?specialFinancialObjectCodes
- include only these financial object codespublic void purgeYearByChart(String chartOfAccountsCode, int year)
purgeYearByChart
in interface SufficientFundsDao
chart
- the chart of sufficient fund balances to purgeyear
- the year of sufficient fund balances to purgeprotected org.kuali.rice.core.api.util.type.KualiDecimal executeReportQuery(org.apache.ojb.broker.query.ReportQueryByCriteria reportQuery)
reportQuery
- the ReportQuery to find the first value forCopyright © 2004–2015 The Kuali Foundation. All rights reserved.