|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
org.kuali.kfs.module.purap.document.dataaccess.impl.PurchaseOrderDaoOjb
public class PurchaseOrderDaoOjb
OJB implementation of PurchaseOrderDao.
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
PurchaseOrderDaoOjb()
|
|
| Method Summary | |
|---|---|
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> |
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 Iterator<Object[]> |
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 |
Integer |
getPurchaseOrderIdForCurrentPurchaseOrderByRelatedDocId(Integer accountsPayablePurchasingDocumentLinkIdentifier)
|
boolean |
itemExistsOnPurchaseOrder(Integer poItemLineNumber,
String docNumber)
Determines if the purchase order item exists on the current purchase order. |
| 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 |
|---|
public PurchaseOrderDaoOjb()
| Method Detail |
|---|
public Integer getPurchaseOrderIdForCurrentPurchaseOrderByRelatedDocId(Integer accountsPayablePurchasingDocumentLinkIdentifier)
getPurchaseOrderIdForCurrentPurchaseOrderByRelatedDocId in interface PurchaseOrderDaopublic PurchaseOrderDocument getCurrentPurchaseOrder(Integer id)
getCurrentPurchaseOrder in interface PurchaseOrderDaopublic String getDocumentNumberForPurchaseOrderId(Integer id)
PurchaseOrderDao
getDocumentNumberForPurchaseOrderId in interface PurchaseOrderDaoid - - purapDocument Identifier
PurchaseOrderDao.getDocumentNumberForPurchaseOrderId(java.lang.Integer)public String getDocumentNumberForCurrentPurchaseOrder(Integer id)
PurchaseOrderDao
getDocumentNumberForCurrentPurchaseOrder in interface PurchaseOrderDaoid - - purapDocument Identifier
PurchaseOrderDao.getDocumentNumberForCurrentPurchaseOrder(java.lang.Integer)public String getOldestPurchaseOrderDocumentNumber(Integer id)
PurchaseOrderDao
getOldestPurchaseOrderDocumentNumber 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 retrieve
protected Iterator<Object[]> getDocumentNumbersUsingPurchaseOrderCriteria(org.apache.ojb.broker.query.Criteria criteria)
criteria - - list of criteria to use in the retrieve
public boolean itemExistsOnPurchaseOrder(Integer poItemLineNumber,
String docNumber)
PurchaseOrderDao
itemExistsOnPurchaseOrder in interface PurchaseOrderDaoPurchaseOrderDao.itemExistsOnPurchaseOrder(java.lang.Integer, java.lang.String)public List<AutoClosePurchaseOrderView> getAllOpenPurchaseOrders(List<String> excludedVendorChoiceCodes)
PurchaseOrderDao
getAllOpenPurchaseOrders in interface PurchaseOrderDaoexcludedVendorChoiceCodes - - list of strings of excluded vendor choice codes
PurchaseOrderDao.getAllOpenPurchaseOrders(java.util.List)public List<AutoClosePurchaseOrderView> getAutoCloseRecurringPurchaseOrders(List<String> excludedVendorChoiceCodes)
PurchaseOrderDao
getAutoCloseRecurringPurchaseOrders in interface PurchaseOrderDaoexcludedVendorChoiceCodes - - list of strings of excluded vendor choice codes
PurchaseOrderDao.getAutoCloseRecurringPurchaseOrders(java.util.List)public List<PurchaseOrderDocument> getPendingPurchaseOrdersForFaxing()
PurchaseOrderDao
getPendingPurchaseOrdersForFaxing in interface PurchaseOrderDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||