|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReversalService
An interface with methods to interact with reversals
Method Summary | |
---|---|
void |
delete(Reversal re)
Removes a reversal record from the persistence store |
Iterator |
getByDate(Date before)
Fetches all of the reversals that are set to reverse before or on the given date |
Reversal |
getByTransaction(Transaction t)
Fetches or generates a reversal record, based on the given transaction |
LedgerEntryHolder |
getSummaryByDate(Date before)
Summarizes all of the reversal records set to reverse before or on the given date |
void |
save(Reversal re)
Saves a reversal to the database |
Method Detail |
---|
void save(Reversal re)
re
- the reversal to saveReversal getByTransaction(Transaction t)
t
- a transaction to find a reversal record for
Iterator getByDate(Date before)
before
- the date returned reversals should reverse on or before
LedgerEntryHolder getSummaryByDate(Date before)
before
- the date summarized reversals should reverse on or before
void delete(Reversal re)
re
- the reversal to send to the happy reversal farm in the sky
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |