View Javadoc
1   package org.kuali.ole.docstore.engine.service.rest;
2   
3   
4   import org.kuali.ole.docstore.common.search.BrowseParams;
5   import org.kuali.ole.docstore.common.search.SearchResponse;
6   import org.springframework.web.bind.annotation.RequestBody;
7   
8   /**
9    * Created with IntelliJ IDEA.
10   * User: jayabharathreddy
11   * Date: 12/17/13
12   * Time: 12:46 PM
13   * To change this template use File | Settings | File Templates.
14   */
15  public interface RestService {
16  
17      String createBib(String requestBody);
18  
19      String updateBib(String requestBody);
20  
21      String updateBibs(String requestBody);
22  
23      String retrieveBib(String bibId);
24  
25      String deleteBib(String bibId);
26  
27      String createHoldings(String requestBody);
28  
29      String retrieveHoldings(String holdingsId);
30  
31      String updateHoldings(String requestBody);
32  
33      String deleteHoldings(String holdingsId);
34  
35      String createItem(String requestBody);
36  
37      String createItems(String requestBody);
38  
39      String retrieveItems(String itemsId);
40  
41      String updateItem(String requestBody);
42  
43      String updateItems(String requestBody);
44  
45      String deleteItem(String itemsId);
46  
47      String deleteItems(String itemIds);
48  
49      String createBibTree(String requestBody);
50  
51      String createBibTrees(String requestBody);
52  
53      String retrieveBibTree(String bibId);
54  
55      String createHoldingsTree(String requestBody);
56  
57      String createHoldingsTrees(String requestBody);
58  
59      String retrieveHoldingsTree(String holdingsId);
60  
61      String search(String requestBody);
62  
63      String findBibs(String requestBody);
64  
65      String findHoldings(String requestBody);
66  
67      String findItems(String requestBody);
68  
69      String findBibTree(String requestBody);
70  
71      String findHoldingsTree(String requestBody);
72  
73      String browseItems(String requestBody);
74  
75      String browseHoldings(String requestBody);
76  
77      String boundWithBibs(String holdingsId, String requestBody);
78  
79      String transferHoldings(String bibId, String requestBody);
80  
81      String transferItems(String bibId, String requestBody);
82  
83      String retrieveHoldingsByBarcode(String[] barcode);
84  
85      String retrieveItemByBarcode(String barcode);
86  
87      String retrieveHoldingsTrees(String[] bibIds);
88  
89      String updateItemByBarcode(String[] barcodes, String requestBody);
90  
91      String patchItem(String requestBody);
92  
93      String updateItemByBarcodeWithContent(String[] barcode, String requestBody);
94  
95      String patchItemById(String[] itemsIds, String requestBody);
96  
97      String patchItemByIdWithContent(String[] itemsIds, String requestBody);
98  
99      String patchItemWithContent(String requestBody);
100 
101 }