View Javadoc
1   package org.kuali.ole.deliver.form;
2   
3   import org.kuali.ole.deliver.bo.OLEBibSearchResultDisplayRow;
4   import org.kuali.ole.deliver.bo.OLESingleItemResultDisplayRow;
5   import org.kuali.ole.docstore.common.search.SearchParams;
6   import org.kuali.rice.krad.web.form.UifFormBase;
7   
8   import java.util.ArrayList;
9   import java.util.List;
10  
11  /**
12   * Created by chenchulakshmig on 1/12/15.
13   */
14  public class OLEDeliverItemSearchForm extends UifFormBase {
15  
16      private String title;
17      private String author;
18      private String publisher;
19      private String itemBarCode;
20      private String itemCallNumber;
21      private String itemUUID;
22      private String itemType;
23      private String itemLocation;
24      private boolean singleItemFlag = false;
25      private boolean multipleItemFlag = false;
26      private List<OLEBibSearchResultDisplayRow> oleBibSearchResultDisplayRowList = new ArrayList<>();
27      private OLESingleItemResultDisplayRow oleSingleItemResultDisplayRow;
28      private String selectRowDetails;
29      private boolean showSelectedRowDetails;
30      private boolean nextFlag;
31      private boolean previousFlag;
32      private String sortOrder;
33      private String sortField;
34      private int totalRecordCount;
35      private String pageNumber = "0";
36      private SearchParams searchParams;
37      private int pageSize = 10;
38      protected int start = 0;
39  
40  
41      public int getStart() {
42          return start;
43      }
44  
45      public void setStart(int start) {
46          this.start = start;
47      }
48  
49      public boolean isNextFlag() {
50          return nextFlag;
51      }
52  
53      public void setNextFlag(boolean nextFlag) {
54          this.nextFlag = nextFlag;
55      }
56  
57      public boolean isPreviousFlag() {
58          return previousFlag;
59      }
60  
61      public void setPreviousFlag(boolean previousFlag) {
62          this.previousFlag = previousFlag;
63      }
64  
65      public String getSortOrder() {
66          return sortOrder;
67      }
68  
69      public void setSortOrder(String sortOrder) {
70          this.sortOrder = sortOrder;
71      }
72  
73      public String getSortField() {
74          return sortField;
75      }
76  
77      public void setSortField(String sortField) {
78          this.sortField = sortField;
79      }
80  
81      public boolean isShowSelectedRowDetails() {
82          return showSelectedRowDetails;
83      }
84  
85      public void setShowSelectedRowDetails(boolean showSelectedRowDetails) {
86          this.showSelectedRowDetails = showSelectedRowDetails;
87      }
88  
89      public String getSelectRowDetails() {
90          return selectRowDetails;
91      }
92  
93      public void setSelectRowDetails(String selectRowDetails) {
94          this.selectRowDetails = selectRowDetails;
95      }
96  
97      public int getTotalRecordCount() {
98          return totalRecordCount;
99      }
100 
101     public void setTotalRecordCount(int totalRecordCount) {
102         this.totalRecordCount = totalRecordCount;
103     }
104 
105     public String getPageNumber() {
106         return pageNumber;
107     }
108 
109     public void setPageNumber(String pageNumber) {
110         this.pageNumber = pageNumber;
111     }
112 
113     public SearchParams getSearchParams() {
114         return searchParams;
115     }
116 
117     public void setSearchParams(SearchParams searchParams) {
118         this.searchParams = searchParams;
119     }
120 
121     public int getPageSize() {
122         return pageSize;
123     }
124 
125     public void setPageSize(int pageSize) {
126         this.pageSize = pageSize;
127     }
128 
129     public String getTitle() {
130         return title;
131     }
132 
133     public void setTitle(String title) {
134         this.title = title;
135     }
136 
137     public String getAuthor() {
138         return author;
139     }
140 
141     public void setAuthor(String author) {
142         this.author = author;
143     }
144 
145     public String getPublisher() {
146         return publisher;
147     }
148 
149     public void setPublisher(String publisher) {
150         this.publisher = publisher;
151     }
152 
153     public String getItemBarCode() {
154         return itemBarCode;
155     }
156 
157     public void setItemBarCode(String itemBarCode) {
158         this.itemBarCode = itemBarCode;
159     }
160 
161     public String getItemCallNumber() {
162         return itemCallNumber;
163     }
164 
165     public void setItemCallNumber(String itemCallNumber) {
166         this.itemCallNumber = itemCallNumber;
167     }
168 
169     public String getItemUUID() {
170         return itemUUID;
171     }
172 
173     public void setItemUUID(String itemUUID) {
174         this.itemUUID = itemUUID;
175     }
176 
177     public String getItemType() {
178         return itemType;
179     }
180 
181     public void setItemType(String itemType) {
182         this.itemType = itemType;
183     }
184 
185     public String getItemLocation() {
186         return itemLocation;
187     }
188 
189     public void setItemLocation(String itemLocation) {
190         this.itemLocation = itemLocation;
191     }
192 
193     public boolean isSingleItemFlag() {
194         return singleItemFlag;
195     }
196 
197     public void setSingleItemFlag(boolean singleItemFlag) {
198         this.singleItemFlag = singleItemFlag;
199     }
200 
201     public boolean isMultipleItemFlag() {
202         return multipleItemFlag;
203     }
204 
205     public void setMultipleItemFlag(boolean multipleItemFlag) {
206         this.multipleItemFlag = multipleItemFlag;
207     }
208 
209     public List<OLEBibSearchResultDisplayRow> getOleBibSearchResultDisplayRowList() {
210         return oleBibSearchResultDisplayRowList;
211     }
212 
213     public void setOleBibSearchResultDisplayRowList(List<OLEBibSearchResultDisplayRow> oleBibSearchResultDisplayRowList) {
214         this.oleBibSearchResultDisplayRowList = oleBibSearchResultDisplayRowList;
215     }
216 
217     public OLESingleItemResultDisplayRow getOleSingleItemResultDisplayRow() {
218         return oleSingleItemResultDisplayRow;
219     }
220 
221     public void setOleSingleItemResultDisplayRow(OLESingleItemResultDisplayRow oleSingleItemResultDisplayRow) {
222         this.oleSingleItemResultDisplayRow = oleSingleItemResultDisplayRow;
223     }
224 
225 }