|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReversalDao
An interface that declares the methods needed for reversal services to interact with the database
Method Summary | |
---|---|
void |
delete(Reversal re)
Deletes a reversal record |
Iterator |
getByDate(Date before)
Returns all reversals that should have reversed on or before the given date |
Reversal |
getByTransaction(Transaction t)
Looks up the reversal that matches the keys from the given transaction |
int |
getMaxSequenceNumber(Transaction t)
Find the maximum transactionLedgerEntrySequenceNumber in the entry table for a specific transaction. |
void |
save(Reversal re)
Saves a reversal record |
Method Detail |
---|
void save(Reversal re)
re
- a reversal to saveint getMaxSequenceNumber(Transaction t)
t
- a transaction to find the maximum sequence number for
Reversal getByTransaction(Transaction t)
t
- the given transaction
Iterator getByDate(Date before)
before
- the date that reversals retrieved should reverse on or before
void delete(Reversal re)
re
- a reversal to delete
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |