public class PurApRelatedViews extends Object
| Modifier and Type | Class and Description | 
|---|---|
class  | 
PurApRelatedViews.PurchaseOrderViewGroup
A container for a List 
 | 
class  | 
PurApRelatedViews.ReceivingViewGroup
A container for a LineItemReceivingView and a list of its associated CorrectionReceivingViews. 
 | 
| Constructor and Description | 
|---|
PurApRelatedViews(String documentNumber,
                                  Integer accountsPayablePurchasingDocumentLinkIdentifier)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected org.kuali.rice.krad.document.Document | 
findDocument(String documentHeaderId)
This method finds the document for the given document header id 
 | 
List<PurApRelatedViews.PurchaseOrderViewGroup> | 
getGroupedRelatedPurchaseOrderViews()
Groups related PurchaseOrderViews by POIDs descending, and within each group order POs by document numbers descending;
 thus groups of newer POIDs will be in the front, and within each group, more current POs will be in the front. 
 | 
List<PurApRelatedViews.ReceivingViewGroup> | 
getGroupedRelatedReceivingViews()
Groups related LineItemReceivingView and its CorrectionReceivingViews, with more recent receiving groups in the front;
 and within each group, with more recent corrections in the front. 
 | 
List<CreditMemoView> | 
getPaymentHistoryCreditMemoViews()
Gets the Payment History Credit Memo Views for this document. 
 | 
List<InvoiceView> | 
getPaymentHistoryInvoiceViews()
Gets the Payment History Invoice Views for this document. 
 | 
List<PaymentRequestView> | 
getPaymentHistoryPaymentRequestViews()
Gets the Payment History Payment Request Views for this document. 
 | 
List<BulkReceivingView> | 
getRelatedBulkReceivingViews()  | 
List<CorrectionReceivingView> | 
getRelatedCorrectionReceivingViews()  | 
List<CreditMemoView> | 
getRelatedCreditMemoViews()  | 
List<InvoiceView> | 
getRelatedInvoiceViews()  | 
List<LineItemReceivingView> | 
getRelatedLineItemReceivingViews()  | 
List<PaymentRequestView> | 
getRelatedPaymentRequestViews()  | 
List<PurchaseOrderView> | 
getRelatedPurchaseOrderViews()
Obtains a list of related PurchaseOrderViews, first ordered by POIDs descending, then by document numbers descending;
 thus POs with newer POIDs will be in the front, and within the same POID, the current PO will be in the front. 
 | 
List<ElectronicInvoiceRejectView> | 
getRelatedRejectViews()  | 
List<RequisitionView> | 
getRelatedRequisitionViews()  | 
static org.springframework.transaction.PlatformTransactionManager | 
getTransactionManager()  | 
protected void | 
maskPONumberIfUnapproved(AbstractRelatedView view)
masks the po number if the po is unappoved yet. 
 | 
void | 
resetRelatedViews()
Reset all related view lists to null. 
 | 
List | 
updateRelatedView(Class<?> clazz,
                                  List<? extends AbstractRelatedView> relatedList,
                                  boolean removeCurrentDocument)  | 
public PurApRelatedViews(String documentNumber, Integer accountsPayablePurchasingDocumentLinkIdentifier)
public void resetRelatedViews()
public static org.springframework.transaction.PlatformTransactionManager getTransactionManager()
public List updateRelatedView(Class<?> clazz, List<? extends AbstractRelatedView> relatedList, boolean removeCurrentDocument)
protected void maskPONumberIfUnapproved(AbstractRelatedView view)
view - protected org.kuali.rice.krad.document.Document findDocument(String documentHeaderId)
documentHeaderId - public List<RequisitionView> getRelatedRequisitionViews()
org.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument#getRelatedRequisitionViews()public List<ElectronicInvoiceRejectView> getRelatedRejectViews()
public List<PurchaseOrderView> getRelatedPurchaseOrderViews()
public List<PurApRelatedViews.PurchaseOrderViewGroup> getGroupedRelatedPurchaseOrderViews()
org.kuali.ole.module.purap.util.PurApRelatedViews.getRelatedPurchaseOrderViews, 
PurchaseOrderViewpublic List<PaymentRequestView> getRelatedPaymentRequestViews()
org.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument#getRelatedPaymentRequestViews()public List<CreditMemoView> getRelatedCreditMemoViews()
org.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument#getRelatedCreditMemoViews()public List<InvoiceView> getRelatedInvoiceViews()
org.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument#getRelatedPaymentRequestViews()public List<PaymentRequestView> getPaymentHistoryPaymentRequestViews()
public List<CreditMemoView> getPaymentHistoryCreditMemoViews()
public List<InvoiceView> getPaymentHistoryInvoiceViews()
public List<LineItemReceivingView> getRelatedLineItemReceivingViews()
org.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument#getRelatedRequisitionViews()public List<CorrectionReceivingView> getRelatedCorrectionReceivingViews()
org.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument#getRelatedRequisitionViews()public List<BulkReceivingView> getRelatedBulkReceivingViews()
public List<PurApRelatedViews.ReceivingViewGroup> getGroupedRelatedReceivingViews()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.