1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.rice.kew.docsearch;
18
19 import java.io.Serializable;
20
21
22
23
24
25
26 public class SavedSearchResult implements Serializable {
27
28 private static final long serialVersionUID = -764778230573234367L;
29 private DocSearchCriteriaDTO docSearchCriteriaDTO;
30 private DocumentSearchResultComponents searchResult;
31
32
33
34
35 public boolean isAdvancedSearch() {
36 return docSearchCriteriaDTO.isAdvancedSearch();
37 }
38 public SavedSearchResult(DocSearchCriteriaDTO docSearchCriteriaDTO, DocumentSearchResultComponents searchResult) {
39 this.docSearchCriteriaDTO = docSearchCriteriaDTO;
40 this.searchResult = searchResult;
41 }
42 public DocSearchCriteriaDTO getDocSearchCriteriaDTO() {
43 return docSearchCriteriaDTO;
44 }
45
46
47
48 public DocumentSearchResultComponents getSearchResult() {
49 return searchResult;
50 }
51 public void setSearchResult(DocumentSearchResultComponents searchResult) {
52 this.searchResult = searchResult;
53 }
54 }