org.kuali.kfs.module.endow.batch.service.impl
Class CreateCashSweepTransactionsServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.endow.batch.service.impl.CreateCashSweepTransactionsServiceImpl
All Implemented Interfaces:
CreateCashSweepTransactionsService

@Transactional
public class CreateCashSweepTransactionsServiceImpl
extends Object
implements CreateCashSweepTransactionsService


Field Summary
protected static org.apache.log4j.Logger LOG
           
 
Constructor Summary
CreateCashSweepTransactionsServiceImpl()
           
 
Method Summary
 boolean createCashSweepTransactions()
          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  boolean processAssetDecreaseDocuments(Integer cashSweepModelId, String sweepRegistraionCode, String sweepSecurityId, BigDecimal cashLimit, boolean isIncome)
          Creates asset decrease documents with transaction lines and routes it.
protected  boolean processAssetIncreaseDocuments(Integer cashSweepModelId, String sweepRegistraionCode, String sweepSecurityId, BigDecimal cashLimit, boolean isIncome)
          Creates asset increase documents with transaction lines and routes it.
protected  boolean processIncomeSweepPurchases(CashSweepModel cashSweepModel)
          Process all the income cash sweep models for purchases.
protected  boolean processIncomeSweepSales(CashSweepModel cashSweepModel)
          Process all the income cash sweep models for sales.
protected  boolean processPrincipalSweepPurchases(CashSweepModel cashSweepModel)
          Process all the principle cash sweep models for purchases.
protected  boolean processPrincipalSweepSale(CashSweepModel cashSweepModel)
          Process all the principle cash sweep models for sales.
protected  boolean routeAssetDecreaseDocument(AssetDecreaseDocument assetDecreaseDoc, boolean isIncome)
          Validates and routes the asset decrease document.
protected  boolean routeAssetIncreaseDocument(AssetIncreaseDocument assetIncreaseDoc, boolean isIncome)
          Validates and routes the asset increase document.
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
          Sets the businessObjectService attribute value.
 void setCashSweepModelDao(CashSweepModelDao cashSweepModelDao)
          Sets the cashSweepModelDao attribute value.
 void setConfigService(org.kuali.rice.kns.service.KualiConfigurationService configService)
          Sets the configService attribute value.
 void setCreateCashSweepExceptionReportWriterService(ReportWriterService createCashSweepExceptionReportWriterService)
          Sets the createCashSweepExceptionReportWriterService attribute value.
 void setCreateCashSweepProcessedReportWriterService(ReportWriterService createCashSweepProcessedReportWriterService)
          Sets the createCashSweepProcessedReportWriterService attribute value.
 void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
          Sets the dataDictionaryService attribute value.
 void setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
          Sets the documentService attribute value.
 void setKemidService(KEMIDService kemidService)
          Sets the kemidService attribute value.
 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 setUpdateEadTaxLotService(UpdateAssetDecreaseDocumentTaxLotsService updateEadTaxLotService)
          Sets the updateEadTaxLotService attribute value.
 void setUpdateEaiTaxLotService(UpdateAssetIncreaseDocumentTaxLotsService updateEaiTaxLotService)
          Sets the updateEaiTaxLotService attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static org.apache.log4j.Logger LOG
Constructor Detail

CreateCashSweepTransactionsServiceImpl

public CreateCashSweepTransactionsServiceImpl()
Method Detail

createCashSweepTransactions

public boolean createCashSweepTransactions()
Description copied from interface: CreateCashSweepTransactionsService
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.

Specified by:
createCashSweepTransactions in interface CreateCashSweepTransactionsService
Returns:
See Also:
CreateCashSweepTransactionsService.createCashSweepTransactions()

processPrincipalSweepSale

protected boolean processPrincipalSweepSale(CashSweepModel cashSweepModel)
Process all the principle cash sweep models for sales.

Parameters:
cashSweepModel -

processPrincipalSweepPurchases

protected boolean processPrincipalSweepPurchases(CashSweepModel cashSweepModel)
Process all the principle cash sweep models for purchases.

Parameters:
cashSweepModel -

processIncomeSweepSales

protected boolean processIncomeSweepSales(CashSweepModel cashSweepModel)
Process all the income cash sweep models for sales.

Parameters:
cashSweepModel -

