001: /*
002: * Copyright 2005-2006 The Kuali Foundation.
003: *
004: *
005: * Licensed under the Educational Community License, Version 1.0 (the "License");
006: * you may not use this file except in compliance with the License.
007: * You may obtain a copy of the License at
008: *
009: * http://www.opensource.org/licenses/ecl1.php
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package edu.iu.uis.eden.preferences;
018:
019: import java.io.Serializable;
020:
021: /**
022: * Model bean representing an individual user's Preferences within KEW.
023: *
024: * @author rkirkend
025: * @author temay
026: * @author ewestfal
027: */
028: public class Preferences implements Serializable {
029:
030: static final long serialVersionUID = -5323719135590442782L;
031:
032: private String emailNotification;
033: private String notifyPrimaryDelegation;
034: private String notifySecondaryDelegation;
035: private String openNewWindow;
036: private String showActionRequested;
037: private String showDateCreated;
038: private String showDocumentStatus;
039: private String showDocType;
040: private String showInitiator;
041: private String showDocTitle;
042: private String showWorkgroupRequest;
043: private String showDelegator;
044: private String showClearFyi;
045: private String pageSize;
046: private String refreshRate;
047: private String colorSaved;
048: private String colorInitiated;
049: private String colorDissaproved;
050: private String colorEnroute;
051: private String colorApproved;
052: private String colorFinal;
053: private String colorDissapproveCancel;
054: private String colorProccessed;
055: private String colorException;
056: private String colorCanceled;
057: // private String actionListContentType;
058: private String delegatorFilter;
059:
060: /**
061: * @return Returns the colorApproved.
062: */
063: public String getColorApproved() {
064: return colorApproved;
065: }
066:
067: /**
068: * @param colorApproved The colorApproved to set.
069: */
070: public void setColorApproved(String colorApproved) {
071: this .colorApproved = colorApproved;
072: }
073:
074: /**
075: * @return Returns the colorCanceled.
076: */
077: public String getColorCanceled() {
078: return colorCanceled;
079: }
080:
081: /**
082: * @param colorCanceled The colorCanceled to set.
083: */
084: public void setColorCanceled(String colorCanceled) {
085: this .colorCanceled = colorCanceled;
086: }
087:
088: /**
089: * @return Returns the colorDissapproveCancel.
090: */
091: public String getColorDissapproveCancel() {
092: return colorDissapproveCancel;
093: }
094:
095: /**
096: * @param colorDissapproveCancel The colorDissapproveCancel to set.
097: */
098: public void setColorDissapproveCancel(String colorDissapproveCancel) {
099: this .colorDissapproveCancel = colorDissapproveCancel;
100: }
101:
102: /**
103: * @return Returns the colorDissaproved.
104: */
105: public String getColorDissaproved() {
106: return colorDissaproved;
107: }
108:
109: /**
110: * @param colorDissaproved The colorDissaproved to set.
111: */
112: public void setColorDissaproved(String colorDissaproved) {
113: this .colorDissaproved = colorDissaproved;
114: }
115:
116: /**
117: * @return Returns the colorEnroute.
118: */
119: public String getColorEnroute() {
120: return colorEnroute;
121: }
122:
123: /**
124: * @param colorEnroute The colorEnroute to set.
125: */
126: public void setColorEnroute(String colorEnroute) {
127: this .colorEnroute = colorEnroute;
128: }
129:
130: /**
131: * @return Returns the colorException.
132: */
133: public String getColorException() {
134: return colorException;
135: }
136:
137: /**
138: * @param colorException The colorException to set.
139: */
140: public void setColorException(String colorException) {
141: this .colorException = colorException;
142: }
143:
144: /**
145: * @return Returns the colorFinal.
146: */
147: public String getColorFinal() {
148: return colorFinal;
149: }
150:
151: /**
152: * @param colorFinal The colorFinal to set.
153: */
154: public void setColorFinal(String colorFinal) {
155: this .colorFinal = colorFinal;
156: }
157:
158: /**
159: * @return Returns the colorInitiated.
160: */
161: public String getColorInitiated() {
162: return colorInitiated;
163: }
164:
165: /**
166: * @param colorInitiated The colorInitiated to set.
167: */
168: public void setColorInitiated(String colorInitiated) {
169: this .colorInitiated = colorInitiated;
170: }
171:
172: /**
173: * @return Returns the colorProccessed.
174: */
175: public String getColorProccessed() {
176: return colorProccessed;
177: }
178:
179: /**
180: * @param colorProccessed The colorProccessed to set.
181: */
182: public void setColorProccessed(String colorProccessed) {
183: this .colorProccessed = colorProccessed;
184: }
185:
186: /**
187: * @return Returns the colorSaved.
188: */
189: public String getColorSaved() {
190: return colorSaved;
191: }
192:
193: /**
194: * @param colorSaved The colorSaved to set.
195: */
196: public void setColorSaved(String colorSaved) {
197: this .colorSaved = colorSaved;
198: }
199:
200: /**
201: * @return Returns the emailNotification.
202: */
203: public String getEmailNotification() {
204: return emailNotification;
205: }
206:
207: /**
208: * @param emailNotification The emailNotification to set.
209: */
210: public void setEmailNotification(String emailNotification) {
211: this .emailNotification = emailNotification;
212: }
213:
214: /**
215: * @return Whether or not to send email notifications for primary delegation requests.
216: */
217: public String getNotifyPrimaryDelegation() {
218: return notifyPrimaryDelegation;
219: }
220:
221: public void setNotifyPrimaryDelegation(
222: String notifyPrimaryDelegation) {
223: this .notifyPrimaryDelegation = notifyPrimaryDelegation;
224: }
225:
226: /**
227: * @return Whether or not to send email notifications for secondary delegation requests.
228: */
229: public String getNotifySecondaryDelegation() {
230: return notifySecondaryDelegation;
231: }
232:
233: public void setNotifySecondaryDelegation(
234: String notifySecondaryDelegation) {
235: this .notifySecondaryDelegation = notifySecondaryDelegation;
236: }
237:
238: /**
239: * @return Returns the openNewWindow.
240: */
241: public String getOpenNewWindow() {
242: return openNewWindow;
243: }
244:
245: /**
246: * @param openNewWindow The openNewWindow to set.
247: */
248: public void setOpenNewWindow(String openNewWindow) {
249: this .openNewWindow = openNewWindow;
250: }
251:
252: /**
253: * @return Returns the pageSize.
254: */
255: public String getPageSize() {
256: return pageSize;
257: }
258:
259: /**
260: * @param pageSize The pageSize to set.
261: */
262: public void setPageSize(String pageSize) {
263: this .pageSize = pageSize;
264: }
265:
266: /**
267: * @return Returns the refreshRate.
268: */
269: public String getRefreshRate() {
270: return refreshRate;
271: }
272:
273: /**
274: * @param refreshRate The refreshRate to set.
275: */
276: public void setRefreshRate(String refreshRate) {
277: this .refreshRate = refreshRate;
278: }
279:
280: /**
281: * @return Returns the showActionRequested.
282: */
283: public String getShowActionRequested() {
284: return showActionRequested;
285: }
286:
287: /**
288: * @param showActionRequested The showActionRequested to set.
289: */
290: public void setShowActionRequested(String showActionRequested) {
291: this .showActionRequested = showActionRequested;
292: }
293:
294: /**
295: * @return Returns the showDateCreated.
296: */
297: public String getShowDateCreated() {
298: return showDateCreated;
299: }
300:
301: /**
302: * @param showDateCreated The showDateCreated to set.
303: */
304: public void setShowDateCreated(String showDateCreated) {
305: this .showDateCreated = showDateCreated;
306: }
307:
308: /**
309: * @return Returns the showDocType.
310: */
311: public String getShowDocType() {
312: return showDocType;
313: }
314:
315: /**
316: * @param showDocType The showDocType to set.
317: */
318: public void setShowDocType(String showDocType) {
319: this .showDocType = showDocType;
320: }
321:
322: /**
323: * @return Returns the showDocumentStatus.
324: */
325: public String getShowDocumentStatus() {
326: return showDocumentStatus;
327: }
328:
329: /**
330: * @param showDocumentStatus The showDocumentStatus to set.
331: */
332: public void setShowDocumentStatus(String showDocumentStatus) {
333: this .showDocumentStatus = showDocumentStatus;
334: }
335:
336: /**
337: * @return Returns the showInitiator.
338: */
339: public String getShowInitiator() {
340: return showInitiator;
341: }
342:
343: /**
344: * @param showInitiator The showInitiator to set.
345: */
346: public void setShowInitiator(String showInitiator) {
347: this .showInitiator = showInitiator;
348: }
349:
350: /**
351: * @return Returns the showTitle.
352: */
353: public String getShowDocTitle() {
354: return showDocTitle;
355: }
356:
357: /**
358: * @param showTitle The showTitle to set.
359: */
360: public void setShowDocTitle(String showTitle) {
361: this .showDocTitle = showTitle;
362: }
363:
364: /**
365: * @return Returns the showWorkGroupRequest.
366: */
367: public String getShowWorkgroupRequest() {
368: return showWorkgroupRequest;
369: }
370:
371: /**
372: * @param showWorkGroupRequest The showWorkGroupRequest to set.
373: */
374: public void setShowWorkgroupRequest(String showWorkGroupRequest) {
375: this .showWorkgroupRequest = showWorkGroupRequest;
376: }
377:
378: public String getShowDelegator() {
379: return showDelegator;
380: }
381:
382: public void setShowDelegator(String showDelegator) {
383: this .showDelegator = showDelegator;
384: }
385:
386: public String getShowClearFyi() {
387: return showClearFyi;
388: }
389:
390: public void setShowClearFyi(String showClearFyi) {
391: this .showClearFyi = showClearFyi;
392: }
393:
394: // public String getActionListContentType() {
395: // return actionListContentType;
396: // }
397: //
398: // public void setActionListContentType(String actionListContentType) {
399: // this.actionListContentType = actionListContentType;
400: // }
401:
402: public String getDelegatorFilter() {
403: return delegatorFilter;
404: }
405:
406: public void setDelegatorFilter(String delegatorFilter) {
407: this.delegatorFilter = delegatorFilter;
408: }
409: }
|