org.kuali.kfs.gl.service
Interface ReversalService

All Known Implementing Classes:
ReversalServiceImpl

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

save

void save(Reversal re)
Saves a reversal to the database

Parameters:
re - the reversal to save

getByTransaction

Reversal getByTransaction(Transaction t)
Fetches or generates a reversal record, based on the given transaction

Parameters:
t - a transaction to find a reversal record for
Returns:
a reversal record for the transaction

getByDate

Iterator getByDate(Date before)
Fetches all of the reversals that are set to reverse before or on the given date

Parameters:
before - the date returned reversals should reverse on or before
Returns:
an Iterator of reversals

getSummaryByDate

LedgerEntryHolder getSummaryByDate(Date before)
Summarizes all of the reversal records set to reverse before or on the given date

Parameters:
before - the date summarized reversals should reverse on or before
Returns:
a LedgerEntryHolder with the summary date

delete

void delete(Reversal re)
Removes a reversal record from the persistence store

Parameters:
re - the reversal to send to the happy reversal farm in the sky


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.