|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.gl.batch.service.impl.PostBalance
@Transactional public class PostBalance
This implementation of PostTransaction updates the appropriate Balance
Constructor Summary | |
---|---|
PostBalance()
Constructs a PostBalance instance |
Method Summary | |
---|---|
Balance |
findBalance(Collection balanceList,
Transaction t)
Given a list of balances, determines which one the given trsnaction should post to |
String |
getDestinationName()
The name of the destination for the post (ie, the database table name where resultant records will be posted) |
String |
post(Transaction t,
int mode,
Date postDate,
ReportWriterService posterReportWriterService)
This posts the effect of the transaction upon the appropriate balance record. |
void |
setAccountingCycleCachingService(AccountingCycleCachingService accountingCycleCachingService)
|
void |
updateBalance(Transaction t,
Balance b)
Updates the balance based on the given transaction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PostBalance()
Method Detail |
---|
public String post(Transaction t, int mode, Date postDate, ReportWriterService posterReportWriterService)
post
in interface PostTransaction
t
- the transaction which is being postedmode
- the mode the poster is currently running inpostDate
- the date this transaction should post toposterReportWriterService
- the writer service where the poster is writing its report
org.kuali.kfs.gl.batch.service.PostTransaction#post(org.kuali.kfs.gl.businessobject.Transaction, int, java.util.Date)
public Balance findBalance(Collection balanceList, Transaction t)
findBalance
in interface BalanceCalculator
balanceList
- a Collection of balancest
- the transaction that is being posted
BalanceCalculator.findBalance(java.util.Collection, org.kuali.kfs.gl.businessobject.Transaction)
public void updateBalance(Transaction t, Balance b)
BalanceCalculator
updateBalance
in interface BalanceCalculator
t
- enc
- public String getDestinationName()
PostTransaction
getDestinationName
in interface PostTransaction
PostTransaction.getDestinationName()
public void setAccountingCycleCachingService(AccountingCycleCachingService accountingCycleCachingService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |