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.actionlist;
018:
019: import java.io.Serializable;
020: import java.util.Date;
021:
022: import edu.iu.uis.eden.EdenConstants;
023:
024: /**
025: * model for the action list filter preferences
026: *
027: * @author rkirkend
028: */
029: public class ActionListFilter implements Serializable {
030:
031: /**
032: *
033: */
034: private static final long serialVersionUID = -365729646389290478L;
035: private String filterLegend;
036: private String documentTitle = "";
037: private boolean excludeDocumentTitle;
038: private String docRouteStatus = EdenConstants.ALL_CODE;
039: private boolean excludeRouteStatus;
040: private String actionRequestCd = EdenConstants.ALL_CODE;
041: private boolean excludeActionRequestCd;
042: private Long workgroupId;
043: private String workgroupIdString = EdenConstants.NO_FILTERING;
044: private String workgroupName = "";
045: private boolean excludeWorkgroupId;
046: private String documentType = "";
047: private boolean excludeDocumentType;
048: private Date createDateFrom;
049: private Date createDateTo;
050: private boolean excludeCreateDate;
051: private Date lastAssignedDateFrom;
052: private Date lastAssignedDateTo;
053: private boolean excludeLastAssignedDate;
054: private String delegatorId = "";
055: private boolean excludeDelegatorId;
056: private String delegationType;
057: private boolean excludeDelegationType;
058: private boolean filterOn;
059:
060: public String getActionRequestCd() {
061: return actionRequestCd;
062: }
063:
064: public void setActionRequestCd(String actionRequestCd) {
065: this .actionRequestCd = actionRequestCd;
066: }
067:
068: public Date getCreateDateFrom() {
069: return createDateFrom;
070: }
071:
072: public void setCreateDateFrom(Date createDate) {
073: this .createDateFrom = createDate;
074: }
075:
076: public String getDocRouteStatus() {
077: return docRouteStatus;
078: }
079:
080: public void setDocRouteStatus(String docRouteStatus) {
081: this .docRouteStatus = docRouteStatus;
082: }
083:
084: public String getDocumentTitle() {
085: return documentTitle;
086: }
087:
088: public void setDocumentTitle(String documentTitle) {
089: this .documentTitle = documentTitle;
090: }
091:
092: public String getDocumentType() {
093: return documentType;
094: }
095:
096: public void setDocumentType(String documentType) {
097: this .documentType = documentType;
098: }
099:
100: public boolean isExcludeCreateDate() {
101: return excludeCreateDate;
102: }
103:
104: public void setExcludeCreateDate(boolean excludeCreateDate) {
105: this .excludeCreateDate = excludeCreateDate;
106: }
107:
108: public boolean isExcludeDocumentType() {
109: return excludeDocumentType;
110: }
111:
112: public void setExcludeDocumentType(boolean excludeDocument) {
113: this .excludeDocumentType = excludeDocument;
114: }
115:
116: public boolean isExcludeDocumentTitle() {
117: return excludeDocumentTitle;
118: }
119:
120: public void setExcludeDocumentTitle(boolean excludeDocumentTitle) {
121: this .excludeDocumentTitle = excludeDocumentTitle;
122: }
123:
124: public boolean isExcludeLastAssignedDate() {
125: return excludeLastAssignedDate;
126: }
127:
128: public void setExcludeLastAssignedDate(
129: boolean excludeLastAssignedDate) {
130: this .excludeLastAssignedDate = excludeLastAssignedDate;
131: }
132:
133: public boolean isExcludeActionRequestCd() {
134: return excludeActionRequestCd;
135: }
136:
137: public void setExcludeActionRequestCd(boolean excludeRequestCd) {
138: this .excludeActionRequestCd = excludeRequestCd;
139: }
140:
141: public boolean isExcludeRouteStatus() {
142: return excludeRouteStatus;
143: }
144:
145: public void setExcludeRouteStatus(boolean excludeRouteStatus) {
146: this .excludeRouteStatus = excludeRouteStatus;
147: }
148:
149: public boolean isExcludeWorkgroupId() {
150: return excludeWorkgroupId;
151: }
152:
153: public void setExcludeWorkgroupId(boolean excludeWorkgroupId) {
154: this .excludeWorkgroupId = excludeWorkgroupId;
155: }
156:
157: public Date getLastAssignedDateTo() {
158: return lastAssignedDateTo;
159: }
160:
161: public void setLastAssignedDateTo(Date lastAssignedDate) {
162: this .lastAssignedDateTo = lastAssignedDate;
163: }
164:
165: public Long getWorkgroupId() {
166: return workgroupId;
167: }
168:
169: public void setWorkgroupId(Long workgroupId) {
170: this .workgroupId = workgroupId;
171: }
172:
173: public Date getCreateDateTo() {
174: return createDateTo;
175: }
176:
177: public void setCreateDateTo(Date createDateTo) {
178: this .createDateTo = createDateTo;
179: }
180:
181: public Date getLastAssignedDateFrom() {
182: return lastAssignedDateFrom;
183: }
184:
185: public void setLastAssignedDateFrom(Date lastAssignedDateFrom) {
186: this .lastAssignedDateFrom = lastAssignedDateFrom;
187: }
188:
189: public String getDelegatorId() {
190: return delegatorId;
191: }
192:
193: public void setDelegatorId(String delegatorId) {
194: this .delegatorId = delegatorId;
195: }
196:
197: public String getWorkgroupName() {
198: return workgroupName;
199: }
200:
201: public void setWorkgroupName(String workgroupName) {
202: this .workgroupName = workgroupName;
203: }
204:
205: public String getFilterLegend() {
206: return filterLegend;
207: }
208:
209: public void setFilterLegend(String filterLegend) {
210: this .filterLegend = filterLegend;
211: }
212:
213: public String getWorkgroupIdString() {
214: return workgroupIdString;
215: }
216:
217: public void setWorkgroupIdString(String workgroupIdString) {
218: this .workgroupIdString = workgroupIdString;
219: }
220:
221: public boolean isExcludeDelegatorId() {
222: return excludeDelegatorId;
223: }
224:
225: public void setExcludeDelegatorId(boolean excludeDelegatorId) {
226: this .excludeDelegatorId = excludeDelegatorId;
227: }
228:
229: public String getDelegationType() {
230: return delegationType;
231: }
232:
233: public void setDelegationType(String delegationType) {
234: this .delegationType = delegationType;
235: }
236:
237: public boolean isExcludeDelegationType() {
238: return excludeDelegationType;
239: }
240:
241: public void setExcludeDelegationType(boolean excludeDelegationType) {
242: this .excludeDelegationType = excludeDelegationType;
243: }
244:
245: public boolean isFilterOn() {
246: return filterOn;
247: }
248:
249: public void setFilterOn(boolean filterOn) {
250: this.filterOn = filterOn;
251: }
252: }
|