org.kuali.kfs.module.ar.batch.service.impl
Class InvoiceRecurrenceServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.ar.batch.service.impl.InvoiceRecurrenceServiceImpl
All Implemented Interfaces:
InvoiceRecurrenceService

@Transactional
public class InvoiceRecurrenceServiceImpl
extends Object
implements InvoiceRecurrenceService

Lockbox Iterators are sorted by processedInvoiceDate and batchSequenceNumber. Potentially there could be many batches on the same date. For each set of records with the same processedInvoiceDate and batchSequenceNumber, there will be one Cash-Control document. Each record within this set will create one Application document.


Field Summary
 InvoiceRecurrenceDao invoiceRecurrenceDao
           
 
Constructor Summary
InvoiceRecurrenceServiceImpl()
           
 
Method Summary
protected  org.kuali.rice.kns.bo.AdHocRouteRecipient buildApprovePersonRecipient(String userId)
          This method builds a recipient for Approval.
protected  org.kuali.rice.kns.bo.AdHocRouteRecipient buildApproveWorkgroupRecipient(String workgroupId)
          This method builds a workgroup recipient for Approval.
protected  org.kuali.rice.kns.bo.AdHocRouteRecipient buildFyiPersonRecipient(String userId)
          This method builds a FYI recipient.
protected  org.kuali.rice.kns.bo.AdHocRouteRecipient buildFyiWorkgroupRecipient(String workgroupId)
          This method builds a FYI workgroup recipient.
 org.kuali.rice.kns.service.DateTimeService getDateTimeService()
           
 org.kuali.rice.kns.service.DocumentService getDocumentService()
           
 InvoiceRecurrenceDao getInvoiceRecurrenceDao()
           
protected  String getInvoiceRecurrenceMaintenanceDocumentTypeName()
           
 boolean processInvoiceRecurrence()
           
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService boService)
           
 void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
           
 void setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
           
 void setInvoiceRecurrenceDao(InvoiceRecurrenceDao invoiceRecurrenceDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

invoiceRecurrenceDao

public InvoiceRecurrenceDao invoiceRecurrenceDao
Constructor Detail

InvoiceRecurrenceServiceImpl

public InvoiceRecurrenceServiceImpl()
Method Detail

getDateTimeService

public org.kuali.rice.kns.service.DateTimeService getDateTimeService()

setDateTimeService

public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)

getDocumentService

public org.kuali.rice.kns.service.DocumentService getDocumentService()

setDocumentService

public void setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)

processInvoiceRecurrence

public boolean processInvoiceRecurrence()
                                 throws org.kuali.rice.kew.exception.WorkflowException
Specified by:
processInvoiceRecurrence in interface InvoiceRecurrenceService
Throws:
org.kuali.rice.kew.exception.WorkflowException

getInvoiceRecurrenceMaintenanceDocumentTypeName

protected String getInvoiceRecurrenceMaintenanceDocumentTypeName()

buildFyiPersonRecipient

protected org.kuali.rice.kns.bo.AdHocRouteRecipient buildFyiPersonRecipient(String userId)
This method builds a FYI recipient.

Parameters:
userId -
Returns:

buildApprovePersonRecipient

protected org.kuali.rice.kns.bo.AdHocRouteRecipient buildApprovePersonRecipient(String userId)
This method builds a recipient for Approval.

Parameters:
userId -
Returns:

buildFyiWorkgroupRecipient

protected org.kuali.rice.kns.bo.AdHocRouteRecipient buildFyiWorkgroupRecipient(String workgroupId)
This method builds a FYI workgroup recipient.

Parameters:
userId -
Returns:

buildApproveWorkgroupRecipient

protected org.kuali.rice.kns.bo.AdHocRouteRecipient buildApproveWorkgroupRecipient(String workgroupId)
This method builds a workgroup recipient for Approval.

Parameters:
userId -
Returns:

getInvoiceRecurrenceDao

public InvoiceRecurrenceDao getInvoiceRecurrenceDao()

setInvoiceRecurrenceDao

public void setInvoiceRecurrenceDao(InvoiceRecurrenceDao invoiceRecurrenceDao)

setBusinessObjectService

public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService boService)


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