1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.docstore.discovery.service;
17
18 import org.kuali.ole.docstore.discovery.model.SearchParams;
19
20 public interface DiscoveryService {
21 public static final String SEARCH_TYPE_NEW = "newSearch";
22 public static final String SEARCH_TYPE_QUICK = "quickSearch";
23 public static final String SEARCH_TYPE_ADVANCED = "advancedSearch";
24 public static final String SEARCH_TYPE_FACET = "facetSearch";
25 public static final String SEARCH_TYPE_FACET_DELETE = "facetDelete";
26 public static final String SEARCH_TYPE_LINK = "linksearch";
27 public static final String BIBLIOGRAPHIC = "bibliographic";
28 public static final String INSTANCE = "instance";
29 public static final String HOLDINGS = "holding";
30 public static final String ITEM = "item";
31 public static final String INSTANCE_LINK_FIELDS = "bibIdentifier,holdingsIdentifier,itemIdentifier";
32 public static final String BIB_LINK_FIELDS = "instanceIdentifier";
33 public static final String HOLDINGS_LINK_FIELDS = "bibIdentifier,instanceIdentifier,itemIdentifier";
34 public static final String ITEM_LINK_FIELDS = "bibIdentifier,instanceIdentifier,holdingsIdentifier";
35 public static final String HOLDINGS_FIELDS = "RecordType_display,EncodingLevel_display,ReceiptStatus_display,AcquisitionMethod_display,PolicyType_display,CopiesReported_display,DocType,DocFormat,id,Barcode_display" + "," + HOLDINGS_LINK_FIELDS;
36 public static final String ITEM_FIELDS = "Barcode_display,ItemType_display,LocationStatus_display,ShelvingScheme_display,ShelvingOrder_display,Address_display,CopyNumber_display,VolumeNumber_display,DocType,DocFormat,id,Barcode_display" + "," + ITEM_LINK_FIELDS;
37 public static final String INSTANCE_FIELDS = "Source_display,DocType,DocFormat,id,Barcode_display" + "," + INSTANCE_LINK_FIELDS;
38 public static final String BIB_FIELDS = "Title_display,Author_display,Publisher_display,Description_display,Subject_display,Location_display,Format_display,DocType,DocFormat,id,Barcode_display" + "," + BIB_LINK_FIELDS;
39 public static final String AUTHOR_FACET = "Author_facet";
40 public static final String SUBJECT_FACET = "Subject_facet";
41 public static final String FORMAT_FACET = "Format_facet";
42 public static final String LANGUAGE_FACET = "Language_facet";
43 public static final String PUBLICATION_DATE_FACET = "PublicationDate_facet";
44 public static final String GENRE_FACET = "Genre_facet";
45
46
47
48
49
50
51
52
53 public String search(SearchParams searchParams);
54
55 public String buildQuery(SearchParams searchParams);
56 }