|
||||||||||
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.PostAccountBalance
@Transactional public class PostAccountBalance
Constructor Summary | |
---|---|
PostAccountBalance()
Constructs a PostAccountBalance instance |
Method Summary | |
---|---|
AccountBalance |
findAccountBalance(Collection balanceList,
Transaction t)
Given a collection of account balance records, returns either the account balance the given transaction should post against or a new account balance record |
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)
Posts the transaction to the appropriate account balance record. |
void |
setAccountingCycleCachingService(AccountingCycleCachingService accountingCycleCachingService)
|
void |
setPersistenceStructureService(org.kuali.rice.kns.service.PersistenceStructureService persistenceStructureService)
|
void |
updateAccountBalance(Transaction t,
AccountBalance ab)
Updates the given account balance record, based on the given transaction |
protected boolean |
updateAccountBalanceReturn(Transaction t,
AccountBalance ab)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PostAccountBalance()
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 AccountBalance findAccountBalance(Collection balanceList, Transaction t)
AccountBalanceCalculator
findAccountBalance
in interface AccountBalanceCalculator
balanceList
- a Collection of AccountBalance recordst
- the transaction to post
protected boolean updateAccountBalanceReturn(Transaction t, AccountBalance ab)
public void updateAccountBalance(Transaction t, AccountBalance ab)
AccountBalanceCalculator
updateAccountBalance
in interface AccountBalanceCalculator
t
- enc
- public String getDestinationName()
PostTransaction
getDestinationName
in interface PostTransaction
public void setAccountingCycleCachingService(AccountingCycleCachingService accountingCycleCachingService)
public void setPersistenceStructureService(org.kuali.rice.kns.service.PersistenceStructureService persistenceStructureService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |