|
||||||||||
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.PostSufficientFundBalances
@Transactional public class PostSufficientFundBalances
An implementation of PostTransaction which posts a transaction to the appropriate sufficient funds record
Constructor Summary | |
---|---|
PostSufficientFundBalances()
Constructs a PostSufficientFundBalances instance |
Method Summary | |
---|---|
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 sufficient funds records |
void |
setAccountingCycleCachingService(AccountingCycleCachingService accountingCycleCachingService)
|
void |
setPersistenceStructureService(org.kuali.rice.kns.service.PersistenceStructureService persistenceStructureService)
|
protected void |
updateBudgetAmount(String debitCreditCode,
SufficientFundBalances bal,
org.kuali.rice.kns.util.KualiDecimal amount)
Updates the budget amount of a given sufficient funds balance record |
protected void |
updateEncumbranceAmount(String debitCreditCode,
SufficientFundBalances bal,
org.kuali.rice.kns.util.KualiDecimal amount)
Updates the encumbrance amount of a given sufficient funds balance record |
protected void |
updateExpendedAmount(String debitCreditCode,
SufficientFundBalances bal,
org.kuali.rice.kns.util.KualiDecimal amount)
Updates the expenditure amount of a given sufficient funds balance record |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PostSufficientFundBalances()
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)
protected void updateExpendedAmount(String debitCreditCode, SufficientFundBalances bal, org.kuali.rice.kns.util.KualiDecimal amount)
debitCreditCode
- whether the the amount should be debited or credited to the SF balancebal
- a sufficient funds balance to updateamount
- the amount to debit or creditprotected void updateEncumbranceAmount(String debitCreditCode, SufficientFundBalances bal, org.kuali.rice.kns.util.KualiDecimal amount)
debitCreditCode
- whether the the amount should be debited or credited to the SF balancebal
- a sufficient funds balance to updateamount
- the amount to debit or creditprotected void updateBudgetAmount(String debitCreditCode, SufficientFundBalances bal, org.kuali.rice.kns.util.KualiDecimal amount)
debitCreditCode
- whether the the amount should be debited or credited to the SF balancebal
- a sufficient funds balance to updateamount
- the amount to debit or creditpublic String getDestinationName()
PostTransaction
getDestinationName
in interface PostTransaction
PostTransaction.getDestinationName()
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 |