org.kuali.kfs.module.ar.document.dataaccess.impl
Class CustomerInvoiceDocumentDaoOjb

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
              extended by org.kuali.kfs.module.ar.document.dataaccess.impl.CustomerInvoiceDocumentDaoOjb
All Implemented Interfaces:
CustomerInvoiceDocumentDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class CustomerInvoiceDocumentDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements CustomerInvoiceDocumentDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
CustomerInvoiceDocumentDaoOjb()
           
 
Method Summary
 Collection getAllOpen()
          Retrieves all Open invoices, with outstanding balances.
 List<String> getCustomerInvoiceDocumentNumbersByBillingChartAndOrg(String chartOfAccountsCode, String organizationCode)
          Retrieves all Invoice document numbers in the system associated with the given Billing Chart and Org.
 List<String> getCustomerInvoiceDocumentNumbersByProcessingChartAndOrg(String chartOfAccountsCode, String organizationCode)
          Retrieves all Invoice document numbers in the system associated with the given Processing Chart and Org.
 CustomerInvoiceDocument getInvoiceByInvoiceDocumentNumber(String documentNumber)
           
 CustomerInvoiceDocument getInvoiceByOrganizationInvoiceNumber(String organizationInvoiceNumber)
           
 Collection getOpenByCustomerName(String customerName)
          Retrieves all Open invoices, by the specified Customer Name.
 Collection getOpenByCustomerNameByCustomerType(String customerName, String customerTypeCode)
          Retrieves all Open invoices, by the specified Customer Name and Customer Type Code Retrieves all Open invoices, by the specified Customer Name (a LIKE customerName* search) and Customer Type Code.
 Collection getOpenByCustomerNumber(String customerNumber)
          Retrieves all Open invoices from the specified Customer Number.
 Collection getOpenByCustomerType(String customerTypeCode)
          Retrieves all Open invoices, by the specified Customer Type Code.
 List<String> getPrintableCustomerInvoiceDocumentNumbersByBillingChartAndOrg(String chartOfAccountsCode, String organizationCode)
          Retrieves all Invoice document numbers in the system associated with the given Billing Chart and Org, that are approved and ready to print.
 List<String> getPrintableCustomerInvoiceDocumentNumbersByProcessingChartAndOrg(String chartOfAccountsCode, String organizationCode)
          Retrieves all Invoice document numbers in the system associated with the given Processing Chart and Org, that are approved and ready to print.
 List<String> getPrintableCustomerInvoiceDocumentNumbersForBillingStatementByBillingChartAndOrg(String chartOfAccountsCode, String organizationCode)
          Very similar to above except lacks check for print invoice indicator and print date.
 List<String> getPrintableCustomerInvoiceDocumentNumbersFromUserQueue()
          Retrieves all Invoice document numbers that meet the following criteria: 1) PrintIndicator = BY_USER 2) PrintDate = null 3) DocHeader.Status = Approved WARNING that all the returned documents lack any workflow wiring.
 
Methods inherited from class org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
getDbPlatform, setDbPlatform
 
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerInvoiceDocumentDaoOjb

public CustomerInvoiceDocumentDaoOjb()
Method Detail

getPrintableCustomerInvoiceDocumentNumbersFromUserQueue

public List<String> getPrintableCustomerInvoiceDocumentNumbersFromUserQueue()
Description copied from interface: CustomerInvoiceDocumentDao
Retrieves all Invoice document numbers that meet the following criteria: 1) PrintIndicator = BY_USER 2) PrintDate = null 3) DocHeader.Status = Approved WARNING that all the returned documents lack any workflow wiring.

Specified by:
getPrintableCustomerInvoiceDocumentNumbersFromUserQueue in interface CustomerInvoiceDocumentDao
Returns:

getPrintableCustomerInvoiceDocumentNumbersByProcessingChartAndOrg

public List<String> getPrintableCustomerInvoiceDocumentNumbersByProcessingChartAndOrg(String chartOfAccountsCode,
                                                                                      String organizationCode)
Description copied from interface: CustomerInvoiceDocumentDao
Retrieves all Invoice document numbers in the system associated with the given Processing Chart and Org, that are approved and ready to print. WARNING that all the returned documents lack any workflow wiring.

Specified by:
getPrintableCustomerInvoiceDocumentNumbersByProcessingChartAndOrg in interface CustomerInvoiceDocumentDao
Returns:

getPrintableCustomerInvoiceDocumentNumbersByBillingChartAndOrg

public List<String> getPrintableCustomerInvoiceDocumentNumbersByBillingChartAndOrg(String chartOfAccountsCode,
                                                                                   String organizationCode)
Description copied from interface: CustomerInvoiceDocumentDao
Retrieves all Invoice document numbers in the system associated with the given Billing Chart and Org, that are approved and ready to print. WARNING that all the returned documents lack any workflow wiring.

