|
||||||||||
| 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.PostEncumbrance
@Transactional public class PostEncumbrance
This implementation of PostTransaction posts a transaction that could be an encumbrance
| Constructor Summary | |
|---|---|
PostEncumbrance()
Constructs a PostEncumbrance instance |
|
| Method Summary | |
|---|---|
Encumbrance |
findEncumbrance(Collection encumbranceList,
Transaction t)
Given a Collection of encumbrances, returns the encumbrance that would affected by the given transaction |
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)
Called by the poster to post a transaction. |
void |
setAccountingCycleCachingService(AccountingCycleCachingService accountingCycleCachingService)
|
void |
setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
|
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
void |
setPersistenceStructureService(org.kuali.rice.kns.service.PersistenceStructureService persistenceStructureService)
|
void |
updateEncumbrance(Transaction t,
Encumbrance enc)
This will update the amounts in an Encumbrance records based on the data in the transaction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PostEncumbrance()
| Method Detail |
|---|
public String post(Transaction t,
int mode,
Date postDate,
ReportWriterService posterReportWriterService)
post in interface PostTransactiont - 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
public Encumbrance findEncumbrance(Collection encumbranceList,
Transaction t)
findEncumbrance in interface EncumbranceCalculatorencumbranceList - a Collection of encumbrancest - the transaction to find the appropriate encumbrance for
EncumbranceCalculator.findEncumbrance(java.util.Collection, org.kuali.kfs.gl.businessobject.Transaction)
public void updateEncumbrance(Transaction t,
Encumbrance enc)
EncumbranceCalculator
updateEncumbrance in interface EncumbranceCalculatort - enc - public String getDestinationName()
PostTransaction
getDestinationName in interface PostTransactionPostTransaction.getDestinationName()public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
public void setAccountingCycleCachingService(AccountingCycleCachingService accountingCycleCachingService)
public void setPersistenceStructureService(org.kuali.rice.kns.service.PersistenceStructureService persistenceStructureService)
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||