org.kuali.kfs.module.ar.document.service.impl
Class CustomerOpenItemReportServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.ar.document.service.impl.CustomerOpenItemReportServiceImpl
All Implemented Interfaces:
CustomerOpenItemReportService

@Transactional
public class CustomerOpenItemReportServiceImpl
extends Object
implements CustomerOpenItemReportService


Constructor Summary
CustomerOpenItemReportServiceImpl()
           
 
Method Summary
protected  Collection getARDocumentHeaders(Map urlParameters)
          This method retrieves ARDocumentHeader objects for "Customer Open Item Report"
 Collection getDocuments(Class classToSearchFrom, List documentNumbers)
          This method returns collection of documents of type classToSearchFrom Note: can be used for documents only, not for *DocumentHeaders @param documentNumbers
protected  Collection<CustomerInvoiceDocument> getInvoicesByAccountNumberByDocumentIds(String accountNumber, List arDocumentHeaderIds, Collection<CustomerInvoiceDetail> details)
           
 List getPopulatedReportDetails(Map urlParameters)
          This method populates CustomerOpenItemReportDetails (Customer Open Item Report)
 List getPopulatedReportDetails(String customerNumber)
          This method populates CustomerOpenItemReportDetails (Customer History Report).
protected  Date getSqlDate(Calendar cal)
           
protected  void populateReporDetails(List<CustomerInvoiceDocument> selectedInvoices, List results, Collection<CustomerInvoiceDetail> invoiceDetails)
           
protected  void populateReportDetails(List<CustomerInvoiceDocument> invoices, List results)
           
 void populateReportDetails(List finSysDocHeaderIds, List results, Hashtable details)
          This method populates CustomerOpenItemReportDetails for CustomerCreditMemoDocuments and WriteOffDocuments <=> all documents but CustomerInvoiceDocument and PaymentApplicationDocument (Customer History Report).
protected  void populateReportDetailsForInvoices(List invoiceIds, List results, Hashtable details)
          This method populates CustomerOpenItemReportDetails for CustomerInvoiceDocuments (Customer History Report).
protected  void populateReportDetailsForPaymentApplications(List paymentApplicationIds, List results, Hashtable details)
          This method populates CustomerOpenItemReportDetails for PaymentApplicationDocuments (Customer History Report).
