@Transactional public class PurchaseOrderDaoOjb extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb implements PurchaseOrderDao
| Constructor and Description |
|---|
PurchaseOrderDaoOjb() |
| Modifier and Type | Method and Description |
|---|---|
List<AutoClosePurchaseOrderView> |
getAllOpenPurchaseOrders(List<String> excludedVendorChoiceCodes)
This method gets all the PurchaseOrderView objects that relate to POs
with no recurring payment type, status of 'OPEN', and total encumbrance
of 0 that do not have any of the excluded vendor choice codes.
|
List<AutoClosePurchaseOrderView> |
getAllOpenPurchaseOrders(List<String> excludedVendorChoiceCodes,
Date poCloseFromDate,
Date poCloseToDate)
This method gets all the PurchaseOrderView objects that relate to POs
with no recurring payment type, status of 'OPEN', and total encumbrance
of 0 that do not have any of the excluded vendor choice codes.
|
List<AutoClosePurchaseOrderView> |
getAutoCloseRecurringPurchaseOrders(List<String> excludedVendorChoiceCodes)
This method gets all the PurchaseOrderView objects that relate to POs
with a recurring payment type, status of 'OPEN', and that do not have any
of the excluded vendor choice codes.
|
PurchaseOrderDocument |
getCurrentPurchaseOrder(Integer id) |
String |
getDocumentNumberForCurrentPurchaseOrder(Integer id)
Retrieves the current Purchase Order Document's document number by the purapDocumentIdentifier.
|
String |
getDocumentNumberForPurchaseOrderId(Integer id)
Retrieves the Purchase Order Document's document number using the purapDocumentIdentifier as criteria
|
protected List<String> |
getDocumentNumbersUsingPurchaseOrderCriteria(org.apache.ojb.broker.query.Criteria criteria)
Retrieves a list of document numbers of the purchase order returned by the passed in criteria.
|
protected String |
getDocumentNumberUsingPurchaseOrderCriteria(org.apache.ojb.broker.query.Criteria criteria)
Retrieves the document number of the purchase order returned by the passed in criteria.
|
String |
getOldestPurchaseOrderDocumentNumber(Integer id)
Retrieves the oldest purchase order's (defined by the one having the smallest document number) document number.
|
List<PurchaseOrderDocument> |
getPendingPurchaseOrdersForFaxing()
This method gets all the Purchase orders that are waiting for faxing
|
protected String |
getProperty(String property) |
Integer |
getPurchaseOrderIdForCurrentPurchaseOrderByRelatedDocId(Integer accountsPayablePurchasingDocumentLinkIdentifier) |
boolean |
itemExistsOnPurchaseOrder(Integer poItemLineNumber,
String docNumber)
Determines if the purchase order item exists on the current purchase order.
|
getDbPlatform, setDbPlatformpublic PurchaseOrderDaoOjb()
public Integer getPurchaseOrderIdForCurrentPurchaseOrderByRelatedDocId(Integer accountsPayablePurchasingDocumentLinkIdentifier)
getPurchaseOrderIdForCurrentPurchaseOrderByRelatedDocId in interface PurchaseOrderDaopublic PurchaseOrderDocument getCurrentPurchaseOrder(Integer id)
getCurrentPurchaseOrder in interface PurchaseOrderDaopublic String getDocumentNumberForPurchaseOrderId(Integer id)
PurchaseOrderDaogetDocumentNumberForPurchaseOrderId in interface PurchaseOrderDaoid - - purapDocument IdentifierPurchaseOrderDao.getDocumentNumberForPurchaseOrderId(java.lang.Integer)public String getDocumentNumberForCurrentPurchaseOrder(Integer id)
PurchaseOrderDaogetDocumentNumberForCurrentPurchaseOrder in interface PurchaseOrderDaoid - - purapDocument IdentifierPurchaseOrderDao.getDocumentNumberForCurrentPurchaseOrder(java.lang.Integer)public String getOldestPurchaseOrderDocumentNumber(Integer id)
PurchaseOrderDaogetOldestPurchaseOrderDocumentNumber in interface PurchaseOrderDaoid - - the purapDocumentIdentifier.PurchaseOrderDao.getOldestPurchaseOrderDocumentNumber(java.lang.Integer)protected String getDocumentNumberUsingPurchaseOrderCriteria(org.apache.ojb.broker.query.Criteria criteria)
criteria - - list of criteria to use in the retrieveprotected List<String> getDocumentNumbersUsingPurchaseOrderCriteria(org.apache.ojb.broker.query.Criteria criteria)
criteria - - list of criteria to use in the retrievepublic boolean itemExistsOnPurchaseOrder(Integer poItemLineNumber, String docNumber)
PurchaseOrderDaoitemExistsOnPurchaseOrder in interface PurchaseOrderDaoPurchaseOrderDao.itemExistsOnPurchaseOrder(java.lang.Integer, java.lang.String)public List<AutoClosePurchaseOrderView> getAllOpenPurchaseOrders(List<String> excludedVendorChoiceCodes)
PurchaseOrderDaogetAllOpenPurchaseOrders in interface PurchaseOrderDaoexcludedVendorChoiceCodes - - list of strings of excluded vendor choice codesPurchaseOrderDao.getAllOpenPurchaseOrders(java.util.List)public List<AutoClosePurchaseOrderView> getAllOpenPurchaseOrders(List<String> excludedVendorChoiceCodes, Date poCloseFromDate, Date poCloseToDate)
PurchaseOrderDaogetAllOpenPurchaseOrders in interface PurchaseOrderDaoexcludedVendorChoiceCodes - - list of strings of excluded vendor choice codespoCloseFromDate - - start datepoCloseToDate - - end datePurchaseOrderDao.getAllOpenPurchaseOrders(java.util.List,java.sql.Date,java.sql.Date)public List<AutoClosePurchaseOrderView> getAutoCloseRecurringPurchaseOrders(List<String> excludedVendorChoiceCodes)
PurchaseOrderDaogetAutoCloseRecurringPurchaseOrders in interface PurchaseOrderDaoexcludedVendorChoiceCodes - - list of strings of excluded vendor choice codesPurchaseOrderDao.getAutoCloseRecurringPurchaseOrders(java.util.List)public List<PurchaseOrderDocument> getPendingPurchaseOrdersForFaxing()
PurchaseOrderDaogetPendingPurchaseOrdersForFaxing in interface PurchaseOrderDaoprotected String getProperty(String property)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.