1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kew.dto; |
17 | |
|
18 | |
import java.io.Serializable; |
19 | |
import java.util.ArrayList; |
20 | |
import java.util.List; |
21 | |
|
22 | |
import org.kuali.rice.kew.util.KEWConstants; |
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | 0 | public class DocumentSearchCriteriaDTO implements Serializable { |
30 | |
|
31 | |
private static final long serialVersionUID = -220572344702126103L; |
32 | |
|
33 | |
private String routeHeaderId; |
34 | |
private String docRouteStatus; |
35 | |
private String docTitle; |
36 | |
private String appDocId; |
37 | |
private String initiator; |
38 | |
private String viewer; |
39 | |
private String groupViewerName; |
40 | |
private String approver; |
41 | |
private String docRouteNodeName; |
42 | 0 | private String docRouteNodeLogic = KEWConstants.DOC_SEARCH_ROUTE_STATUS_QUALIFIER_EXACT; |
43 | |
private String docVersion; |
44 | |
private String docTypeFullName; |
45 | |
|
46 | |
|
47 | |
private String fromDateCreated; |
48 | |
private String fromDateLastModified; |
49 | |
private String fromDateApproved; |
50 | |
private String fromDateFinalized; |
51 | |
private String toDateCreated; |
52 | |
private String toDateLastModified; |
53 | |
private String toDateApproved; |
54 | |
private String toDateFinalized; |
55 | |
|
56 | |
|
57 | 0 | private List<KeyValueDTO> searchAttributeValues = new ArrayList<KeyValueDTO>(); |
58 | |
|
59 | |
|
60 | 0 | private boolean advancedSearch = false; |
61 | 0 | private boolean superUserSearch = false; |
62 | 0 | private Integer threshold = null; |
63 | 0 | private Integer fetchLimit = null; |
64 | 0 | private boolean saveSearchForUser = false; |
65 | |
|
66 | |
public void findDocsBeforeSpecifiedRouteNode() { |
67 | 0 | setDocRouteNodeLogic(KEWConstants.DOC_SEARCH_ROUTE_STATUS_QUALIFIER_BEFORE); |
68 | 0 | } |
69 | |
|
70 | |
public void findDocsAfterSpecifiedRouteNode() { |
71 | 0 | setDocRouteNodeLogic(KEWConstants.DOC_SEARCH_ROUTE_STATUS_QUALIFIER_AFTER); |
72 | 0 | } |
73 | |
|
74 | |
public void findDocsAtExactSpecifiedRouteNode() { |
75 | 0 | setDocRouteNodeLogic(KEWConstants.DOC_SEARCH_ROUTE_STATUS_QUALIFIER_EXACT); |
76 | 0 | } |
77 | |
|
78 | |
public String getRouteHeaderId() { |
79 | 0 | return this.routeHeaderId; |
80 | |
} |
81 | |
|
82 | |
public void setRouteHeaderId(String routeHeaderId) { |
83 | 0 | this.routeHeaderId = routeHeaderId; |
84 | 0 | } |
85 | |
|
86 | |
public String getDocRouteStatus() { |
87 | 0 | return this.docRouteStatus; |
88 | |
} |
89 | |
|
90 | |
public void setDocRouteStatus(String docRouteStatus) { |
91 | 0 | this.docRouteStatus = docRouteStatus; |
92 | 0 | } |
93 | |
|
94 | |
public String getDocTitle() { |
95 | 0 | return this.docTitle; |
96 | |
} |
97 | |
|
98 | |
public void setDocTitle(String docTitle) { |
99 | 0 | this.docTitle = docTitle; |
100 | 0 | } |
101 | |
|
102 | |
public String getAppDocId() { |
103 | 0 | return this.appDocId; |
104 | |
} |
105 | |
|
106 | |
public void setAppDocId(String appDocId) { |
107 | 0 | this.appDocId = appDocId; |
108 | 0 | } |
109 | |
|
110 | |
public String getInitiator() { |
111 | 0 | return this.initiator; |
112 | |
} |
113 | |
|
114 | |
public void setInitiator(String initiator) { |
115 | 0 | this.initiator = initiator; |
116 | 0 | } |
117 | |
|
118 | |
public String getViewer() { |
119 | 0 | return this.viewer; |
120 | |
} |
121 | |
|
122 | |
public void setViewer(String viewer) { |
123 | 0 | this.viewer = viewer; |
124 | 0 | } |
125 | |
|
126 | |
public String getGroupViewerName() { |
127 | 0 | return this.groupViewerName; |
128 | |
} |
129 | |
|
130 | |
public void setGroupViewerName(String groupViewerName) { |
131 | 0 | this.groupViewerName = groupViewerName; |
132 | 0 | } |
133 | |
|
134 | |
public String getApprover() { |
135 | 0 | return this.approver; |
136 | |
} |
137 | |
|
138 | |
public void setApprover(String approver) { |
139 | 0 | this.approver = approver; |
140 | 0 | } |
141 | |
|
142 | |
public String getDocRouteNodeName() { |
143 | 0 | return this.docRouteNodeName; |
144 | |
} |
145 | |
|
146 | |
public void setDocRouteNodeName(String docRouteNodeName) { |
147 | 0 | this.docRouteNodeName = docRouteNodeName; |
148 | 0 | } |
149 | |
|
150 | |
public String getDocRouteNodeLogic() { |
151 | 0 | return this.docRouteNodeLogic; |
152 | |
} |
153 | |
|
154 | |
public void setDocRouteNodeLogic(String docRouteNodeLogic) { |
155 | 0 | this.docRouteNodeLogic = docRouteNodeLogic; |
156 | 0 | } |
157 | |
|
158 | |
public String getDocVersion() { |
159 | 0 | return this.docVersion; |
160 | |
} |
161 | |
|
162 | |
public void setDocVersion(String docVersion) { |
163 | 0 | this.docVersion = docVersion; |
164 | 0 | } |
165 | |
|
166 | |
public String getDocTypeFullName() { |
167 | 0 | return this.docTypeFullName; |
168 | |
} |
169 | |
|
170 | |
public void setDocTypeFullName(String docTypeFullName) { |
171 | 0 | this.docTypeFullName = docTypeFullName; |
172 | 0 | } |
173 | |
|
174 | |
public String getFromDateCreated() { |
175 | 0 | return this.fromDateCreated; |
176 | |
} |
177 | |
|
178 | |
public void setFromDateCreated(String fromDateCreated) { |
179 | 0 | this.fromDateCreated = fromDateCreated; |
180 | 0 | } |
181 | |
|
182 | |
public String getFromDateLastModified() { |
183 | 0 | return this.fromDateLastModified; |
184 | |
} |
185 | |
|
186 | |
public void setFromDateLastModified(String fromDateLastModified) { |
187 | 0 | this.fromDateLastModified = fromDateLastModified; |
188 | 0 | } |
189 | |
|
190 | |
public String getFromDateApproved() { |
191 | 0 | return this.fromDateApproved; |
192 | |
} |
193 | |
|
194 | |
public void setFromDateApproved(String fromDateApproved) { |
195 | 0 | this.fromDateApproved = fromDateApproved; |
196 | 0 | } |
197 | |
|
198 | |
public String getFromDateFinalized() { |
199 | 0 | return this.fromDateFinalized; |
200 | |
} |
201 | |
|
202 | |
public void setFromDateFinalized(String fromDateFinalized) { |
203 | 0 | this.fromDateFinalized = fromDateFinalized; |
204 | 0 | } |
205 | |
|
206 | |
public String getToDateCreated() { |
207 | 0 | return this.toDateCreated; |
208 | |
} |
209 | |
|
210 | |
public void setToDateCreated(String toDateCreated) { |
211 | 0 | this.toDateCreated = toDateCreated; |
212 | 0 | } |
213 | |
|
214 | |
public String getToDateLastModified() { |
215 | 0 | return this.toDateLastModified; |
216 | |
} |
217 | |
|
218 | |
public void setToDateLastModified(String toDateLastModified) { |
219 | 0 | this.toDateLastModified = toDateLastModified; |
220 | 0 | } |
221 | |
|
222 | |
public String getToDateApproved() { |
223 | 0 | return this.toDateApproved; |
224 | |
} |
225 | |
|
226 | |
public void setToDateApproved(String toDateApproved) { |
227 | 0 | this.toDateApproved = toDateApproved; |
228 | 0 | } |
229 | |
|
230 | |
public String getToDateFinalized() { |
231 | 0 | return this.toDateFinalized; |
232 | |
} |
233 | |
|
234 | |
public void setToDateFinalized(String toDateFinalized) { |
235 | 0 | this.toDateFinalized = toDateFinalized; |
236 | 0 | } |
237 | |
|
238 | |
public List<KeyValueDTO> getSearchAttributeValues() { |
239 | 0 | return this.searchAttributeValues; |
240 | |
} |
241 | |
|
242 | |
public void setSearchAttributeValues(List<KeyValueDTO> searchAttributeValues) { |
243 | 0 | this.searchAttributeValues = searchAttributeValues; |
244 | 0 | } |
245 | |
|
246 | |
public boolean isAdvancedSearch() { |
247 | 0 | return this.advancedSearch; |
248 | |
} |
249 | |
|
250 | |
public void setAdvancedSearch(boolean advancedSearch) { |
251 | 0 | this.advancedSearch = advancedSearch; |
252 | 0 | } |
253 | |
|
254 | |
public boolean isSuperUserSearch() { |
255 | 0 | return this.superUserSearch; |
256 | |
} |
257 | |
|
258 | |
public void setSuperUserSearch(boolean superUserSearch) { |
259 | 0 | this.superUserSearch = superUserSearch; |
260 | 0 | } |
261 | |
|
262 | |
public Integer getThreshold() { |
263 | 0 | return this.threshold; |
264 | |
} |
265 | |
|
266 | |
public void setThreshold(Integer threshold) { |
267 | 0 | this.threshold = threshold; |
268 | 0 | } |
269 | |
|
270 | |
public boolean isSaveSearchForUser() { |
271 | 0 | return this.saveSearchForUser; |
272 | |
} |
273 | |
|
274 | |
public void setSaveSearchForUser(boolean saveSearchForUser) { |
275 | 0 | this.saveSearchForUser = saveSearchForUser; |
276 | 0 | } |
277 | |
|
278 | |
} |