1 package org.kuali.ole.docstore.engine.service.search;
2
3 import org.kuali.ole.docstore.common.search.BrowseParams;
4 import org.kuali.ole.docstore.common.search.SearchParams;
5 import org.kuali.ole.docstore.common.search.SearchResponse;
6
7 import java.util.List;
8 import java.util.Map;
9
10
11
12
13
14
15
16
17 public interface DocstoreSearchService {
18
19 public static final String BIBLIOGRAPHIC = "bibliographic";
20 public static final String INSTANCE = "instance";
21 public static final String HOLDINGS = "holdings";
22 public static final String EHOLDINGS="eHoldings";
23 public static final String ITEM = "item";
24 public static final String BIB_LINK_FIELDS = "bibIdentifier,holdingsIdentifier";
25 public static final String HOLDINGS_LINK_FIELDS = "bibIdentifier,itemIdentifier,holdingsIdentifier,linkedBibCount";
26 public static final String EHOLDINGS_LINK_FIELDS ="bibIdentifier,holdingsIdentifier";
27 public static final String ITEM_LINK_FIELDS = "bibIdentifier,holdingsIdentifier,itemIdentifier";
28 public static final String BIB_FIELDS = "id,Author_display,Title_sort,Title_display,PublicationDate_display,Publisher_display,ISBN_display,ISSN_display,Edition_display,Description_display,Format_display,Language_display,DocFormat,LocalId_display,DocCategory,DocType," + BIB_LINK_FIELDS;
29 public static final String HOLDINGS_FIELDS = "Location_display,Title_display,CallNumber_display,CallNumberPrefix_display,CallNumberType_display,CopyNumber_display,bibIdentifier,itemIdentifier,LocalId_display,Location_display,DocFormat," + HOLDINGS_LINK_FIELDS;
30 public static final String EHOLDINGS_FIELDS = "LocalId_display,Location_display,Platform_display,ShelvingSchemeCode_display,Url_display,AccessStatus_display,DocFormat,StatisticalSearchingCodeValue_display," + EHOLDINGS_LINK_FIELDS;
31 public static final String ITEM_FIELDS = "ShelvingOrder_display,Title_display,ItemBarcode_display,Enumeration_display,Chronology_display,ItemType_display,VolumeNumber_display,ItemStatus_display," + ITEM_LINK_FIELDS;
32
33 public SearchResponse search(SearchParams searchParams);
34
35 public List<String> callNumberBrowse(BrowseParams browseParams);
36
37 public String findBib(Map<String, String> map);
38
39 public String findHoldings(Map<String, String> map);
40
41 public String findItem(Map<String, String> map);
42
43 public String findHoldingsTree(Map<String, String> map);
44
45 public String findBibTree(Map<String, String> map);
46
47
48
49 }