protected  void populateReportDetailsForUnappliedPaymentApplications(List unappliedHoldingIds, List results, Hashtable details)
          This method populates CustomerOpenItemReportDetails for UnappliedPaymentApplicationDocuments (Customer History Report).
 void setAccountsReceivableDocumentHeaderDao(AccountsReceivableDocumentHeaderDao accountsReceivableDocumentHeaderDao)
           
 void setCustomerInvoiceDetailDao(CustomerInvoiceDetailDao customerInvoiceDetailDao)
           
 void setCustomerInvoiceDocumentService(CustomerInvoiceDocumentService customerInvoiceDocumentService)
           
 void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
           
 void setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
           
 void setFinancialSystemDocumentHeaderDao(FinancialSystemDocumentHeaderDao financialSystemDocumentHeaderDao)
           
 void setNonAppliedHoldingDao(NonAppliedHoldingDao nonAppliedHoldingDao)
           
 void setWorkflowDocumentService(org.kuali.rice.kns.workflow.service.WorkflowDocumentService workflowDocumentService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerOpenItemReportServiceImpl

public CustomerOpenItemReportServiceImpl()
Method Detail

getPopulatedReportDetails

public List getPopulatedReportDetails(String customerNumber)
This method populates CustomerOpenItemReportDetails (Customer History Report).

Specified by:
getPopulatedReportDetails in interface CustomerOpenItemReportService
Parameters:
customerNumber -

populateReportDetailsForInvoices

protected void populateReportDetailsForInvoices(List invoiceIds,
                                                List results,
                                                Hashtable details)
This method populates CustomerOpenItemReportDetails for CustomerInvoiceDocuments (Customer History Report).

Parameters:
finSysDocHeaderIds - <=> documentNumbers of CustomerInvoiceDocuments
results - <=> CustomerOpenItemReportDetails to display in the report
details - <=>

populateReportDetailsForPaymentApplications

protected void populateReportDetailsForPaymentApplications(List paymentApplicationIds,
                                                           List results,
                                                           Hashtable details)
                                                    throws org.kuali.rice.kew.exception.WorkflowException
This method populates CustomerOpenItemReportDetails for PaymentApplicationDocuments (Customer History Report).

Parameters:
paymentApplicationIds - <=> documentNumbers of PaymentApplicationDocuments
results - <=> CustomerOpenItemReportDetails to display in the report
details - <=>
Throws:
org.kuali.rice.kew.exception.WorkflowException

populateReportDetailsForUnappliedPaymentApplications

protected void populateReportDetailsForUnappliedPaymentApplications(List unappliedHoldingIds,
                                                                    List results,
                                                                    Hashtable details)
                                                             throws org.kuali.rice.kew.exception.WorkflowException
This method populates CustomerOpenItemReportDetails for UnappliedPaymentApplicationDocuments (Customer History Report).

Parameters:
unappliedHoldingIds - <=> documentNumbers of UnappliedPaymentApplicationDocuments
results - <=> CustomerOpenItemReportDetails to display in the report
details - <=>
Throws:
org.kuali.rice.kew.exception.WorkflowException

populateReportDetails

public void populateReportDetails(List finSysDocHeaderIds,
                                  List results,
                                  Hashtable details)
This method populates CustomerOpenItemReportDetails for CustomerCreditMemoDocuments and WriteOffDocuments <=> all documents but CustomerInvoiceDocument and PaymentApplicationDocument (Customer History Report).

Parameters:
finSysDocHeaderIds - <=> documentNumbers of FinancialSystemDocumentHeaders
results - <=> CustomerOpenItemReportDetails to display in the report
details - <=>

getDocuments

public Collection getDocuments(Class classToSearchFrom,
                               List documentNumbers)
This method returns collection of documents of type classToSearchFrom Note: can be used for documents only, not for *DocumentHeaders @param documentNumbers


getSqlDate

protected Date getSqlDate(Calendar cal)

getPopulatedReportDetails

public List getPopulatedReportDetails(Map urlParameters)
This method populates CustomerOpenItemReportDetails (Customer Open Item Report)

Specified by:
getPopulatedReportDetails in interface CustomerOpenItemReportService
Parameters:
urlParameters -

getARDocumentHeaders

protected Collection getARDocumentHeaders(Map urlParameters)
This method retrieves ARDocumentHeader objects for "Customer Open Item Report"

Parameters:
urlParameters -
Returns:
ARDocumentHeader objects meeting the search criteria

getInvoicesByAccountNumberByDocumentIds

protected Collection<CustomerInvoiceDocument> getInvoicesByAccountNumberByDocumentIds(String accountNumber,
                                                                                      List arDocumentHeaderIds,
                                                                                      Collection<CustomerInvoiceDetail> details)

populateReporDetails

protected void populateReporDetails(List<CustomerInvoiceDocument> selectedInvoices,
                                    List results,
                                    Collection<CustomerInvoiceDetail> invoiceDetails)

populateReportDetails

protected void populateReportDetails(List<CustomerInvoiceDocument> invoices,
                                     List results)

setAccountsReceivableDocumentHeaderDao

public void setAccountsReceivableDocumentHeaderDao(AccountsReceivableDocumentHeaderDao accountsReceivableDocumentHeaderDao)

setWorkflowDocumentService

public void setWorkflowDocumentService(org.kuali.rice.kns.workflow.service.WorkflowDocumentService workflowDocumentService)

setCustomerInvoiceDocumentService

public void setCustomerInvoiceDocumentService(CustomerInvoiceDocumentService customerInvoiceDocumentService)

setFinancialSystemDocumentHeaderDao

public void setFinancialSystemDocumentHeaderDao(FinancialSystemDocumentHeaderDao financialSystemDocumentHeaderDao)

setDocumentService

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

setDateTimeService

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

setCustomerInvoiceDetailDao

public void setCustomerInvoiceDetailDao(CustomerInvoiceDetailDao customerInvoiceDetailDao)

setNonAppliedHoldingDao

public void setNonAppliedHoldingDao(NonAppliedHoldingDao nonAppliedHoldingDao)


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