|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.gl.service.impl.ReversalServiceImpl
@Transactional public class ReversalServiceImpl
This transactional class provides the default implementation of the services required in ReversalService
ReversalService
Constructor Summary | |
---|---|
ReversalServiceImpl()
|
Method Summary | |
---|---|
protected LedgerEntryForReporting |
buildLedgerEntryFromReversal(Reversal reversal)
Creates a LedgerEntry from a reversal, which is proper for summarization (ie, its fiscal year and period code are based off the reversal date, not off the transaction date or the reversal's current fiscal year and accounting period) |
void |
delete(Reversal re)
Deletes a reversal record |
Iterator |
getByDate(Date before)
Returns all the reversal records set to reverse on or before 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 record |
void |
setAccountingPeriodService(AccountingPeriodService accountingPeriodService)
Sets the accountingPeriodService attribute, allowing injection of an implementation of that service |
void |
setReversalDao(ReversalDao reversalDao)
Sets the reversalDao attribute, allowing injection of an implementation of that data access object |
void |
setUniversityDateService(UniversityDateService universityDateService)
Sets the unversityDateService attribute, allowing injection of an implementation of that service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReversalServiceImpl()
Method Detail |
---|
public void delete(Reversal re)
delete
in interface ReversalService
re
- the reversal to delete, remove, or otherwise expiate from the databaseReversalService.delete(org.kuali.kfs.gl.businessobject.Reversal)
public Iterator getByDate(Date before)
getByDate
in interface ReversalService
before
- the date to find reversals on or before
ReversalService.getByDate(java.util.Date)
public Reversal getByTransaction(Transaction t)
ReversalService
getByTransaction
in interface ReversalService
t
- a transaction to find a reversal record for
public LedgerEntryHolder getSummaryByDate(Date before)
getSummaryByDate
in interface ReversalService
before
- the date reversals summarized should be on or before
ReversalService.getSummaryByDate(java.util.Date)
protected LedgerEntryForReporting buildLedgerEntryFromReversal(Reversal reversal)
reversal
- reversal to build LedgerEntry with
public void save(Reversal re)
save
in interface ReversalService
re
- the reversal to saveReversalService.save(org.kuali.kfs.gl.businessobject.Reversal)
public void setReversalDao(ReversalDao reversalDao)
reversalDao
- the reversalDao implementation to setReversalDao
public void setAccountingPeriodService(AccountingPeriodService accountingPeriodService)
accountingPeriodService
- the accountingPeriodService implementation to setAccountingPeriodService
public void setUniversityDateService(UniversityDateService universityDateService)
universityDateService
- the universityDateService implementation to setUniversityDateService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |