|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.module.endow.batch.service.impl.CreateRecurringCashTransferTransactionsServiceImpl
@Transactional public class CreateRecurringCashTransferTransactionsServiceImpl
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
LOG
|
Constructor Summary | |
---|---|
CreateRecurringCashTransferTransactionsServiceImpl()
|
Method Summary | |
---|---|
protected boolean |
addGlTransactionLine(EndowmentRecurringCashTransferGLTarget endowmentRecurringCashTransferGLTarget,
EndowmentToGLTransferOfFundsDocument endowmentToGLTransferOfFundsDocument,
org.kuali.rice.kns.util.KualiDecimal totalAmount,
String sourceKemid,
String transferNumber)
|
protected boolean |
addKemidTargetTransactionLine(EndowmentRecurringCashTransferKEMIDTarget endowmentRecurringCashTransferKEMIDTarget,
CashTransferDocument cashTransferDoc,
org.kuali.rice.kns.util.KualiDecimal totalAmount,
String sourceKemid,
String transferNumber)
|
protected void |
addSourceTransactionLineForCashTransferDoc(EndowmentRecurringCashTransfer endowmentRecurringCashTransfer,
CashTransferDocument cashTransferDoc,
org.kuali.rice.kns.util.KualiDecimal totalAmount)
This method... |
protected void |
addSourceTransactionLineForGLTransferOfFundsDocument(EndowmentRecurringCashTransfer endowmentRecurringCashTransfer,
EndowmentToGLTransferOfFundsDocument gLTransferOfFundsDocument,
org.kuali.rice.kns.util.KualiDecimal totalAmount)
|
protected void |
calculateCashTransfers(Collection<EndowmentRecurringCashTransfer> cashTransfers)
|
protected org.kuali.rice.kns.util.KualiDecimal |
calculateCashTransferTransactionAmount(EndowmentRecurringCashTransferKEMIDTarget kemidTarget,
org.kuali.rice.kns.util.KualiDecimal cashEquivalents,
String sourceKemid,
Date lastProcessDate)
|
protected void |
calculateGlCashTransfers(Collection<EndowmentRecurringCashTransfer> glCashTransfers)
|
protected org.kuali.rice.kns.util.KualiDecimal |
calculateGlCashTransferTransactionAmount(EndowmentRecurringCashTransferGLTarget glTarget,
org.kuali.rice.kns.util.KualiDecimal cashEquivalents,
String sourceKemid,
Date lastProcessDate)
|
protected org.kuali.rice.kns.util.KualiDecimal |
calculateTotalCashEquivalents(EndowmentRecurringCashTransfer endowmentRecurringCashTransfer)
|
protected org.kuali.rice.kns.util.KualiDecimal |
calculateTotalIncomeTransactionArchives(List<TransactionArchive> transactionArchiveList)
|
protected CashTransferDocument |
createCashTransferDocument(String sourceKemid,
String transferNumber)
|
protected EndowmentToGLTransferOfFundsDocument |
createEndowmentToGLTransferOfFundsDocument(String sourceKemid,
String transferNumber)
|
boolean |
createRecurringCashTransferTransactions()
Generates the necessary eDocs for the overnight investment of cash (cash sweep) by generating asset increase eDocs for the KEMIDs based upon the cash sweep model assigned to the KEMID record. |
protected List<String> |
extractGlobalVariableErrors()
Extracts errors for error report writing. |
protected Collection<EndowmentRecurringCashTransfer> |
getAllRecurringCashTransferTransactionsForCurrentDate()
This method retrieves all the recurring cash transfer transactions whose frequency code matches the current date. |
protected boolean |
getNoRouteParameterAsBoolean()
|
protected List<TransactionArchive> |
retrieveTransactionArchives(String sourceKemid,
Date lastProcessDate,
String targetEtranCode)
|
protected boolean |
routeCashTransferDoc(CashTransferDocument cashTransferDoc,
String sourceKemid,
String transferNumber,
org.kuali.rice.kns.util.KualiDecimal totalAmount)
|
protected boolean |
routeGLTransferOfFundsDocument(EndowmentToGLTransferOfFundsDocument gLTransferOfFundsDocument,
String sourceKemid,
String transferNumber,
org.kuali.rice.kns.util.KualiDecimal totalAmount)
|
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value. |
void |
setConfigService(org.kuali.rice.kns.service.KualiConfigurationService configService)
Sets the configService. |
void |
setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
|
void |
setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
Sets the documentService attribute value. |
void |
setHoldingTaxLotService(HoldingTaxLotService holdingTaxLotService)
|
void |
setKemidCurrentCashService(KemidCurrentCashService kemidCurrentCashService)
Sets the kemidCurrentCashOpenRecordsService |
void |
setKemService(KEMService kemService)
Sets the kemService attribute value. |
void |
setKualiRuleService(org.kuali.rice.kns.service.KualiRuleService kualiRuleService)
Sets the kualiRuleService attribute value. |
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the parameterService attribute value. |
void |
setRecurringCashTransferTransactionsExceptionReportWriterService(ReportWriterService recurringCashTransferTransactionsExceptionReportWriterService)
|
void |
setRecurringCashTransferTransactionsTotalReportWriterService(ReportWriterService recurringCashTransferTransactionsTotalReportWriterService)
|
protected void |
writeExceptionReportLine(String documentType,
String sourceKemid,
String transferNumber,
String targetSeqNumber)
|
protected void |
writeExceptionReportLine(String documentType,
String sourceKemid,
String transferNumber,
String targetSeqNumber,
String reason)
|
protected void |
writeGrandTotalReportLine()
|
protected void |
writeSubTotalReportLine()
|
protected void |
writeTotalReportLine(String documentType,
String documentId,
String transferNumber,
String sourcekemid,
Integer targetLinesGenerated,
org.kuali.rice.kns.util.KualiDecimal totalTransferAmount)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.log4j.Logger LOG
Constructor Detail |
---|
public CreateRecurringCashTransferTransactionsServiceImpl()
Method Detail |
---|
public boolean createRecurringCashTransferTransactions()
CreateRecurringCashTransferTransactionsService
createRecurringCashTransferTransactions
in interface CreateRecurringCashTransferTransactionsService
org.kuali.kfs.module.endow.batch.service.CreateRecurringCashTransferTransactionsService#createCashSweepTransactions()
protected void calculateCashTransfers(Collection<EndowmentRecurringCashTransfer> cashTransfers)
protected org.kuali.rice.kns.util.KualiDecimal calculateCashTransferTransactionAmount(EndowmentRecurringCashTransferKEMIDTarget kemidTarget, org.kuali.rice.kns.util.KualiDecimal cashEquivalents, String sourceKemid, Date lastProcessDate)
protected void calculateGlCashTransfers(Collection<EndowmentRecurringCashTransfer> glCashTransfers)
protected org.kuali.rice.kns.util.KualiDecimal calculateGlCashTransferTransactionAmount(EndowmentRecurringCashTransferGLTarget glTarget, org.kuali.rice.kns.util.KualiDecimal cashEquivalents, String sourceKemid, Date lastProcessDate)
protected org.kuali.rice.kns.util.KualiDecimal calculateTotalCashEquivalents(EndowmentRecurringCashTransfer endowmentRecurringCashTransfer)
protected Collection<EndowmentRecurringCashTransfer> getAllRecurringCashTransferTransactionsForCurrentDate()
protected List<TransactionArchive> retrieveTransactionArchives(String sourceKemid, Date lastProcessDate, String targetEtranCode)
protected org.kuali.rice.kns.util.KualiDecimal calculateTotalIncomeTransactionArchives(List<TransactionArchive> transactionArchiveList)
protected void addSourceTransactionLineForCashTransferDoc(EndowmentRecurringCashTransfer endowmentRecurringCashTransfer, CashTransferDocument cashTransferDoc, org.kuali.rice.kns.util.KualiDecimal totalAmount)
assetIncreaseDoc
- assetSaleOffsetCode
- kemid
- cashLimit
- currentCash
- protected void addSourceTransactionLineForGLTransferOfFundsDocument(EndowmentRecurringCashTransfer endowmentRecurringCashTransfer, EndowmentToGLTransferOfFundsDocument gLTransferOfFundsDocument, org.kuali.rice.kns.util.KualiDecimal totalAmount)
protected boolean addKemidTargetTransactionLine(EndowmentRecurringCashTransferKEMIDTarget endowmentRecurringCashTransferKEMIDTarget, CashTransferDocument cashTransferDoc, org.kuali.rice.kns.util.KualiDecimal totalAmount, String sourceKemid, String transferNumber)
protected boolean addGlTransactionLine(EndowmentRecurringCashTransferGLTarget endowmentRecurringCashTransferGLTarget, EndowmentToGLTransferOfFundsDocument endowmentToGLTransferOfFundsDocument, org.kuali.rice.kns.util.KualiDecimal totalAmount, String sourceKemid, String transferNumber)
protected CashTransferDocument createCashTransferDocument(String sourceKemid, String transferNumber)
protected boolean routeCashTransferDoc(CashTransferDocument cashTransferDoc, String sourceKemid, String transferNumber, org.kuali.rice.kns.util.KualiDecimal totalAmount)
protected boolean routeGLTransferOfFundsDocument(EndowmentToGLTransferOfFundsDocument gLTransferOfFundsDocument, String sourceKemid, String transferNumber, org.kuali.rice.kns.util.KualiDecimal totalAmount)
protected EndowmentToGLTransferOfFundsDocument createEndowmentToGLTransferOfFundsDocument(String sourceKemid, String transferNumber)
protected boolean getNoRouteParameterAsBoolean()
protected List<String> extractGlobalVariableErrors()
protected void writeExceptionReportLine(String documentType, String sourceKemid, String transferNumber, String targetSeqNumber)
protected void writeExceptionReportLine(String documentType, String sourceKemid, String transferNumber, String targetSeqNumber, String reason)
protected void writeTotalReportLine(String documentType, String documentId, String transferNumber, String sourcekemid, Integer targetLinesGenerated, org.kuali.rice.kns.util.KualiDecimal totalTransferAmount)
protected void writeSubTotalReportLine()
protected void writeGrandTotalReportLine()
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService
- The businessObjectService to set.public void setKemService(KEMService kemService)
kemService
- The kemService to set.public void setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
documentService
- The documentService to set.public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
parameterService
- The parameterService to set.public void setKualiRuleService(org.kuali.rice.kns.service.KualiRuleService kualiRuleService)
kualiRuleService
- The kualiRuleService to set.public void setKemidCurrentCashService(KemidCurrentCashService kemidCurrentCashService)
kemidCurrentCashOpenRecordsService
- The kemidCurrentCashOpenRecordsService to set.public void setHoldingTaxLotService(HoldingTaxLotService holdingTaxLotService)
public void setRecurringCashTransferTransactionsExceptionReportWriterService(ReportWriterService recurringCashTransferTransactionsExceptionReportWriterService)
public void setRecurringCashTransferTransactionsTotalReportWriterService(ReportWriterService recurringCashTransferTransactionsTotalReportWriterService)
public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
public void setConfigService(org.kuali.rice.kns.service.KualiConfigurationService configService)
configService
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |