|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
org.kuali.kfs.sys.dataaccess.impl.GeneralLedgerPendingEntryDaoOjb
public class GeneralLedgerPendingEntryDaoOjb
Field Summary | |
---|---|
protected static String |
ACCOUNT_NUMBER
|
protected static String |
CHART_FINANCIAL_CASH_OBJECT_CODE
|
protected static String |
CHART_OF_ACCOUNTS_CODE
|
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
|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
GeneralLedgerPendingEntryDaoOjb()
|
Method Summary | |
---|---|
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)
This method builds an OJB query criteria based on the input field map |
protected org.apache.ojb.broker.query.Criteria |
buildCriteriaToExcludeFundBalance()
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)
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)
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)
This method retrieves all pending ledger entries matching the given balance criteria |
Iterator |
findPendingLedgerEntriesForCashBalance(Map fieldValues,
boolean isApproved)
This method retrieves all pending ledger entries matching the given cash balance criteria |
Iterator |
findPendingLedgerEntriesForEncumbrance(Map fieldValues,
boolean isApproved)
This method retrieves all pending ledger entries that may belong to encumbrance table in the future |
Iterator |
findPendingLedgerEntriesForEntry(Map fieldValues,
boolean isApproved)
This method retrieves all pending ledger entries matching the given entry criteria |
Iterator |
findPendingLedgerEntrySummaryForAccountBalance(Map fieldValues,
boolean isApproved)
This method retrieves all pending ledger entries that may belong to the given account balance record in the future |
GeneralLedgerPendingEntry |
getByPrimaryId(String documentHeaderId,
Integer transactionLedgerEntrySequenceNumber)
|
Class |
getEntryClass()
Gets the entryClass attribute. |
protected Object |
getEntryClassInstance()
|
OptionsService |
getOptionsService()
|
org.kuali.rice.kns.util.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.kns.util.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.kns.util.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 |
void |
save(GeneralLedgerPendingEntry generalLedgerPendingEntry)
|
void |
setBalanceTypService(BalanceTypeService balanceTypService)
|
void |
setOptionsService(OptionsService optionsService)
|
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
Methods inherited from class org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb |
---|
getDbPlatform, setDbPlatform |
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport |
---|
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate |
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 |
Field Detail |
---|
protected 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 CHART_OF_ACCOUNTS_CODE
protected static final String CHART_FINANCIAL_CASH_OBJECT_CODE
protected static final String OBJECT_TYPE_FIN_OBJECT_TYPE_DEBITCREDIT_CD
Constructor Detail |
---|
public GeneralLedgerPendingEntryDaoOjb()
Method Detail |
---|
public org.kuali.rice.kns.util.KualiDecimal getTransactionSummary(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, Collection objectTypeCodes, Collection balanceTypeCodes, String acctSufficientFundsFinObjCd, boolean isYearEnd)
GeneralLedgerPendingEntryDao
getTransactionSummary
in interface GeneralLedgerPendingEntryDao
org.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.kns.util.KualiDecimal getTransactionSummary(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, Collection objectTypeCodes, Collection balanceTypeCodes, String acctSufficientFundsFinObjCd, boolean isDebit, boolean isYearEnd)
GeneralLedgerPendingEntryDao
getTransactionSummary
in interface GeneralLedgerPendingEntryDao
org.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.kns.util.KualiDecimal getTransactionSummary(Collection universityFiscalYears, String chartOfAccountsCode, String accountNumber, Collection objectCodes, Collection balanceTypeCodes, boolean isDebit)
GeneralLedgerPendingEntryDao
getTransactionSummary
in interface GeneralLedgerPendingEntryDao
org.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#getTransactionSummary(java.util.Collection, java.lang.String,
java.lang.String, java.util.Collection, java.util.Collection, boolean)
public GeneralLedgerPendingEntry getByPrimaryId(String documentHeaderId, Integer transactionLedgerEntrySequenceNumber)
getByPrimaryId
in interface GeneralLedgerPendingEntryDao
public void save(GeneralLedgerPendingEntry generalLedgerPendingEntry)
save
in interface GeneralLedgerPendingEntryDao
public void delete(String documentHeaderId)
GeneralLedgerPendingEntryDao
delete
in interface GeneralLedgerPendingEntryDao
public void deleteByFinancialDocumentApprovedCode(String financialDocumentApprovedCode)
GeneralLedgerPendingEntryDao
deleteByFinancialDocumentApprovedCode
in interface GeneralLedgerPendingEntryDao
public Iterator findApprovedPendingLedgerEntries()
GeneralLedgerPendingEntryDao
findApprovedPendingLedgerEntries
in interface GeneralLedgerPendingEntryDao
org.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#findApprovedPendingLedgerEntries()
public int countPendingLedgerEntries(Account account)
GeneralLedgerPendingEntryDao
countPendingLedgerEntries
in interface GeneralLedgerPendingEntryDao
account
- the given account
org.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#countPendingLedgerEntries(org.kuali.kfs.coa.businessobject.Account)
public Iterator findPendingLedgerEntries(Encumbrance encumbrance, boolean isApproved)
GeneralLedgerPendingEntryDao
findPendingLedgerEntries
in interface GeneralLedgerPendingEntryDao
encumbrance
- the encumbrance entry in the GL_Encumbrance_T tableisApproved
- the flag that indicates whether the pending entries are approved or don't care
org.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#findPendingLedgerEntries(org.kuali.kfs.gl.businessobject.Encumbrance,
boolean)
public Iterator findPendingLedgerEntries(Balance balance, boolean isApproved, boolean isConsolidated)
GeneralLedgerPendingEntryDao
findPendingLedgerEntries
in interface GeneralLedgerPendingEntryDao
balance
- the balance entryisApproved
- the flag that indicates whether the pending entries are approved or don't careisConsolidated
- consolidation option is applied or not
org.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#findPendingLedgerEntries(org.kuali.kfs.gl.businessobject.Balance, boolean,
boolean)
public Iterator findPendingLedgerEntriesForEntry(Map fieldValues, boolean isApproved)
GeneralLedgerPendingEntryDao
findPendingLedgerEntriesForEntry
in interface GeneralLedgerPendingEntryDao
fieldValues
- the input fields and valuesisApproved
- the flag that indicates whether the pending entries are approved or don't care
org.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#findPendingLedgerEntriesForEntry(java.util.Map, boolean)
public Iterator findPendingLedgerEntriesForBalance(Map fieldValues, boolean isApproved)
GeneralLedgerPendingEntryDao
findPendingLedgerEntriesForBalance
in interface GeneralLedgerPendingEntryDao
fieldValues
- the input fields and valuesisApproved
- the flag that indicates whether the pending entries are approved or don't care
org.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#findPendingLedgerEntriesForBalance(java.util.Map, boolean)
public Iterator findPendingLedgerEntriesForCashBalance(Map fieldValues, boolean isApproved)
GeneralLedgerPendingEntryDao
findPendingLedgerEntriesForCashBalance
in interface GeneralLedgerPendingEntryDao
fieldValues
- the input fields and valuesisApproved
- the flag that indicates whether the pending entries are approved or don't care
org.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#findPendingLedgerEntriesForCashBalance(java.util.Map, boolean)
public Iterator findPendingLedgerEntriesForEncumbrance(Map fieldValues, boolean isApproved)
GeneralLedgerPendingEntryDao
findPendingLedgerEntriesForEncumbrance
in interface GeneralLedgerPendingEntryDao
fieldValues
- the input fields and valuesisApproved
- the flag that indicates whether the pending entries are approved or don't care
org.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#findPendingLedgerEntriesForEncumbrance(Map, boolean)
protected org.apache.ojb.broker.query.Criteria buildCriteriaToExcludeFundBalance()
public Iterator findPendingLedgerEntriesForAccountBalance(Map fieldValues, boolean isApproved)
GeneralLedgerPendingEntryDao
findPendingLedgerEntriesForAccountBalance
in interface GeneralLedgerPendingEntryDao
fieldValues
- the input fields and valuesisApproved
- the flag that indicates whether the pending entries are approved or don't care
org.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#findPendingLedgerEntriesForAccountBalance(java.util.Map, boolean,
boolean)
public Iterator findPendingLedgerEntrySummaryForAccountBalance(Map fieldValues, boolean isApproved)
GeneralLedgerPendingEntryDao
findPendingLedgerEntrySummaryForAccountBalance
in interface GeneralLedgerPendingEntryDao
fieldValues
- the input fields and valuesisApproved
- the flag that indicates whether the pending entries are approved or don't care
org.kuali.module.gl.dao.GeneralLedgerPendingEntryDao#findPendingLedgerEntrySummaryForAccountBalance(java.util.Map,
boolean, boolean)
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)
fieldValues
- the input field mapbusinessObject
- the given business object
public Collection findPendingEntries(Map fieldValues, boolean isApproved)
GeneralLedgerPendingEntryDao
findPendingEntries
in interface GeneralLedgerPendingEntryDao
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
public Class getEntryClass()
protected Object getEntryClassInstance()
public void setBalanceTypService(BalanceTypeService balanceTypService)
public OptionsService getOptionsService()
public void setOptionsService(OptionsService optionsService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |