1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.docstore.discovery.model;
17
18 import java.util.ArrayList;
19 import java.util.List;
20 import java.util.Map;
21
22 public class SearchParams {
23 private String searchType;
24 private String docCategory;
25 private String docType;
26 private String docFormat;
27 private String searchTerm;
28 private String fieldQuery;
29 private List<String> facetFieldList;
30 private String resultFromIndex;
31 private String resultPageSize;
32 private String resultPageIndex ;
33 private List<String> fieldList;
34 private List<String> highlightFieldList;
35 private String sortBy;
36 private String sortField;
37 private String sortOrder;
38 private List<SearchCondition> searchFieldsList;
39 private String facetValue;
40 private String facetField;
41 private String solrSearchQueryString;
42 private Map<String,String> facetTermsMap;
43 private String facetTerms;
44 private String operator;
45 private int facetMinCount;
46 private int facetLimit;
47 private int rows;
48 private int start;
49 private String searchTerms;
50 private String sortByTerms;
51 private String linkValue;
52 private String searchQuery;
53 private String facetPageSize;
54 private String facetPrefix;
55 private String facetSort;
56 private String facetOffset;
57
58 public String getFacetOffset() {
59 return facetOffset;
60 }
61
62 public void setFacetOffset(String facetOffset) {
63 this.facetOffset = facetOffset;
64 }
65
66 public String getFacetSort() {
67 return facetSort;
68 }
69
70 public void setFacetSort(String facetSort) {
71 this.facetSort = facetSort;
72 }
73
74 public String getFacetPrefix() {
75 return facetPrefix;
76 }
77
78 public void setFacetPrefix(String facetPrefix) {
79 this.facetPrefix = facetPrefix;
80 }
81
82 public String getFacetPageSize() {
83
84 return facetPageSize;
85 }
86
87 public void setFacetPageSize(String facetPageSize) {
88 this.facetPageSize = facetPageSize;
89 }
90
91 public String getSearchTerms() {
92 return searchTerms;
93 }
94
95
96 public void setSearchTerms(String searchTerms) {
97 this.searchTerms = searchTerms;
98 }
99
100
101 public String getSolrSearchQueryString() {
102 return solrSearchQueryString;
103 }
104
105 public void setSolrSearchQueryString(String solrSearchQueryString) {
106 this.solrSearchQueryString = solrSearchQueryString;
107 }
108
109 public String getFacetValue() {
110 return facetValue;
111 }
112
113 public void setFacetValue(String facetValue) {
114 this.facetValue = facetValue;
115 }
116
117 public List<SearchCondition> getSearchFieldsList() {
118 if (null == searchFieldsList) {
119 searchFieldsList = new ArrayList<SearchCondition>();
120 }
121 return searchFieldsList;
122 }
123
124 public void setSearchFieldsList(List<SearchCondition> searchFieldsList) {
125 this.searchFieldsList = searchFieldsList;
126 }
127
128 public List<String> getFieldList() {
129 return fieldList;
130 }
131
132 public void setFieldList(List<String> fieldList) {
133 this.fieldList = fieldList;
134 }
135
136 public int getRows() {
137 return rows;
138 }
139
140 public void setRows(int rows) {
141 this.rows = rows;
142 }
143
144 public int getStart() {
145 return start;
146 }
147
148 public void setStart(int start) {
149 this.start = start;
150 }
151
152 public String getSortField() {
153 return sortField;
154 }
155
156 public void setSortField(String sortField) {
157 this.sortField = sortField;
158 }
159
160 public int getFacetMinCount() {
161 return facetMinCount;
162 }
163
164 public void setFacetMinCount(int facetMinCount) {
165 this.facetMinCount = facetMinCount;
166 }
167
168 public int getFacetLimit() {
169 return facetLimit;
170 }
171
172 public void setFacetLimit(int facetLimit) {
173 this.facetLimit = facetLimit;
174 }
175
176 public String getOperator() {
177 return operator;
178 }
179
180 public void setOperator(String operator) {
181 this.operator = operator;
182 }
183
184
185
186
187 public void init() {
188
189 }
190
191 public String getSearchType() {
192 return searchType;
193 }
194
195 public void setSearchType(String searchType) {
196 this.searchType = searchType;
197 }
198
199 public String getDocCategory() {
200 return docCategory;
201 }
202
203 public void setDocCategory(String docCategory) {
204 this.docCategory = docCategory;
205 }
206
207 public String getDocType() {
208 return docType;
209 }
210
211 public void setDocType(String docType) {
212 this.docType = docType;
213 }
214
215 public String getDocFormat() {
216 return docFormat;
217 }
218
219 public void setDocFormat(String docFormat) {
220 this.docFormat = docFormat;
221 }
222
223 public String getFieldQuery() {
224 return fieldQuery;
225 }
226
227 public void setFieldQuery(String fieldQuery) {
228 this.fieldQuery = fieldQuery;
229 }
230
231 public List<String> getFacetFieldList() {
232 return facetFieldList;
233 }
234
235 public void setFacetFieldList(List<String> facetFieldList) {
236 this.facetFieldList = facetFieldList;
237 }
238
239 public String getResultFromIndex() {
240 return resultFromIndex;
241 }
242
243 public void setResultFromIndex(String resultFromIndex) {
244 this.resultFromIndex = resultFromIndex;
245 }
246
247 public String getResultPageSize() {
248 return resultPageSize;
249 }
250
251 public void setResultPageSize(String resultPageSize) {
252 this.resultPageSize = resultPageSize;
253 }
254
255 public List<String> getHighlightFieldList() {
256 return highlightFieldList;
257 }
258
259 public void setHighlightFieldList(List<String> highlightFieldList) {
260 this.highlightFieldList = highlightFieldList;
261 }
262
263 public String getSortBy() {
264 return sortBy;
265 }
266
267 public void setSortBy(String sortBy) {
268 this.sortBy = sortBy;
269 }
270
271 public String getSortOrder() {
272 return sortOrder;
273 }
274
275 public void setSortOrder(String sortOrder) {
276 this.sortOrder = sortOrder;
277 }
278
279 public String getSearchTerm() {
280 return searchTerm;
281 }
282
283 public void setSearchTerm(String searchTerm) {
284 this.searchTerm = searchTerm;
285 }
286
287 public String getFacetTerms() {
288 return facetTerms;
289 }
290
291 public void setFacetTerms(String facetTerms) {
292 this.facetTerms = facetTerms;
293 }
294
295 public Map<String, String> getFacetTermsMap() {
296 return facetTermsMap;
297 }
298
299 public void setFacetTermsMap(Map<String, String> facetTermsMap) {
300 this.facetTermsMap = facetTermsMap;
301 }
302
303 public String getFacetField() {
304 return facetField;
305 }
306
307 public void setFacetField(String facetField) {
308 this.facetField = facetField;
309 }
310
311 public String getResultPageIndex() {
312 return resultPageIndex;
313 }
314
315 public void setResultPageIndex(String resultPageIndex) {
316 this.resultPageIndex = resultPageIndex;
317 }
318
319
320 public String getSortByTerms() {
321 return sortByTerms;
322 }
323
324
325 public void setSortByTerms(String sortByTerms) {
326 this.sortByTerms = sortByTerms;
327 }
328
329
330 public String getLinkValue() {
331 return linkValue;
332 }
333
334
335 public void setLinkValue(String linkValue) {
336 this.linkValue = linkValue;
337 }
338
339
340 public String getSearchQuery() {
341 return searchQuery;
342 }
343
344
345 public void setSearchQuery(String query) {
346 this.searchQuery = query;
347 }
348
349 }