Specified by:
getPrintableCustomerInvoiceDocumentNumbersByBillingChartAndOrg in interface CustomerInvoiceDocumentDao
Returns:

getPrintableCustomerInvoiceDocumentNumbersForBillingStatementByBillingChartAndOrg

public List<String> getPrintableCustomerInvoiceDocumentNumbersForBillingStatementByBillingChartAndOrg(String chartOfAccountsCode,
                                                                                                      String organizationCode)
Very similar to above except lacks check for print invoice indicator and print date.

Specified by:
getPrintableCustomerInvoiceDocumentNumbersForBillingStatementByBillingChartAndOrg in interface CustomerInvoiceDocumentDao
Returns:
See Also:
CustomerInvoiceDocumentDao.getPrintableCustomerInvoiceDocumentNumbersForBillingStatementByBillingChartAndOrg(java.lang.String, java.lang.String)

getCustomerInvoiceDocumentNumbersByProcessingChartAndOrg

public List<String> getCustomerInvoiceDocumentNumbersByProcessingChartAndOrg(String chartOfAccountsCode,
                                                                             String organizationCode)
Description copied from interface: CustomerInvoiceDocumentDao
Retrieves all Invoice document numbers in the system associated with the given Processing Chart and Org. WARNING that all the returned documents lack any workflow wiring.

Specified by:
getCustomerInvoiceDocumentNumbersByProcessingChartAndOrg in interface CustomerInvoiceDocumentDao
Returns:

getCustomerInvoiceDocumentNumbersByBillingChartAndOrg

public List<String> getCustomerInvoiceDocumentNumbersByBillingChartAndOrg(String chartOfAccountsCode,
                                                                          String organizationCode)
Description copied from interface: CustomerInvoiceDocumentDao
Retrieves all Invoice document numbers in the system associated with the given Billing Chart and Org. WARNING that all the returned documents lack any workflow wiring.

Specified by:
getCustomerInvoiceDocumentNumbersByBillingChartAndOrg in interface CustomerInvoiceDocumentDao
Returns:

getAllOpen

public Collection getAllOpen()
Description copied from interface: CustomerInvoiceDocumentDao
Retrieves all Open invoices, with outstanding balances.

Specified by:
getAllOpen in interface CustomerInvoiceDocumentDao
Returns:

getOpenByCustomerNumber

public Collection getOpenByCustomerNumber(String customerNumber)
Description copied from interface: CustomerInvoiceDocumentDao
Retrieves all Open invoices from the specified Customer Number.

Specified by:
getOpenByCustomerNumber in interface CustomerInvoiceDocumentDao
Returns:

getOpenByCustomerNameByCustomerType

public Collection getOpenByCustomerNameByCustomerType(String customerName,
                                                      String customerTypeCode)
Description copied from interface: CustomerInvoiceDocumentDao
Retrieves all Open invoices, by the specified Customer Name and Customer Type Code Retrieves all Open invoices, by the specified Customer Name (a LIKE customerName* search) and Customer Type Code.

Specified by:
getOpenByCustomerNameByCustomerType in interface CustomerInvoiceDocumentDao
Returns:

getOpenByCustomerName

public Collection getOpenByCustomerName(String customerName)
Description copied from interface: CustomerInvoiceDocumentDao
Retrieves all Open invoices, by the specified Customer Name. NOTE - this search uses customerName as a leading substring search, so it will return anything matching a customerName that begins with the value passed in. ie, a LIKE customerName* search.

Specified by:
getOpenByCustomerName in interface CustomerInvoiceDocumentDao
Returns:

getOpenByCustomerType

public Collection getOpenByCustomerType(String customerTypeCode)
Description copied from interface: CustomerInvoiceDocumentDao
Retrieves all Open invoices, by the specified Customer Type Code.

Specified by:
getOpenByCustomerType in interface CustomerInvoiceDocumentDao
Returns:

getInvoiceByOrganizationInvoiceNumber

public CustomerInvoiceDocument getInvoiceByOrganizationInvoiceNumber(String organizationInvoiceNumber)
Specified by:
getInvoiceByOrganizationInvoiceNumber in interface CustomerInvoiceDocumentDao
Returns:
See Also:
CustomerInvoiceDocumentDao.getInvoiceByOrganizationInvoiceNumber(java.lang.String)

getInvoiceByInvoiceDocumentNumber

public CustomerInvoiceDocument getInvoiceByInvoiceDocumentNumber(String documentNumber)
Specified by:
getInvoiceByInvoiceDocumentNumber in interface CustomerInvoiceDocumentDao
Returns:
See Also:
CustomerInvoiceDocumentDao.getInvoiceByInvoiceDocumentNumber(java.lang.String)


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