View Javadoc
1   package org.kuali.ole.select.document.service;
2   
3   import org.kuali.ole.docstore.common.document.ids.BibId;
4   import org.kuali.ole.select.businessobject.*;
5   import org.kuali.rice.core.api.util.type.KualiDecimal;
6   import org.kuali.rice.core.api.util.type.KualiInteger;
7   
8   import java.util.HashMap;
9   import java.util.List;
10  
11  /**
12   * Created with IntelliJ IDEA.
13   * User: vivekb
14   * Date: 11/13/13
15   * Time: 1:05 PM
16   * To change this template use File | Settings | File Templates.
17   */
18  public interface OleCopyHelperService {
19  
20      public HashMap<String, List<OleCopy>> getCopyListBasedOnLocation(List<OleCopy> copyList, String bibId);
21  
22      public HashMap<String, List<OleCopy>> getCopyListBasedOnCopyNumber(List<OleCopy> copyList,Integer partNumber);
23  
24      public List<OleCopies> setCopiesToLineItem(List<OleCopy> copyList, KualiInteger noOfParts, String bibId);
25  
26      public List<OleCopy> setCopyValues(OleRequisitionCopies itemCopy, String bibId, List<String> volChar);
27  
28      public boolean checkCopyEntry(KualiDecimal noOfCopies, String location, Integer itemCount, KualiDecimal noOfCopiesOrdered,
29                                    KualiInteger noOfPartsOrdered, List<OleCopies> copiesList, String volumeNumber, boolean isRoute);
30  
31      public void updateRequisitionAndPOItems(OlePurchaseOrderItem olePurchaseOrderItem,
32                                              OleLineItemReceivingItem oleLineItemReceivingItem, OleCorrectionReceivingItem oleCorrectionReceivingItem, boolean isReceiving);
33  
34      public List<OleCopy> setCopyValuesForList(List<OleCopies> itemCopies, String bibId, BibId bibTree);
35  
36      public boolean checkForTotalCopiesGreaterThanQuantityAtSubmit(List<OleCopies> copyList, KualiDecimal noOfCopiesOrdered);
37  }