View Javadoc
1   package org.kuali.ole.docstore.engine.service.index;
2   
3   
4   import org.kuali.ole.docstore.common.document.*;
5   
6   import java.util.List;
7   
8   /**
9    * Created with IntelliJ IDEA.
10   * User: sambasivam
11   * Date: 12/13/13
12   * Time: 6:26 PM
13   * To change this template use File | Settings | File Templates.
14   */
15  public interface DocstoreIndexService {
16  
17      public void createBib(Bib bib);
18  
19      public void createHoldings(Holdings holdings);
20  
21      public void createItem(Item item);
22  
23      public void createHoldingsTree(HoldingsTree holdingsTree);
24  
25      public void createBibTree(BibTree bibTree);
26  
27      public void updateBib(Bib bib);
28  
29      public void updateBibs(List<Bib> bibs);
30  
31      public void updateHoldings(Holdings holdings);
32  
33      public void updateItem(Item item);
34  
35      public void deleteBib(String bibId);
36  
37      public void deleteHoldings(String holdingsId);
38  
39      public void deleteItem(String itemId);
40  
41      public void boundHoldingsWithBibs(String holdingsId, List<String> bibIds);
42  
43      public void transferHoldings(List<String> holdingsIds, String bibId);
44  
45      public void transferItems(List<String> itemIds, String holdingsId);
46  
47      public void createBibTrees(BibTrees bibTrees);
48  
49      public void deleteBibs(List<String> bibIds);
50  
51      public void createLicense(License license);
52  
53      public void createLicenses(Licenses licenses);
54  
55      public void updateLicense(License license);
56  
57      public void updateLicenses(Licenses licenses);
58  
59      public void deleteLicense(String licenseId);
60  
61      public void createAnalyticsRelation(String seriesHoldingsId, List<String> itemIds);
62  
63      public void breakAnalyticsRelation(String seriesHoldingsId, List<String> itemIds);
64  }