1 package org.kuali.ole.describe.form;
2
3
4 import org.kuali.ole.docstore.common.document.Holdings;
5 import org.kuali.ole.docstore.common.document.Item;
6 import org.kuali.ole.docstore.model.bo.WorkBibDocument;
7 import org.kuali.rice.krad.web.form.UifFormBase;
8 import org.apache.commons.lang.StringUtils;
9
10 import java.util.List;
11
12
13 public class CallNumberBrowseForm extends UifFormBase {
14
15
16 private String message;
17 private String information;
18 private int pageSize = 10;
19 private List<WorkBibDocument> workBibDocumentList;
20 private List<Holdings> holdingsList;
21 private List<Item> itemList;
22 private String location;
23 private String classificationScheme;
24 private String callNumberBrowseText;
25
26 public boolean nextFlag;
27 public boolean previousFlag;
28 public String pageShowEntries;
29 public String docType;
30 public boolean closeBtnShowFlag;
31
32
33 public boolean isCloseBtnShowFlag() {
34 return closeBtnShowFlag;
35 }
36
37 public void setCloseBtnShowFlag(boolean closeBtnShowFlag) {
38 this.closeBtnShowFlag = closeBtnShowFlag;
39 }
40
41 public String getDocType() {
42 return docType;
43 }
44
45 public void setDocType(String docType) {
46 if (docType != null && docType.contains(","))
47 this.docType = docType.substring(0, docType.indexOf(","));
48 else
49 this.docType = docType;
50
51 }
52
53 public String getPageShowEntries() {
54 return pageShowEntries;
55 }
56
57 public void setPageShowEntries(String pageShowEntries) {
58 this.pageShowEntries = pageShowEntries;
59 }
60
61 public boolean getNextFlag() {
62 return nextFlag;
63 }
64
65 public void setNextFlag(boolean nextFlag) {
66 this.nextFlag = nextFlag;
67 }
68
69 public boolean isPreviousFlag() {
70 return previousFlag;
71 }
72
73 public void setPreviousFlag(boolean previousFlag) {
74 this.previousFlag = previousFlag;
75 }
76
77 public String getLocation() {
78 return location;
79 }
80
81 public void setLocation(String location) {
82 this.location = location;
83 }
84
85 public String getClassificationScheme() {
86 return classificationScheme;
87 }
88
89 public void setClassificationScheme(String classificationScheme) {
90 this.classificationScheme = classificationScheme;
91 }
92
93 public String getCallNumberBrowseText() {
94 return callNumberBrowseText;
95 }
96
97 public void setCallNumberBrowseText(String callNumberBrowseText) {
98 this.callNumberBrowseText = callNumberBrowseText;
99 }
100
101 public String getMessage() {
102 return message;
103 }
104
105 public void setMessage(String message) {
106 this.message = message;
107 }
108
109 public String getInformation() {
110 return information;
111 }
112
113 public void setInformation(String information) {
114 this.information = information;
115 }
116
117 public int getPageSize() {
118 return pageSize;
119 }
120
121 public void setPageSize(int pageSize) {
122 this.pageSize = pageSize;
123 }
124
125 public List<WorkBibDocument> getWorkBibDocumentList() {
126 return workBibDocumentList;
127 }
128
129 public void setWorkBibDocumentList(List<WorkBibDocument> workBibDocumentList) {
130 this.workBibDocumentList = workBibDocumentList;
131 }
132
133 public List<Holdings> getHoldingsList() {
134 return holdingsList;
135 }
136
137 public void setHoldingsList(List<Holdings> holdingsList) {
138 this.holdingsList = holdingsList;
139 }
140
141 public List<Item> getItemList() {
142 return itemList;
143 }
144
145 public void setItemList(List<Item> itemList) {
146 this.itemList = itemList;
147 }
148 }