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

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

@Transactional
public class CreateAutomatedCashInvestmentTransactionsServiceImpl
extends Object
implements CreateAutomatedCashInvestmentTransactionsService


Constructor Summary
CreateAutomatedCashInvestmentTransactionsServiceImpl()
           
 
Method Summary
 boolean createAciTransactions()
           
protected  boolean performCleanUpForAssetDecrease(boolean isIncome, AssetDecreaseDocument assetDecreaseDoc)
          Verify that we don't need to do any clean-up.
protected  boolean performCleanUpForAssetIncrease(boolean isIncome, AssetIncreaseDocument assetIncreaseDoc)
          Verify that we don't need to do any clean-up.
protected  void processAssetDecreaseDocs(List<KEMID> kemids, AutomatedCashInvestmentModel aciModel, boolean isIncome)
          Process all the asset decrease documents for income and principle types.
protected  void processAssetIncreaseDocs(List<KEMID> kemids, AutomatedCashInvestmentModel aciModel, boolean isIncome)
          Process all the asset increase documents for income and principle types.
protected  boolean routeAssetDecreaseDocument(AssetDecreaseDocument assetDecreaseDoc, boolean isIncome)
          Validates the asset decrease document and routes it.
protected  boolean routeAssetIncreaseDocument(AssetIncreaseDocument assetIncreaseDoc, boolean isIncome)
          Validates the asset increase document and routes it.
 void setAutomatedCashInvestmentModelDao(AutomatedCashInvestmentModelDao automatedCashInvestmentModelDao)
          Sets the automatedCashInvestmentModelDao attribute value.
 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 attribute value.
 void setCreateAutomatedCashInvestmentExceptionReportWriterService(ReportWriterService createAutomatedCashInvestmentExceptionReportWriterService)
          Sets the createAutomatedCashInvestmentExceptionReportWriterService attribute value.
 void setCreateAutomatedCashInvestmentProcessedReportWriterService(ReportWriterService createAutomatedCashInvestmentProcessedReportWriterService)
          Sets the createAutomatedCashInvestmentProcessedReportWriterService 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 setSecurityService(SecurityService securityService)
          Sets the securityService 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
 

Constructor Detail

CreateAutomatedCashInvestmentTransactionsServiceImpl

public CreateAutomatedCashInvestmentTransactionsServiceImpl()
Method Detail

createAciTransactions

public boolean createAciTransactions()
Specified by:
createAciTransactions in interface CreateAutomatedCashInvestmentTransactionsService
Returns:
true if successful, false otherwise
See Also:
org.kuali.kfs.module.endow.batch.service.CreateAutomatedCashInvestmentTransactionsService#createACITransactions()

processAssetIncreaseDocs

protected void processAssetIncreaseDocs(List<KEMID> kemids,
                                        AutomatedCashInvestmentModel aciModel,
                                        boolean isIncome)
Process all the asset increase documents for income and principle types.

Parameters:
kemid -
aciModel -

processAssetDecreaseDocs

protected void processAssetDecreaseDocs(List<KEMID> kemids,
                                        AutomatedCashInvestmentModel aciModel,
                                        boolean isIncome)
Process all the asset decrease documents for income and principle types.

Parameters:
kemids -
aciModel -
isIncome -

performCleanUpForAssetDecrease

protected boolean performCleanUpForAssetDecrease(boolean isIncome,
                                                 AssetDecreaseDocument assetDecreaseDoc)
Verify that we don't need to do any clean-up. There could still be some let over transaction lines, less than the max amount that need to still be processed on the current eDoc.

Parameters:
isIncome -
assetIncreaseDoc -

performCleanUpForAssetIncrease

protected boolean performCleanUpForAssetIncrease(boolean isIncome,
                                                 AssetIncreaseDocument assetIncreaseDoc)
Verify that we don't need to do any clean-up. There could still be some let over transaction lines, less than the max amount that need to still be processed on the current eDoc.

Parameters:
isIncome -
assetIncreaseDoc -

routeAssetDecreaseDocument

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

Parameters:
assetDecreaseDoc -
isIncome -
Returns:

routeAssetIncreaseDocument

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

Parameters:
assetIncreaseDoc -
isIncome -
Returns:

setCreateAutomatedCashInvestmentExceptionReportWriterService

public void setCreateAutomatedCashInvestmentExceptionReportWriterService(ReportWriterService createAutomatedCashInvestmentExceptionReportWriterService)
Sets the createAutomatedCashInvestmentExceptionReportWriterService attribute value.

Parameters:
createAutomatedCashInvestmentExceptionReportWriterService - The createAutomatedCashInvestmentExceptionReportWriterService to set.

setCreateAutomatedCashInvestmentProcessedReportWriterService

public void setCreateAutomatedCashInvestmentProcessedReportWriterService(ReportWriterService createAutomatedCashInvestmentProcessedReportWriterService)
Sets the createAutomatedCashInvestmentProcessedReportWriterService attribute value.

Parameters:
createAutomatedCashInvestmentProcessedReportWriterService - The createAutomatedCashInvestmentProcessedReportWriterService to set.

setBusinessObjectService

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

Parameters:
businessObjectService - The businessObjectService 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.

setDocumentService

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

Parameters:
documentService - The documentService to set.

setKemidService

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

Parameters:
kemidService - The kemidService to set.

setKemService

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

Parameters:
kemService - The kemService to set.

setSecurityService

public void setSecurityService(SecurityService securityService)
Sets the securityService attribute value.

Parameters:
securityService - The securityService to set.

setConfigService

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

Parameters:
configService - The configService to set.

setAutomatedCashInvestmentModelDao

public void setAutomatedCashInvestmentModelDao(AutomatedCashInvestmentModelDao automatedCashInvestmentModelDao)
Sets the automatedCashInvestmentModelDao attribute value.

Parameters:
automatedCashInvestmentModelDao - The automatedCashInvestmentModelDao 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.