View Javadoc
1   /*
2    * Copyright 2011 The Kuali Foundation.
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.ole.select.document.service;
17  
18  import org.kuali.ole.module.purap.document.PurchaseOrderDocument;
19  import org.kuali.ole.module.purap.document.RequisitionDocument;
20  import org.kuali.ole.select.businessobject.BibInfoBean;
21  import org.kuali.ole.select.businessobject.OlePurchaseOrderItem;
22  import org.kuali.ole.select.businessobject.OleRequisitionItem;
23  import org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent;
24  
25  import java.util.List;
26  
27  public interface OlePurchaseOrderDocumentHelperService {
28  
29      public void populatePurchaseOrderFromRequisition(PurchaseOrderDocument purchaseOrderDocument, RequisitionDocument requisitionDocument);
30  
31      public void prepareForSave(PurchaseOrderDocument purchaseOrderDocument, KualiDocumentEvent event);
32  
33      public void processAfterRetrieve(PurchaseOrderDocument purchaseOrderDocument);
34  
35      public void setBibInfoBean(BibInfoBean bibInfoBean, OlePurchaseOrderItem singleItem);
36  
37      public void setBibInfoBean(BibInfoBean bibInfoBean, OleRequisitionItem singleItem);
38  
39      public boolean getIsFinalReqs(PurchaseOrderDocument purchaseOrderDocument);
40  
41      public boolean getIsSplitPO(PurchaseOrderDocument purchaseOrderDocument);
42  
43      public boolean getIsReOpenPO(PurchaseOrderDocument purchaseOrderDocument);
44  
45      public String getBibeditorCreateURL();
46  
47      public String getBibeditorEditURL();
48  
49      public String getDublinEditorEditURL();
50  
51      public String getBibSearchURL();
52  
53      public String getBibeditorViewURL();
54  
55      public String getDublinEditorViewURL();
56  
57      public String getInstanceEditorURL();
58  
59      public String getMarcXMLFileDirLocation() throws Exception;
60  
61      public List getItemsActiveOnly(PurchaseOrderDocument purchaseOrderDocument);
62  
63      public List getItemsActiveOnlySetupAlternateAmount(PurchaseOrderDocument purchaseOrderDocument);
64  
65      public boolean getAdditionalChargesExist(PurchaseOrderDocument purchaseOrderDocument);
66  }