-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathSearchApi.java
More file actions
70 lines (62 loc) · 2.91 KB
/
Copy pathSearchApi.java
File metadata and controls
70 lines (62 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
package com.indix.client;
import com.indix.exception.IndixApiException;
import com.indix.models.searchResult.*;
import com.indix.query.Query;
import com.indix.query.SearchQuery;
import java.io.IOException;
import java.net.URISyntaxException;
public interface SearchApi {
/**
* Search Products - Retrieves a list of products matching a variety of query parameters with their summary info
* @param query Instance of {@link SearchQuery} with appropriate parameters
* @return {@link SummarySearchResult}
* @throws {@link IndixApiException}
*/
SummarySearchResult getProductsSummary(Query query)
throws IndixApiException, IOException, URISyntaxException;
/**
* Search Products - Retrieves a list of products matching a variety of query parameters with offers info from a
* store
* @param query Instance of {@link SearchQuery} with appropriate parameters
* @return {@link OffersSearchResult}
* @throws {@link IndixApiException}
*/
OffersSearchResult getProductsOffersStandard(Query query)
throws IndixApiException, URISyntaxException, IOException;
/**
* Search Products - Retrieves a list of products matching a variety of query parameters with offers info from a
* store
* @param query Instance of {@link SearchQuery} with appropriate parameters
* @return {@link OffersSearchResult}
* @throws {@link IndixApiException}
*/
OffersSearchResult getProductsOffersPremium(Query query)
throws IndixApiException, IOException, URISyntaxException;
/**
* Search Products - Retrieves a list of products matching a variety of query parameters with their
* aggregated catalog info
* @param query Instance of {@link SearchQuery} with appropriate parameters
* @return {@link CatalogStandardSearchResult}
* @throws {@link IndixApiException}
*/
CatalogStandardSearchResult getProductsCatalogStandard(Query query)
throws IndixApiException, IOException, URISyntaxException;
/**
* Search Products - Retrieves a list of products matching a variety of query parameters with their
* catalog info across stores
* @param query Instance of {@link SearchQuery} with appropriate parameters
* @return {@link CatalogPremiumSearchResult}
* @throws {@link IndixApiException}
*/
CatalogPremiumSearchResult getProductsCatalogPremium(Query query)
throws IndixApiException, IOException, URISyntaxException;
/**
* Search Products - Retrieves a list of products matching a variety of query parameters with their offers and
* catalog info across stores
* @param query Instance of {@link SearchQuery} with appropriate parameters
* @return {@link UniversalSearchResult}
* @throws {@link IndixApiException}
*/
UniversalSearchResult getProductsUniversal(Query query)
throws IndixApiException, IOException, URISyntaxException;
}