1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.rice.kew.preferences; |
18 | |
|
19 | |
import java.io.Serializable; |
20 | |
|
21 | |
import org.kuali.rice.kew.api.KewApiConstants; |
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | 0 | public class Preferences implements Serializable { |
32 | |
|
33 | |
static final long serialVersionUID = -5323719135590442782L; |
34 | |
|
35 | 0 | private boolean requiresSave = false; |
36 | |
|
37 | |
private String emailNotification; |
38 | |
private String notifyPrimaryDelegation; |
39 | |
private String notifySecondaryDelegation; |
40 | |
private String openNewWindow; |
41 | |
private String showActionRequested; |
42 | |
private String showDateCreated; |
43 | |
private String showDocumentStatus; |
44 | |
private String showAppDocStatus; |
45 | |
private String showDocType; |
46 | |
private String showInitiator; |
47 | |
private String showDocTitle; |
48 | |
private String showWorkgroupRequest; |
49 | |
private String showDelegator; |
50 | |
private String showClearFyi; |
51 | |
private String pageSize; |
52 | |
private String refreshRate; |
53 | |
private String colorSaved; |
54 | |
private String colorInitiated; |
55 | |
private String colorDissaproved; |
56 | |
private String colorEnroute; |
57 | |
private String colorApproved; |
58 | |
private String colorFinal; |
59 | |
private String colorDissapproveCancel; |
60 | |
private String colorProccessed; |
61 | |
private String colorException; |
62 | |
private String colorCanceled; |
63 | |
private String delegatorFilter; |
64 | |
private String useOutbox; |
65 | |
private String showDateApproved; |
66 | |
private String showCurrentNode; |
67 | |
private String primaryDelegateFilter; |
68 | |
|
69 | |
|
70 | |
|
71 | |
|
72 | |
public String getColorApproved() { |
73 | 0 | return colorApproved; |
74 | |
} |
75 | |
|
76 | |
|
77 | |
|
78 | |
public void setColorApproved(String colorApproved) { |
79 | 0 | this.colorApproved = colorApproved; |
80 | 0 | } |
81 | |
|
82 | |
|
83 | |
|
84 | |
public String getColorCanceled() { |
85 | 0 | return colorCanceled; |
86 | |
} |
87 | |
|
88 | |
|
89 | |
|
90 | |
public void setColorCanceled(String colorCanceled) { |
91 | 0 | this.colorCanceled = colorCanceled; |
92 | 0 | } |
93 | |
|
94 | |
|
95 | |
|
96 | |
public String getColorDissapproveCancel() { |
97 | 0 | return colorDissapproveCancel; |
98 | |
} |
99 | |
|
100 | |
|
101 | |
|
102 | |
public void setColorDissapproveCancel(String colorDissapproveCancel) { |
103 | 0 | this.colorDissapproveCancel = colorDissapproveCancel; |
104 | 0 | } |
105 | |
|
106 | |
|
107 | |
|
108 | |
public String getColorDissaproved() { |
109 | 0 | return colorDissaproved; |
110 | |
} |
111 | |
|
112 | |
|
113 | |
|
114 | |
public void setColorDissaproved(String colorDissaproved) { |
115 | 0 | this.colorDissaproved = colorDissaproved; |
116 | 0 | } |
117 | |
|
118 | |
|
119 | |
|
120 | |
public String getColorEnroute() { |
121 | 0 | return colorEnroute; |
122 | |
} |
123 | |
|
124 | |
|
125 | |
|
126 | |
public void setColorEnroute(String colorEnroute) { |
127 | 0 | this.colorEnroute = colorEnroute; |
128 | 0 | } |
129 | |
|
130 | |
|
131 | |
|
132 | |
public String getColorException() { |
133 | 0 | return colorException; |
134 | |
} |
135 | |
|
136 | |
|
137 | |
|
138 | |
public void setColorException(String colorException) { |
139 | 0 | this.colorException = colorException; |
140 | 0 | } |
141 | |
|
142 | |
|
143 | |
|
144 | |
public String getColorFinal() { |
145 | 0 | return colorFinal; |
146 | |
} |
147 | |
|
148 | |
|
149 | |
|
150 | |
public void setColorFinal(String colorFinal) { |
151 | 0 | this.colorFinal = colorFinal; |
152 | 0 | } |
153 | |
|
154 | |
|
155 | |
|
156 | |
public String getColorInitiated() { |
157 | 0 | return colorInitiated; |
158 | |
} |
159 | |
|
160 | |
|
161 | |
|
162 | |
public void setColorInitiated(String colorInitiated) { |
163 | 0 | this.colorInitiated = colorInitiated; |
164 | 0 | } |
165 | |
|
166 | |
|
167 | |
|
168 | |
public String getColorProccessed() { |
169 | 0 | return colorProccessed; |
170 | |
} |
171 | |
|
172 | |
|
173 | |
|
174 | |
public void setColorProccessed(String colorProccessed) { |
175 | 0 | this.colorProccessed = colorProccessed; |
176 | 0 | } |
177 | |
|
178 | |
|
179 | |
|
180 | |
public String getColorSaved() { |
181 | 0 | return colorSaved; |
182 | |
} |
183 | |
|
184 | |
|
185 | |
|
186 | |
public void setColorSaved(String colorSaved) { |
187 | 0 | this.colorSaved = colorSaved; |
188 | 0 | } |
189 | |
|
190 | |
|
191 | |
|
192 | |
public String getEmailNotification() { |
193 | 0 | return emailNotification; |
194 | |
} |
195 | |
|
196 | |
|
197 | |
|
198 | |
public void setEmailNotification(String emailNotification) { |
199 | 0 | this.emailNotification = emailNotification; |
200 | 0 | } |
201 | |
|
202 | |
|
203 | |
|
204 | |
public String getNotifyPrimaryDelegation() { |
205 | 0 | return notifyPrimaryDelegation; |
206 | |
} |
207 | |
public void setNotifyPrimaryDelegation(String notifyPrimaryDelegation) { |
208 | 0 | this.notifyPrimaryDelegation = notifyPrimaryDelegation; |
209 | 0 | } |
210 | |
|
211 | |
|
212 | |
|
213 | |
public String getNotifySecondaryDelegation() { |
214 | 0 | return notifySecondaryDelegation; |
215 | |
} |
216 | |
public void setNotifySecondaryDelegation(String notifySecondaryDelegation) { |
217 | 0 | this.notifySecondaryDelegation = notifySecondaryDelegation; |
218 | 0 | } |
219 | |
|
220 | |
|
221 | |
|
222 | |
public String getOpenNewWindow() { |
223 | 0 | return openNewWindow; |
224 | |
} |
225 | |
|
226 | |
|
227 | |
|
228 | |
public void setOpenNewWindow(String openNewWindow) { |
229 | 0 | this.openNewWindow = openNewWindow; |
230 | 0 | } |
231 | |
|
232 | |
|
233 | |
|
234 | |
public String getPageSize() { |
235 | 0 | return pageSize; |
236 | |
} |
237 | |
|
238 | |
|
239 | |
|
240 | |
public void setPageSize(String pageSize) { |
241 | 0 | this.pageSize = pageSize; |
242 | 0 | } |
243 | |
|
244 | |
|
245 | |
|
246 | |
public String getRefreshRate() { |
247 | 0 | return refreshRate; |
248 | |
} |
249 | |
|
250 | |
|
251 | |
|
252 | |
public void setRefreshRate(String refreshRate) { |
253 | 0 | this.refreshRate = refreshRate; |
254 | 0 | } |
255 | |
|
256 | |
|
257 | |
|
258 | |
public String getShowActionRequested() { |
259 | 0 | return showActionRequested; |
260 | |
} |
261 | |
|
262 | |
|
263 | |
|
264 | |
public void setShowActionRequested(String showActionRequested) { |
265 | 0 | this.showActionRequested = showActionRequested; |
266 | 0 | } |
267 | |
|
268 | |
|
269 | |
|
270 | |
public String getShowDateCreated() { |
271 | 0 | return showDateCreated; |
272 | |
} |
273 | |
|
274 | |
|
275 | |
|
276 | |
public void setShowDateCreated(String showDateCreated) { |
277 | 0 | this.showDateCreated = showDateCreated; |
278 | 0 | } |
279 | |
|
280 | |
|
281 | |
|
282 | |
public String getShowDocType() { |
283 | 0 | return showDocType; |
284 | |
} |
285 | |
|
286 | |
|
287 | |
|
288 | |
public void setShowDocType(String showDocType) { |
289 | 0 | this.showDocType = showDocType; |
290 | 0 | } |
291 | |
|
292 | |
|
293 | |
|
294 | |
public String getShowDocumentStatus() { |
295 | 0 | return showDocumentStatus; |
296 | |
} |
297 | |
|
298 | |
|
299 | |
|
300 | |
public void setShowDocumentStatus(String showDocumentStatus) { |
301 | 0 | this.showDocumentStatus = showDocumentStatus; |
302 | 0 | } |
303 | |
|
304 | |
|
305 | |
|
306 | |
public String getShowAppDocStatus() { |
307 | 0 | return this.showAppDocStatus; |
308 | |
} |
309 | |
|
310 | |
|
311 | |
|
312 | |
public void setShowAppDocStatus(String showAppDocStatus) { |
313 | 0 | this.showAppDocStatus = showAppDocStatus; |
314 | 0 | } |
315 | |
|
316 | |
|
317 | |
|
318 | |
|
319 | |
public String getShowInitiator() { |
320 | 0 | return showInitiator; |
321 | |
} |
322 | |
|
323 | |
|
324 | |
|
325 | |
public void setShowInitiator(String showInitiator) { |
326 | 0 | this.showInitiator = showInitiator; |
327 | 0 | } |
328 | |
|
329 | |
|
330 | |
|
331 | |
public String getShowDocTitle() { |
332 | 0 | return showDocTitle; |
333 | |
} |
334 | |
|
335 | |
|
336 | |
|
337 | |
public void setShowDocTitle(String showTitle) { |
338 | 0 | this.showDocTitle = showTitle; |
339 | 0 | } |
340 | |
|
341 | |
|
342 | |
|
343 | |
public String getShowWorkgroupRequest() { |
344 | 0 | return showWorkgroupRequest; |
345 | |
} |
346 | |
|
347 | |
|
348 | |
|
349 | |
public void setShowWorkgroupRequest(String showWorkGroupRequest) { |
350 | 0 | this.showWorkgroupRequest = showWorkGroupRequest; |
351 | 0 | } |
352 | |
public String getShowDelegator() { |
353 | 0 | return showDelegator; |
354 | |
} |
355 | |
public void setShowDelegator(String showDelegator) { |
356 | 0 | this.showDelegator = showDelegator; |
357 | 0 | } |
358 | |
|
359 | |
public String getShowClearFyi() { |
360 | 0 | return showClearFyi; |
361 | |
} |
362 | |
|
363 | |
public void setShowClearFyi(String showClearFyi) { |
364 | 0 | this.showClearFyi = showClearFyi; |
365 | 0 | } |
366 | |
|
367 | |
public String getDelegatorFilter() { |
368 | 0 | return delegatorFilter; |
369 | |
} |
370 | |
|
371 | |
public void setDelegatorFilter(String delegatorFilter) { |
372 | 0 | this.delegatorFilter = delegatorFilter; |
373 | 0 | } |
374 | |
public String getUseOutbox() { |
375 | 0 | return this.useOutbox; |
376 | |
} |
377 | |
public void setUseOutbox(String useOutbox) { |
378 | 0 | this.useOutbox = useOutbox; |
379 | 0 | } |
380 | |
public boolean isUsingOutbox() { |
381 | 0 | if (this.getUseOutbox() != null && this.getUseOutbox().equals(KewApiConstants.PREFERENCES_YES_VAL)) { |
382 | 0 | return true; |
383 | |
} |
384 | 0 | return false; |
385 | |
} |
386 | |
|
387 | |
public boolean isRequiresSave() { |
388 | 0 | return this.requiresSave; |
389 | |
} |
390 | |
|
391 | |
public void setRequiresSave(boolean requiresSave) { |
392 | 0 | this.requiresSave = requiresSave; |
393 | 0 | } |
394 | |
|
395 | |
|
396 | |
|
397 | |
public String getShowDateApproved() { |
398 | 0 | return this.showDateApproved; |
399 | |
} |
400 | |
|
401 | |
|
402 | |
|
403 | |
public void setShowDateApproved(String showDateApproved) { |
404 | 0 | this.showDateApproved = showDateApproved; |
405 | 0 | } |
406 | |
|
407 | |
|
408 | |
|
409 | |
public String getShowCurrentNode() { |
410 | 0 | return this.showCurrentNode; |
411 | |
} |
412 | |
|
413 | |
|
414 | |
|
415 | |
public void setShowCurrentNode(String currentNode) { |
416 | 0 | this.showCurrentNode = currentNode; |
417 | 0 | } |
418 | |
|
419 | |
|
420 | |
|
421 | |
public String getPrimaryDelegateFilter() { |
422 | 0 | return this.primaryDelegateFilter; |
423 | |
} |
424 | |
|
425 | |
|
426 | |
|
427 | |
public void setPrimaryDelegateFilter(String primaryDelegateFilter) { |
428 | 0 | this.primaryDelegateFilter = primaryDelegateFilter; |
429 | 0 | } |
430 | |
} |