001    /**
002     * Copyright 2005-2012 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     * http://www.opensource.org/licenses/ecl2.php
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package org.kuali.rice.kew.actionlist;
017    
018    import java.io.Serializable;
019    import java.util.Date;
020    
021    import org.kuali.rice.kew.api.KewApiConstants;
022    
023    
024    /**
025     * model for the action list filter preferences
026     *
027     * @author Kuali Rice Team (rice.collab@kuali.org)
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 = KewApiConstants.ALL_CODE;
039        private boolean excludeRouteStatus;
040        private String actionRequestCd = KewApiConstants.ALL_CODE;
041        private boolean excludeActionRequestCd;
042        private String groupId;
043        private String groupIdString = KewApiConstants.NO_FILTERING;
044        private String groupName = "";
045        private boolean excludeGroupId;
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 String primaryDelegateId = "";
056        private boolean excludeDelegatorId;
057        private String delegationType;
058        private boolean excludeDelegationType;
059        private boolean filterOn;
060    
061        public String getActionRequestCd() {
062            return actionRequestCd;
063        }
064        public void setActionRequestCd(String actionRequestCd) {
065            this.actionRequestCd = actionRequestCd;
066        }
067        public Date getCreateDateFrom() {
068            return createDateFrom;
069        }
070        public void setCreateDateFrom(Date createDate) {
071            this.createDateFrom = createDate;
072        }
073        public String getDocRouteStatus() {
074            return docRouteStatus;
075        }
076        public void setDocRouteStatus(String docRouteStatus) {
077            this.docRouteStatus = docRouteStatus;
078        }
079        public String getDocumentTitle() {
080            return documentTitle;
081        }
082        public void setDocumentTitle(String documentTitle) {
083            this.documentTitle = documentTitle;
084        }
085        public String getDocumentType() {
086            return documentType;
087        }
088        public void setDocumentType(String documentType) {
089            this.documentType = documentType;
090        }
091        public boolean isExcludeCreateDate() {
092            return excludeCreateDate;
093        }
094        public void setExcludeCreateDate(boolean excludeCreateDate) {
095            this.excludeCreateDate = excludeCreateDate;
096        }
097        public boolean isExcludeDocumentType() {
098            return excludeDocumentType;
099        }
100        public void setExcludeDocumentType(boolean excludeDocument) {
101            this.excludeDocumentType = excludeDocument;
102        }
103        public boolean isExcludeDocumentTitle() {
104            return excludeDocumentTitle;
105        }
106        public void setExcludeDocumentTitle(boolean excludeDocumentTitle) {
107            this.excludeDocumentTitle = excludeDocumentTitle;
108        }
109        public boolean isExcludeLastAssignedDate() {
110            return excludeLastAssignedDate;
111        }
112        public void setExcludeLastAssignedDate(boolean excludeLastAssignedDate) {
113            this.excludeLastAssignedDate = excludeLastAssignedDate;
114        }
115        public boolean isExcludeActionRequestCd() {
116            return excludeActionRequestCd;
117        }
118        public void setExcludeActionRequestCd(boolean excludeRequestCd) {
119            this.excludeActionRequestCd = excludeRequestCd;
120        }
121        public boolean isExcludeRouteStatus() {
122            return excludeRouteStatus;
123        }
124        public void setExcludeRouteStatus(boolean excludeRouteStatus) {
125            this.excludeRouteStatus = excludeRouteStatus;
126        }
127        public boolean isExcludeGroupId() {
128            return excludeGroupId;
129        }
130        public void setExcludeGroupId(boolean excludeGroupId) {
131            this.excludeGroupId = excludeGroupId;
132        }
133        public Date getLastAssignedDateTo() {
134            return lastAssignedDateTo;
135        }
136        public void setLastAssignedDateTo(Date lastAssignedDate) {
137            this.lastAssignedDateTo = lastAssignedDate;
138        }
139        public String getGroupId() {
140            return groupId;
141        }
142    
143        public void setGroupId(String groupId) {
144            this.groupId = groupId;
145        }
146    
147        public Date getCreateDateTo() {
148            return createDateTo;
149        }
150        public void setCreateDateTo(Date createDateTo) {
151            this.createDateTo = createDateTo;
152        }
153        public Date getLastAssignedDateFrom() {
154            return lastAssignedDateFrom;
155        }
156        public void setLastAssignedDateFrom(Date lastAssignedDateFrom) {
157            this.lastAssignedDateFrom = lastAssignedDateFrom;
158        }
159        public String getDelegatorId() {
160            return delegatorId;
161        }
162        public void setDelegatorId(String delegatorId) {
163            this.delegatorId = delegatorId;
164        }
165    
166        public String getPrimaryDelegateId() {
167                    return this.primaryDelegateId;
168            }
169    
170        public void setPrimaryDelegateId(String primaryDelegateId) {
171                    this.primaryDelegateId = primaryDelegateId;
172            }
173    
174        public String getGroupName() {
175            return groupName;
176        }
177    
178        public void setGroupName(String groupName) {
179            this.groupName = groupName;
180        }
181    
182        public String getFilterLegend() {
183            return filterLegend;
184        }
185    
186        public void setFilterLegend(String filterLegend) {
187            this.filterLegend = filterLegend;
188        }
189    
190        public String getGroupIdString() {
191            return groupIdString;
192        }
193    
194        public void setGroupIdString(String groupIdString) {
195            this.groupIdString = groupIdString;
196        }
197    
198        public boolean isExcludeDelegatorId() {
199            return excludeDelegatorId;
200        }
201    
202        public void setExcludeDelegatorId(boolean excludeDelegatorId) {
203            this.excludeDelegatorId = excludeDelegatorId;
204        }
205    
206        public String getDelegationType() {
207            return delegationType;
208        }
209    
210        public void setDelegationType(String delegationType) {
211            this.delegationType = delegationType;
212        }
213    
214        public boolean isExcludeDelegationType() {
215            return excludeDelegationType;
216        }
217    
218        public void setExcludeDelegationType(boolean excludeDelegationType) {
219            this.excludeDelegationType = excludeDelegationType;
220        }
221    
222        public boolean isFilterOn() {
223            return filterOn;
224        }
225    
226        public void setFilterOn(boolean filterOn) {
227            this.filterOn = filterOn;
228        }
229    }