public class ExpenditureTransactionDaoOjb extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb implements ExpenditureTransactionDao
Constructor and Description |
---|
ExpenditureTransactionDaoOjb()
Constructs a ExpenditureTransactionDaoOjb instance
|
Modifier and Type | Method and Description |
---|---|
void |
delete(ExpenditureTransaction et)
Deletes the given expenditure transaction
|
void |
deleteAllExpenditureTransactions()
Since expenditure transactions are temporary, just like flies that live for a mere day, this method removes all of the
currently existing expenditure transactions from the database, all expenditure transactions having run through the poster and
fulfilled their lifecycle
|
Iterator |
getAllExpenditureTransactions()
Fetches all expenditure transactions currently in the database
|
ExpenditureTransaction |
getByTransaction(Transaction t)
Queries the database to find the expenditure transaction in the database that would be affected if the given transaction is
posted
|
getDbPlatform, setDbPlatform
public ExpenditureTransactionDaoOjb()
public ExpenditureTransaction getByTransaction(Transaction t)
getByTransaction
in interface ExpenditureTransactionDao
t
- a transaction to find a related expenditure transaction forExpenditureTransactionDao.getByTransaction(org.kuali.ole.gl.businessobject.Transaction)
public Iterator getAllExpenditureTransactions()
getAllExpenditureTransactions
in interface ExpenditureTransactionDao
ExpenditureTransactionDao.getAllExpenditureTransactions()
public void delete(ExpenditureTransaction et)
delete
in interface ExpenditureTransactionDao
et
- the expenditure transaction that will be removed, as such, from the databaseExpenditureTransactionDao.delete(org.kuali.ole.gl.businessobject.ExpenditureTransaction)
public void deleteAllExpenditureTransactions()
deleteAllExpenditureTransactions
in interface ExpenditureTransactionDao
ExpenditureTransactionDao.deleteAllExpenditureTransactions()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.