1 package org.kuali.ole.select.form;
2
3 import org.kuali.ole.select.bo.OLESearchCondition;
4 import org.kuali.ole.select.bo.OLESearchParams;
5 import org.kuali.ole.select.document.OLEEResourceRecordDocument;
6 import org.kuali.rice.krad.web.form.UifFormBase;
7
8 import java.util.ArrayList;
9 import java.util.Date;
10 import java.util.List;
11
12
13
14
15
16
17
18
19 public class OLEEResourceSearchForm extends UifFormBase {
20 public OLESearchParams oleSearchParams = new OLESearchParams();
21 public boolean eResStatusDate;
22 public boolean selectEResFlag;
23 public Date beginDate;
24 public Date endDate;
25 public List<String> status;
26 private String message;
27 private List<OLEEResourceRecordDocument> eresourceDocumentList = new ArrayList<OLEEResourceRecordDocument>();
28
29 public OLEEResourceSearchForm() {
30 List<OLESearchCondition> searchConditions = new ArrayList<OLESearchCondition>();
31 searchConditions = getOleSearchParams().getSearchFieldsList();
32 searchConditions.add(new OLESearchCondition());
33 searchConditions.add(new OLESearchCondition());
34 searchConditions.add(new OLESearchCondition());
35 }
36
37 public Date getBeginDate() {
38 return beginDate;
39 }
40
41 public void setBeginDate(Date beginDate) {
42 this.beginDate = beginDate;
43 }
44
45 public Date getEndDate() {
46 return endDate;
47 }
48
49 public void setEndDate(Date endDate) {
50 this.endDate = endDate;
51 }
52
53 public List<String> getStatus() {
54 return status;
55 }
56
57 public void setStatus(List<String> status) {
58 this.status = status;
59 }
60
61 public boolean iseResStatusDate() {
62 return eResStatusDate;
63 }
64
65 public void seteResStatusDate(boolean eResStatusDate) {
66 this.eResStatusDate = eResStatusDate;
67 }
68
69 public OLESearchParams getOleSearchParams() {
70 return oleSearchParams;
71 }
72
73 public void setOleSearchParams(OLESearchParams oleSearchParams) {
74 this.oleSearchParams = oleSearchParams;
75 }
76
77 public List<OLEEResourceRecordDocument> getEresourceDocumentList() {
78 return eresourceDocumentList;
79 }
80
81 public void setEresourceDocumentList(List<OLEEResourceRecordDocument> eresourceDocumentList) {
82 this.eresourceDocumentList = eresourceDocumentList;
83 }
84
85 public boolean isSelectEResFlag() {
86 return selectEResFlag;
87 }
88
89 public void setSelectEResFlag(boolean selectEResFlag) {
90 this.selectEResFlag = selectEResFlag;
91 }
92
93 public String getMessage() {
94 return message;
95 }
96
97 public void setMessage(String message) {
98 this.message = message;
99 }
100 }