public class ReversalDaoOjb extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb implements ReversalDao
Constructor and Description |
---|
ReversalDaoOjb()
Constructs a ReversalDaoOjb instance
|
Modifier and Type | Method and Description |
---|---|
void |
delete(Reversal re)
Deletes a reversal record
|
Iterator |
getByDate(Date before)
Fetches all reversals that have been set to reverse on or before the given date - that is to say,
returns all the reversal records ready to be reversed!
|
Reversal |
getByTransaction(Transaction t)
Fetches the reversal record that would affected by the posting of the given transaction
|
int |
getMaxSequenceNumber(Transaction t)
Find the maximum transactionLedgerEntrySequenceNumber in the entry table for a specific transaction.
|
getDbPlatform, setDbPlatform
public ReversalDaoOjb()
public int getMaxSequenceNumber(Transaction t)
getMaxSequenceNumber
in interface ReversalDao
t
- a transaction to find the maximum sequence number forpublic Reversal getByTransaction(Transaction t)
getByTransaction
in interface ReversalDao
t
- the transaction to find the related reversal forReversalDao.getByTransaction(org.kuali.ole.gl.businessobject.Transaction)
public Iterator getByDate(Date before)
getByDate
in interface ReversalDao
before
- the date that reversals must reverse on or beforeReversalDao.getByDate(java.util.Date)
public void delete(Reversal re)
delete
in interface ReversalDao
re
- reversal to deleteReversalDao.delete(org.kuali.ole.gl.businessobject.Reversal)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.