@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, setDbPlatform
public PurchaseOrderDaoOjb()
public Integer getPurchaseOrderIdForCurrentPurchaseOrderByRelatedDocId(Integer accountsPayablePurchasingDocumentLinkIdentifier)
getPurchaseOrderIdForCurrentPurchaseOrderByRelatedDocId
in interface PurchaseOrderDao
public PurchaseOrderDocument getCurrentPurchaseOrder(Integer id)
getCurrentPurchaseOrder
in interface PurchaseOrderDao
public String getDocumentNumberForPurchaseOrderId(Integer id)
PurchaseOrderDao
getDocumentNumberForPurchaseOrderId
in interface PurchaseOrderDao
id
- - purapDocument IdentifierPurchaseOrderDao.getDocumentNumberForPurchaseOrderId(java.lang.Integer)
public String getDocumentNumberForCurrentPurchaseOrder(Integer id)
PurchaseOrderDao
getDocumentNumberForCurrentPurchaseOrder
in interface PurchaseOrderDao
id
- - purapDocument IdentifierPurchaseOrderDao.getDocumentNumberForCurrentPurchaseOrder(java.lang.Integer)
public String getOldestPurchaseOrderDocumentNumber(Integer id)
PurchaseOrderDao
getOldestPurchaseOrderDocumentNumber
in interface PurchaseOrderDao
id
- - 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)
PurchaseOrderDao
itemExistsOnPurchaseOrder
in interface PurchaseOrderDao
PurchaseOrderDao.itemExistsOnPurchaseOrder(java.lang.Integer, java.lang.String)
public List<AutoClosePurchaseOrderView> getAllOpenPurchaseOrders(List<String> excludedVendorChoiceCodes)
PurchaseOrderDao
getAllOpenPurchaseOrders
in interface PurchaseOrderDao
excludedVendorChoiceCodes
- - list of strings of excluded vendor choice codesPurchaseOrderDao.getAllOpenPurchaseOrders(java.util.List)
public List<AutoClosePurchaseOrderView> getAllOpenPurchaseOrders(List<String> excludedVendorChoiceCodes, Date poCloseFromDate, Date poCloseToDate)
PurchaseOrderDao
getAllOpenPurchaseOrders
in interface PurchaseOrderDao
excludedVendorChoiceCodes
- - 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)
PurchaseOrderDao
getAutoCloseRecurringPurchaseOrders
in interface PurchaseOrderDao
excludedVendorChoiceCodes
- - list of strings of excluded vendor choice codesPurchaseOrderDao.getAutoCloseRecurringPurchaseOrders(java.util.List)
public List<PurchaseOrderDocument> getPendingPurchaseOrdersForFaxing()
PurchaseOrderDao
getPendingPurchaseOrdersForFaxing
in interface PurchaseOrderDao
protected String getProperty(String property)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.