View Javadoc
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   * Created with IntelliJ IDEA.
14   * User: chenchulakshmig
15   * Date: 6/26/13
16   * Time: 1:19 PM
17   * To change this template use File | Settings | File Templates.
18   */
19  public class OLEEResourceSearchForm extends UifFormBase {
20      public OLESearchParams oleSearchParams = new OLESearchParams();
21      public boolean statusDate;
22      public Date beginDate;
23      public Date endDate;
24      public List<String> status;
25      private List<OLEEResourceRecordDocument> eresourceDocumentList = new ArrayList<OLEEResourceRecordDocument>();
26  
27      public OLEEResourceSearchForm() {
28          List<OLESearchCondition> searchConditions = new ArrayList<OLESearchCondition>();
29          searchConditions = getOleSearchParams().getSearchFieldsList();
30          searchConditions.add(new OLESearchCondition());
31          searchConditions.add(new OLESearchCondition());
32          searchConditions.add(new OLESearchCondition());
33      }
34  
35      public Date getBeginDate() {
36          return beginDate;
37      }
38  
39      public void setBeginDate(Date beginDate) {
40          this.beginDate = beginDate;
41      }
42  
43      public Date getEndDate() {
44          return endDate;
45      }
46  
47      public void setEndDate(Date endDate) {
48          this.endDate = endDate;
49      }
50  
51      public List<String> getStatus() {
52          return status;
53      }
54  
55      public void setStatus(List<String> status) {
56          this.status = status;
57      }
58  
59      public boolean isStatusDate() {
60          return statusDate;
61      }
62  
63      public void setStatusDate(boolean statusDate) {
64          this.statusDate = statusDate;
65      }
66  
67      public OLESearchParams getOleSearchParams() {
68          return oleSearchParams;
69      }
70  
71      public void setOleSearchParams(OLESearchParams oleSearchParams) {
72          this.oleSearchParams = oleSearchParams;
73      }
74  
75      public List<OLEEResourceRecordDocument> getEresourceDocumentList() {
76          return eresourceDocumentList;
77      }
78  
79      public void setEresourceDocumentList(List<OLEEResourceRecordDocument> eresourceDocumentList) {
80          this.eresourceDocumentList = eresourceDocumentList;
81      }
82  }