|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExpenditureTransactionDao
An DAO interface to deal help expenditure transactions to deal with the database
Method Summary | |
---|---|
void |
delete(ExpenditureTransaction et)
Deletes the given expenditure transaction |
void |
deleteAllExpenditureTransactions()
Since expenditure transactions are temporary, this method removes all of the currently existing expenditure transactions from the database |
Iterator |
getAllExpenditureTransactions()
Returns all expenditure transactions currently in the database |
ExpenditureTransaction |
getByTransaction(Transaction t)
Returns the expenditure transaction in the database that would be affected if the given transaction is posted |
void |
save(ExpenditureTransaction et)
Saves an expenditure transaction |
Method Detail |
---|
ExpenditureTransaction getByTransaction(Transaction t)
t
- a transaction to find a related expenditure transaction for
Iterator getAllExpenditureTransactions()
void delete(ExpenditureTransaction et)
et
- the expenditure transaction that will be removed, as such, from the databasevoid save(ExpenditureTransaction et)
et
- the expenditure transaction to savevoid deleteAllExpenditureTransactions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |