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.OLEPlatformRecordDocument;
6 import org.kuali.rice.krad.web.form.UifFormBase;
7
8 import java.util.ArrayList;
9 import java.util.List;
10
11
12
13
14
15 public class OLEPlatformSearchForm extends UifFormBase {
16
17 private OLESearchParams oleSearchParams = new OLESearchParams();
18
19 private List<OLEPlatformRecordDocument> platformDocumentList = new ArrayList<>();
20
21 public OLESearchParams getOleSearchParams() {
22 return oleSearchParams;
23 }
24
25 public void setOleSearchParams(OLESearchParams oleSearchParams) {
26 this.oleSearchParams = oleSearchParams;
27 }
28
29 public List<OLEPlatformRecordDocument> getPlatformDocumentList() {
30 return platformDocumentList;
31 }
32
33 public void setPlatformDocumentList(List<OLEPlatformRecordDocument> platformDocumentList) {
34 this.platformDocumentList = platformDocumentList;
35 }
36
37 public OLEPlatformSearchForm() {
38 List<OLESearchCondition> searchConditions = new ArrayList<OLESearchCondition>();
39 searchConditions = getOleSearchParams().getSearchFieldsList();
40 searchConditions.add(new OLESearchCondition());
41 searchConditions.add(new OLESearchCondition());
42 }
43 }