public class CashManagementDaoOjb extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb implements CashManagementDao
Constructor and Description |
---|
CashManagementDaoOjb() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.ojb.broker.query.Criteria |
createDepositedCashieringCheckCriteria(String documentNumber)
This method creates the criteria to find deposited checks
|
protected org.apache.ojb.broker.query.Criteria |
createDepositedCashieringCheckCriteria(String documentNumber,
Integer depositLineNumber)
This method creates a criteria to find the cashiering checks associated with a given deposit
|
protected org.apache.ojb.broker.query.Criteria |
createUndepositedCashieringCheckCriteria(String documentNumber)
This method creates the criteria to find undeposited cashiering checks
|
CoinDetail |
findCoinDetailByCashieringStatus(String documentNumber,
String documentTypeCode,
String cashieringStatus)
Retrieves all coin detail records with the given document number, document type code, and cashiering record source
|
CurrencyDetail |
findCurrencyDetailByCashieringStatus(String documentNumber,
String documentTypeCode,
String cashieringStatus)
Retrieves all currency detail records with the given document number, document type code, and cashiering record source
|
List<CashieringItemInProcess> |
findOpenItemsInProcessByCampusCode(String campusCode)
This method returns a list of open items in process for a given campus code
|
List<CashieringItemInProcess> |
findRecentlyClosedItemsInProcess(String campusCode)
This finds items in process associated with the given campus code closed within the past 30 days.
|
protected org.apache.ojb.broker.query.Criteria |
getAllCashDetailCriteria(String documentNumber)
This method creates details for getting all of a certain cash detail, irregardless of cashiering record source
|
List<CoinDetail> |
getAllCoinDetails(String documentNumber)
This method gets all coin details for a particular document number, irregardless of cashiering record source
|
List<CurrencyDetail> |
getAllCurrencyDetails(String documentNumber)
This method retrieves all currency details associated with a cash management document
|
protected org.apache.ojb.broker.query.Criteria |
getCashDetailCriteria(String documentNumber,
String documentTypeCode,
String cashieringStatus)
This takes the primary keys for a cash or currency detail record and returns an OJB criteria for it
|
protected List<Check> |
putResultsIntoCheckList(Iterator iter)
This method puts the check elements of an iterator into a list
|
protected Object |
retrieveCashDetail(String documentNumber,
String documentTypeCode,
String cashieringStatus,
Class detailType)
This method retrieves a cash detail from the database
|
List<Check> |
selectCashieringChecksForDeposit(String documentNumber,
Integer depositLineNumber)
Retrieves from the database all cashiering transaction checks deposited for a given deposit
|
List<Check> |
selectDepositedCashieringChecks(String documentNumber)
Retrieves all deposited cashiering checks from the database
|
Integer |
selectNextAvailableCheckLineNumber(String documentNumber)
Select the next available check line number for the given cash management document
|
List<Check> |
selectUndepositedCashieringChecks(String documentNumber)
Retrieves from the database any undeposited cashiering transaction checks associated with the given cash management document
|
getDbPlatform, setDbPlatform
public CashManagementDaoOjb()
public List<CashieringItemInProcess> findOpenItemsInProcessByCampusCode(String campusCode) throws org.springframework.dao.DataAccessException
CashManagementDao
findOpenItemsInProcessByCampusCode
in interface CashManagementDao
campusCode
- the campus code to use to search open items in process fororg.springframework.dao.DataAccessException
CashManagementDao.findOpenItemsInProcessByCampusCode(java.lang.String)
public List<CashieringItemInProcess> findRecentlyClosedItemsInProcess(String campusCode)
CashManagementDao
findRecentlyClosedItemsInProcess
in interface CashManagementDao
campusCode
- the campus code that the found items in process should be associated withCashManagementDao.findRecentlyClosedItemsInProcess(java.lang.String)
public CoinDetail findCoinDetailByCashieringStatus(String documentNumber, String documentTypeCode, String cashieringStatus)
CashManagementDao
findCoinDetailByCashieringStatus
in interface CashManagementDao
documentNumber
- the document the coin details were associated withdocumentTypeCode
- the type of that documentcashieringStatus
- the cashiering statusCashManagementDao.findCoinDetailByCashieringStatus(java.lang.String,
java.lang.String, java.lang.String)
public CurrencyDetail findCurrencyDetailByCashieringStatus(String documentNumber, String documentTypeCode, String cashieringStatus)
CashManagementDao
findCurrencyDetailByCashieringStatus
in interface CashManagementDao
documentNumber
- the document number this currency detail was associated withdocumentTypeCode
- the type code of that documentcashieringStatus
- the cashiering statusCashManagementDao.findCurrencyDetailByCashieringStatus(java.lang.String,
java.lang.String, java.lang.String)
protected org.apache.ojb.broker.query.Criteria getCashDetailCriteria(String documentNumber, String documentTypeCode, String cashieringStatus)
documentNumber
- document number to retrievedocumentTypeCode
- type code of the documentcashieringStatus
- the cashiering statusprotected Object retrieveCashDetail(String documentNumber, String documentTypeCode, String cashieringStatus, Class detailType)
documentNumber
- the document number to retrieve fromdocumentTypeCode
- the document type of the document the cash detail to look up is associated withcashieringStatus
- the cashiering status to look up fromdetailType
- the class of the cash detail type we wantpublic List<Check> selectCashieringChecksForDeposit(String documentNumber, Integer depositLineNumber)
CashManagementDao
selectCashieringChecksForDeposit
in interface CashManagementDao
documentNumber
- the document number of a cash management document that cashiering transaction checks have been
deposited fordepositLineNumber
- the line number of the deposit to find checks deposited forCashManagementDao.selectCashieringChecksForDeposit(java.lang.String, java.lang.Integer)
protected org.apache.ojb.broker.query.Criteria createDepositedCashieringCheckCriteria(String documentNumber, Integer depositLineNumber)
documentNumber
- the document number the deposit is associated withdepositLineNumber
- the line number of the depositprotected List<Check> putResultsIntoCheckList(Iterator iter)
iter
- an iterator with checks results in itpublic List<Check> selectUndepositedCashieringChecks(String documentNumber)
CashManagementDao
selectUndepositedCashieringChecks
in interface CashManagementDao
documentNumber
- the document number of a cash management document that cashiering transaction checks may be associated
withCashManagementDao.selectUndepositedCashieringChecks(java.lang.String)
protected org.apache.ojb.broker.query.Criteria createUndepositedCashieringCheckCriteria(String documentNumber)
documentNumber
- the document number undeposited checks are associated withpublic List<Check> selectDepositedCashieringChecks(String documentNumber)
CashManagementDao
selectDepositedCashieringChecks
in interface CashManagementDao
documentNumber
- the document to get checks associated withCashManagementDao.selectDepositedCashieringChecks(java.lang.String)
protected org.apache.ojb.broker.query.Criteria createDepositedCashieringCheckCriteria(String documentNumber)
documentNumber
- the CM document the checks are associated withpublic List<CurrencyDetail> getAllCurrencyDetails(String documentNumber)
getAllCurrencyDetails
in interface CashManagementDao
documentNumber
- the document number of the cash management document to get currency details forpublic List<CoinDetail> getAllCoinDetails(String documentNumber)
getAllCoinDetails
in interface CashManagementDao
documentNumber
- the document number to find cash details forprotected org.apache.ojb.broker.query.Criteria getAllCashDetailCriteria(String documentNumber)
documentNumber
- the document number to get cash details forpublic Integer selectNextAvailableCheckLineNumber(String documentNumber)
CashManagementDao
selectNextAvailableCheckLineNumber
in interface CashManagementDao
documentNumber
- the document number of a cash management documentCashManagementDao.selectNextAvailableCheckLineNumber(java.lang.String)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.