View Javadoc
1   package org.kuali.ole.docstore.engine.service.index.solr;
2   
3   import org.apache.solr.client.solrj.SolrServerException;
4   import org.kuali.ole.docstore.common.document.BibTrees;
5   
6   import java.io.IOException;
7   import java.util.List;
8   
9   /**
10   * Created with IntelliJ IDEA.
11   * User: sambasivam
12   * Date: 12/17/13
13   * Time: 4:52 PM
14   * To change this template use File | Settings | File Templates.
15   */
16  public interface DocumentIndexer {
17  
18      public void create(Object object);
19  
20      public void update(Object object);
21  
22      public void delete(String id);
23  
24      public void transfer(List<String> sourceIds, String destinationId);
25  
26      public void bind(String holdingsId, List<String> bibIds) throws SolrServerException, IOException;
27  
28      public void bindAnalytics(String holdingsId, List<String> bibIds, String createOrBreak) throws SolrServerException, IOException;
29  
30      public void createTree(Object object);
31  
32      public void createTrees(Object object);
33  
34      public void processBibTrees(BibTrees bibTrees);
35  
36      public void unbindOne(List<String> holdingsIds, String bibId) throws SolrServerException, IOException;
37  
38      public void unbindAll(List<String> holdingsIds, String bibId) throws SolrServerException, IOException;
39  
40  }