public class GeneralLedgerPendingEntryDaoOjb extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb implements GeneralLedgerPendingEntryDao
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ACCOUNT_NUMBER |
protected static String |
CHART_FINANCIAL_CASH_OBJECT_CODE |
protected static String |
CHART_OF_ACCOUNTS_CODE |
protected static String |
DOC_NUMBER |
protected static String |
FINANCIAL_DOCUMENT_APPROVED_CODE |
protected static String |
OBJECT_TYPE_FIN_OBJECT_TYPE_DEBITCREDIT_CD |
protected static String |
TRANSACTION_LEDGER_ENTRY_SEQUENCE_NUMBER |
| Constructor and Description |
|---|
GeneralLedgerPendingEntryDaoOjb() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addStatusCode(org.apache.ojb.broker.query.Criteria criteria,
boolean isOnlyApproved)
add the status code into the given criteria.
|
protected List |
buildApprovalCodeList()
build a status code list including the legal approval codes
|
protected List |
buildAttributeList()
This method builds the atrribute list used by balance searching
|
org.apache.ojb.broker.query.Criteria |
buildCriteriaFromMap(Map fieldValues,
Object businessObject,
String currentFiscalPeriodCode,
Integer currentFiscalYear,
List<String> encumbranceBalanceTypes)
This method builds an OJB query criteria based on the input field map
|
protected org.apache.ojb.broker.query.Criteria |
buildCriteriaToExcludeFundBalance(SystemOptions currentYearOptions)
This method creates Criteria that exclude the fund balance object type from the result.
|
protected List |
buildGroupList()
This method builds group by attribute list used by balance searching
|
int |
countPendingLedgerEntries(Account account)
This method counts all approved pending ledger entries by account
|
void |
delete(String documentHeaderId)
Delete all pending entries for a given document
|
void |
deleteByFinancialDocumentApprovedCode(String financialDocumentApprovedCode)
Delete all pending entries based on the document approved code
|
Iterator |
findApprovedPendingLedgerEntries()
This method retrieves all approved pending ledger entries
|
Collection |
findPendingEntries(Map fieldValues,
boolean isApproved,
String currentFiscalPeriodCode,
int currentFiscalYear,
List<String> encumbranceBalanceTypes)
Find Pending Entries
|
Iterator |
findPendingLedgerEntries(Balance balance,
boolean isApproved,
boolean isConsolidated)
This method retrieves all pending ledger entries for the given encumbrance
|
Iterator |
findPendingLedgerEntries(Encumbrance encumbrance,
boolean isApproved)
This method retrieves all pending ledger entries for the given encumbrance
|
Iterator |
findPendingLedgerEntriesForAccountBalance(Map fieldValues,
boolean isApproved,
String currentFiscalPeriodCode,
int currentFiscalYear,
List<String> encumbranceBalanceTypes)
This method retrieves all pending ledger entries that may belong to the given account balance record in the future
|
Iterator |
findPendingLedgerEntriesForBalance(Map fieldValues,
boolean isApproved,
String currentFiscalPeriodCode,
int currentFY,
List<String> encumbranceBalanceTypes)
This method retrieves all pending ledger entries matching the given balance criteria
|
Iterator |
findPendingLedgerEntriesForCashBalance(Map fieldValues,
boolean isApproved,
String currentFiscalPeriodCode,
int currentFiscalYear,
List<String> encumbranceBalanceType)
This method retrieves all pending ledger entries matching the given cash balance criteria
|
Iterator |
findPendingLedgerEntriesForEncumbrance(Map fieldValues,
boolean isApproved,
String currentFiscalPeriodCode,
int currentFiscalYear,
SystemOptions currentYearOptions,
List<String> encumbranceBalanceTypes)
This method retrieves all pending ledger entries that may belong to encumbrance table in the future
|
Iterator |
findPendingLedgerEntriesForEntry(Map fieldValues,
boolean isApproved,
String currentFiscalPeriodCode,
int currentFY,
List<String> encumbranceBalanceTypes)
This method retrieves all pending ledger entries matching the given entry criteria
|
Iterator |
findPendingLedgerEntrySummaryForAccountBalance(Map fieldValues,
boolean isApproved,
String currentFiscalPeriodCode,
int currentFiscalYear,
List<String> encumbranceBalanceTypes)
This method retrieves all pending ledger entries that may belong to the given account balance record in the future
|
Class |
getEntryClass()
Gets the entryClass attribute.
|
protected Object |
getEntryClassInstance() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getTransactionSummary(Collection universityFiscalYears,
String chartOfAccountsCode,
String accountNumber,
Collection objectCodes,
Collection balanceTypeCodes,
boolean isDebit)
Get summary of amounts in the pending entry table
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTransactionSummary(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
Collection objectTypeCodes,
Collection balanceTypeCodes,
String acctSufficientFundsFinObjCd,
boolean isYearEnd)
Get summary of amounts in the pending entry table
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTransactionSummary(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
Collection objectTypeCodes,
Collection balanceTypeCodes,
String acctSufficientFundsFinObjCd,
boolean isDebit,
boolean isYearEnd)
Get summary of amounts in the pending entry table
|
getDbPlatform, setDbPlatformprotected static final String TRANSACTION_LEDGER_ENTRY_SEQUENCE_NUMBER
protected static final String FINANCIAL_DOCUMENT_APPROVED_CODE
protected static final String ACCOUNT_NUMBER
protected static final String DOC_NUMBER
protected static final String CHART_OF_ACCOUNTS_CODE
protected static final String CHART_FINANCIAL_CASH_OBJECT_CODE
protected static final String OBJECT_TYPE_FIN_OBJECT_TYPE_DEBITCREDIT_CD
public GeneralLedgerPendingEntryDaoOjb()
public org.kuali.rice.core.api.util.type.KualiDecimal getTransactionSummary(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, Collection objectTypeCodes, Collection balanceTypeCodes, String acctSufficientFundsFinObjCd, boolean isYearEnd)
GeneralLedgerPendingEntryDaogetTransactionSummary in interface GeneralLedgerPendingEntryDaoorg.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#getTransactionSummary(java.lang.Integer, java.lang.String,
java.lang.String, java.util.Collection, java.util.Collection, java.lang.String, boolean)public org.kuali.rice.core.api.util.type.KualiDecimal getTransactionSummary(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, Collection objectTypeCodes, Collection balanceTypeCodes, String acctSufficientFundsFinObjCd, boolean isDebit, boolean isYearEnd)
GeneralLedgerPendingEntryDaogetTransactionSummary in interface GeneralLedgerPendingEntryDaoorg.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#getTransactionSummary(java.lang.Integer, java.lang.String,
java.lang.String, java.util.Collection, java.util.Collection, boolean, boolean)public org.kuali.rice.core.api.util.type.KualiDecimal getTransactionSummary(Collection universityFiscalYears, String chartOfAccountsCode, String accountNumber, Collection objectCodes, Collection balanceTypeCodes, boolean isDebit)
GeneralLedgerPendingEntryDaogetTransactionSummary in interface GeneralLedgerPendingEntryDaoorg.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#getTransactionSummary(java.util.Collection, java.lang.String,
java.lang.String, java.util.Collection, java.util.Collection, boolean)public void delete(String documentHeaderId)
GeneralLedgerPendingEntryDaodelete in interface GeneralLedgerPendingEntryDaopublic void deleteByFinancialDocumentApprovedCode(String financialDocumentApprovedCode)
GeneralLedgerPendingEntryDaodeleteByFinancialDocumentApprovedCode in interface GeneralLedgerPendingEntryDaopublic Iterator findApprovedPendingLedgerEntries()
GeneralLedgerPendingEntryDaofindApprovedPendingLedgerEntries in interface GeneralLedgerPendingEntryDaoorg.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#findApprovedPendingLedgerEntries()public int countPendingLedgerEntries(Account account)
GeneralLedgerPendingEntryDaocountPendingLedgerEntries in interface GeneralLedgerPendingEntryDaoaccount - the given accountorg.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#countPendingLedgerEntries(org.kuali.ole.coa.businessobject.Account)public Iterator findPendingLedgerEntries(Encumbrance encumbrance, boolean isApproved)
GeneralLedgerPendingEntryDaofindPendingLedgerEntries in interface GeneralLedgerPendingEntryDaoencumbrance - the encumbrance entry in the GL_Encumbrance_T tableisApproved - the flag that indicates whether the pending entries are approved or don't careorg.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#findPendingLedgerEntries(org.kuali.ole.gl.businessobject.Encumbrance,
boolean)public Iterator findPendingLedgerEntries(Balance balance, boolean isApproved, boolean isConsolidated)
GeneralLedgerPendingEntryDaofindPendingLedgerEntries in interface GeneralLedgerPendingEntryDaobalance - the balance entryisApproved - the flag that indicates whether the pending entries are approved or don't careisConsolidated - consolidation option is applied or notorg.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#findPendingLedgerEntries(org.kuali.ole.gl.businessobject.Balance,
boolean, boolean)public Iterator findPendingLedgerEntriesForEntry(Map fieldValues, boolean isApproved, String currentFiscalPeriodCode, int currentFY, List<String> encumbranceBalanceTypes)
GeneralLedgerPendingEntryDaofindPendingLedgerEntriesForEntry in interface GeneralLedgerPendingEntryDaofieldValues - the input fields and valuesisApproved - the flag that indicates whether the pending entries are approved or don't carecurrentFiscalPeriodCode - current fiscal year period codecurrentFY - current fiscal yearencumbranceBalanceTypes - a list of encumbranceBalanceTypesorg.kuali.ole.sys.dataaccess.GeneralLedgerPendingEntryDao#findPendingLedgerEntriesForEntry(java.util.Map, boolean,
java.lang.String, int)public Iterator findPendingLedgerEntriesForBalance(Map fieldValues, boolean isApproved, String currentFiscalPeriodCode, int currentFY, List<String> encumbranceBalanceTypes)
GeneralLedgerPendingEntryDaofindPendingLedgerEntriesForBalance in interface GeneralLedgerPendingEntryDaofieldValues - the input fields and valuesisApproved - the flag that indicates whether the pending entries are approved or don't carecurrentFiscalPeriodCode - current fiscal year period codecurrentFY - current fiscal yearencumbranceBalanceTypes - a list of encumbranceBalanceTypesorg.kuali.ole.sys.dataaccess.GeneralLedgerPendingEntryDao#findPendingLedgerEntriesForBalance(java.util.Map, boolean,
java.lang.String, int)public Iterator findPendingLedgerEntriesForCashBalance(Map fieldValues, boolean isApproved, String currentFiscalPeriodCode, int currentFiscalYear, List<String> encumbranceBalanceType)
GeneralLedgerPendingEntryDaofindPendingLedgerEntriesForCashBalance in interface GeneralLedgerPendingEntryDaofieldValues - the input fields and valuesisApproved - the flag that indicates whether the pending entries are approved or don't carecurrentFiscalPeriodCode - current fiscal year period codecurrentFiscalYear - current fiscal yearencumbranceBalanceType - a list of encumbranceBalanceTypes for the given universityFiscalYear if this is passed in the
fieldValues or the Current Year Encumbrance Balance Types if universityFiscalYear is not presentorg.kuali.ole.sys.dataaccess.GeneralLedgerPendingEntryDao#findPendingLedgerEntriesForCashBalance(java.util.Map, boolean,
java.lang.String, int)public Iterator findPendingLedgerEntriesForEncumbrance(Map fieldValues, boolean isApproved, String currentFiscalPeriodCode, int currentFiscalYear, SystemOptions currentYearOptions, List<String> encumbranceBalanceTypes)
GeneralLedgerPendingEntryDaofindPendingLedgerEntriesForEncumbrance in interface GeneralLedgerPendingEntryDaofieldValues - the input fields and valuesisApproved - the flag that indicates whether the pending entries are approved or don't carecurrentFiscalPeriodCode - current fiscal year period codecurrentYearOptions - the current year system optionsencumbranceBalanceTypes - a list of encumbranceBalanceTypes for the given universityFiscalYear if this is passed in the
fieldValues or the Current Year Encumbrance Balance Types if universityFiscalYear is not presentGeneralLedgerPendingEntryDao.findPendingLedgerEntriesForEncumbrance(java.util.Map, boolean,
java.lang.String, int, org.kuali.ole.sys.businessobject.SystemOptions, java.util.List)protected org.apache.ojb.broker.query.Criteria buildCriteriaToExcludeFundBalance(SystemOptions currentYearOptions)
public Iterator findPendingLedgerEntriesForAccountBalance(Map fieldValues, boolean isApproved, String currentFiscalPeriodCode, int currentFiscalYear, List<String> encumbranceBalanceTypes)
GeneralLedgerPendingEntryDaofindPendingLedgerEntriesForAccountBalance in interface GeneralLedgerPendingEntryDaofieldValues - the input fields and valuesisApproved - the flag that indicates whether the pending entries are approved or don't carecurrentFiscalPeriodCode - current fiscal year period codeencumbranceBalanceTypes - a list of encumbranceBalanceTypes for the given universityFiscalYear if this is passed in the
fieldValues or the Current Year Encumbrance Balance Types if universityFiscalYear is not presentGeneralLedgerPendingEntryDao.findPendingLedgerEntriesForAccountBalance(Map, boolean,
String, int, List)public Iterator findPendingLedgerEntrySummaryForAccountBalance(Map fieldValues, boolean isApproved, String currentFiscalPeriodCode, int currentFiscalYear, List<String> encumbranceBalanceTypes)
GeneralLedgerPendingEntryDaofindPendingLedgerEntrySummaryForAccountBalance in interface GeneralLedgerPendingEntryDaofieldValues - the input fields and valuesisApproved - the flag that indicates whether the pending entries are approved or don't carecurrentFiscalPeriodCode - current fiscal year period codeencumbranceBalanceTypes - a list of encumbranceBalanceTypes for the given universityFiscalYear if this is passed in the
fieldValues or the Current Year Encumbrance Balance Types if universityFiscalYear is not presentGeneralLedgerPendingEntryDao.findPendingLedgerEntrySummaryForAccountBalance(java.util.Map,
boolean, java.lang.String, int, java.util.List)protected List buildAttributeList()
protected List buildGroupList()
protected void addStatusCode(org.apache.ojb.broker.query.Criteria criteria, boolean isOnlyApproved)
criteria - the given criteriaisApproved - the flag that indictates if only approved status code can be added into the given searach criteriaprotected List buildApprovalCodeList()
public org.apache.ojb.broker.query.Criteria buildCriteriaFromMap(Map fieldValues, Object businessObject, String currentFiscalPeriodCode, Integer currentFiscalYear, List<String> encumbranceBalanceTypes)
fieldValues - the input field mapbusinessObject - the given business objectpublic Collection findPendingEntries(Map fieldValues, boolean isApproved, String currentFiscalPeriodCode, int currentFiscalYear, List<String> encumbranceBalanceTypes)
GeneralLedgerPendingEntryDaofindPendingEntries in interface GeneralLedgerPendingEntryDaoencumbranceBalanceTypes - a list of encumbranceBalanceTypes for the given universityFiscalYear if this is passed in the
fieldValues or the Current Year Encumbrance Balance Types if universityFiscalYear is not presentGeneralLedgerPendingEntryDao.findPendingEntries(java.util.Map, boolean, java.lang.String,
int, java.util.List)public Class getEntryClass()
protected Object getEntryClassInstance()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.