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