processIncomeSweepPurchases

protected boolean processIncomeSweepPurchases(CashSweepModel cashSweepModel)
Process all the income cash sweep models for purchases.

Parameters:
cashSweepModel -

processAssetDecreaseDocuments

protected boolean processAssetDecreaseDocuments(Integer cashSweepModelId,
                                                String sweepRegistraionCode,
                                                String sweepSecurityId,
                                                BigDecimal cashLimit,
                                                boolean isIncome)
Creates asset decrease documents with transaction lines and routes it.

Parameters:
cashSweepModelId -
sweepRegistraionCode -
sweepSecurityId -
cashLimit -
isIncome -

processAssetIncreaseDocuments

protected boolean processAssetIncreaseDocuments(Integer cashSweepModelId,
                                                String sweepRegistraionCode,
                                                String sweepSecurityId,
                                                BigDecimal cashLimit,
                                                boolean isIncome)
Creates asset increase documents with transaction lines and routes it.

Parameters:
cashSweepModelId -
sweepRegistraionCode -
sweepSecurityId -
cashLimit -
isIncome -

routeAssetDecreaseDocument

protected boolean routeAssetDecreaseDocument(AssetDecreaseDocument assetDecreaseDoc,
                                             boolean isIncome)
Validates and routes the asset decrease document.

Parameters:
assetDecreaseDoc -
balh -

routeAssetIncreaseDocument

protected boolean routeAssetIncreaseDocument(AssetIncreaseDocument assetIncreaseDoc,
                                             boolean isIncome)
Validates and routes the asset increase document.

Parameters:
assetIncreaseDoc -

setBusinessObjectService

public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.

Parameters:
businessObjectService - The businessObjectService to set.

setKemService

public void setKemService(KEMService kemService)
Sets the kemService attribute value.

Parameters:
kemService - The kemService to set.

setKemidService

public void setKemidService(KEMIDService kemidService)
Sets the kemidService attribute value.

Parameters:
kemidService - The kemidService to set.

setDocumentService

public void setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
Sets the documentService attribute value.

Parameters:
documentService - The documentService to set.

setKualiRuleService

public void setKualiRuleService(org.kuali.rice.kns.service.KualiRuleService kualiRuleService)
Sets the kualiRuleService attribute value.

Parameters:
kualiRuleService - The kualiRuleService to set.

setParameterService

public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the parameterService attribute value.

Parameters:
parameterService - The parameterService to set.

setCreateCashSweepExceptionReportWriterService

public void setCreateCashSweepExceptionReportWriterService(ReportWriterService createCashSweepExceptionReportWriterService)
Sets the createCashSweepExceptionReportWriterService attribute value.

Parameters:
createCashSweepExceptionReportWriterService - The createCashSweepExceptionReportWriterService to set.

setCreateCashSweepProcessedReportWriterService

public void setCreateCashSweepProcessedReportWriterService(ReportWriterService createCashSweepProcessedReportWriterService)
Sets the createCashSweepProcessedReportWriterService attribute value.

Parameters:
createCashSweepProcessedReportWriterService - The createCashSweepProcessedReportWriterService to set.

setConfigService

public void setConfigService(org.kuali.rice.kns.service.KualiConfigurationService configService)
Sets the configService attribute value.

Parameters:
configService - The configService to set.

setCashSweepModelDao

public void setCashSweepModelDao(CashSweepModelDao cashSweepModelDao)
Sets the cashSweepModelDao attribute value.

Parameters:
cashSweepModelDao - The cashSweepModelDao to set.

setDataDictionaryService

public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
Sets the dataDictionaryService attribute value.

Parameters:
dataDictionaryService - The dataDictionaryService to set.

setUpdateEaiTaxLotService

public void setUpdateEaiTaxLotService(UpdateAssetIncreaseDocumentTaxLotsService updateEaiTaxLotService)
Sets the updateEaiTaxLotService attribute value.

Parameters:
updateEaiTaxLotService - The updateEaiTaxLotService to set.

setUpdateEadTaxLotService

public void setUpdateEadTaxLotService(UpdateAssetDecreaseDocumentTaxLotsService updateEadTaxLotService)
Sets the updateEadTaxLotService attribute value.

Parameters:
updateEadTaxLotService - The updateEadTaxLotService to set.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.