1 package org.kuali.ole.describe.form;
2
3 import org.kuali.ole.catalog.bo.OleBibliographicRecordStatus;
4 import org.kuali.ole.describe.bo.DocumentTreeNode;
5 import org.kuali.ole.docstore.model.bo.WorkBibDocument;
6 import org.kuali.rice.core.api.util.tree.Tree;
7 import org.kuali.rice.krad.web.form.UifFormBase;
8
9 import java.util.List;
10
11
12
13
14
15
16
17
18 public class EditorForm extends UifFormBase {
19
20 protected String message;
21
22 private String docCategory;
23 private String docType;
24 private String docFormat;
25 private String uuid;
26 private String docId;
27 private String bibStatus;
28 private OleBibliographicRecordStatus oleBibliographicRecordStatus;
29 private String updatedBy;
30 private String createdBy;
31
32 private String deleteVerifyResponse;
33 private List<String> uuidList;
34
35 private Tree<DocumentTreeNode,String> DocTree = new Tree<DocumentTreeNode, String>();
36
37 public String getBibStatus() {
38 return bibStatus;
39 }
40
41 public void setBibStatus(String bibStatus) {
42 this.bibStatus = bibStatus;
43 }
44
45 public String getUpdatedBy() {
46 return updatedBy;
47 }
48
49 public void setUpdatedBy(String updatedBy) {
50 this.updatedBy = updatedBy;
51 }
52
53 public String getCreatedBy() {
54 return createdBy;
55 }
56
57 public void setCreatedBy(String createdBy) {
58 this.createdBy = createdBy;
59 }
60
61
62 public String getCreatedDate() {
63 return createdDate;
64 }
65
66 public void setCreatedDate(String createdDate) {
67 this.createdDate = createdDate;
68 }
69
70 public String getUpdatedDate() {
71 return updatedDate;
72 }
73
74 public void setUpdatedDate(String updatedDate) {
75 this.updatedDate = updatedDate;
76 }
77
78 private String createdDate;
79 private String updatedDate;
80
81
82 private WorkBibMarcForm workBibMarcForm;
83 private EditorForm documentForm;
84
85
86
87 private String existing = "false";
88 private String treeData;
89 private String hdnUuid;
90 private int hdnIndex = 0;
91 private String bibId;
92 private String instanceId;
93 private String editable;
94
95 private List<WorkBibDocument> workBibDocumentList;
96
97 private String needToCreateInstance = "false";
98 private String showLeftPane = "true";
99 private String showEditorFooter = "true";
100
101 public EditorForm() {
102
103
104 }
105
106 public String getDocType() {
107 return docType;
108 }
109
110 public void setDocType(String docType) {
111 this.docType = docType;
112 }
113
114 public String getDocFormat() {
115 return docFormat;
116 }
117
118 public void setDocFormat(String docFormat) {
119 this.docFormat = docFormat;
120 }
121
122 public String getUuid() {
123 return uuid;
124 }
125
126 public void setUuid(String uuid) {
127 this.uuid = uuid;
128 }
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175 public String getExisting() {
176 return existing;
177 }
178
179 public void setExisting(String existing) {
180 this.existing = existing;
181 }
182
183 public String getTreeData() {
184 return treeData;
185 }
186
187 public void setTreeData(String treeData) {
188 this.treeData = treeData;
189 }
190
191 public String getHdnUuid() {
192 return hdnUuid;
193 }
194
195 public void setHdnUuid(String hdnUuid) {
196 this.hdnUuid = hdnUuid;
197 }
198
199 public int getHdnIndex() {
200 return hdnIndex;
201 }
202
203 public void setHdnIndex(int hdnIndex) {
204 this.hdnIndex = hdnIndex;
205 }
206
207
208
209
210
211
212
213
214
215
216
217 public List<WorkBibDocument> getWorkBibDocumentList() {
218 return workBibDocumentList;
219 }
220
221 public void setWorkBibDocumentList(List<WorkBibDocument> workBibDocumentList) {
222 this.workBibDocumentList = workBibDocumentList;
223 }
224
225 public String getDocCategory() {
226 return docCategory;
227 }
228
229 public void setDocCategory(String docCategory) {
230 this.docCategory = docCategory;
231 }
232
233 public String getDocId() {
234 return docId;
235 }
236
237 public void setDocId(String docId) {
238 this.docId = docId;
239 }
240
241 public WorkBibMarcForm getWorkBibMarcForm() {
242 return workBibMarcForm;
243 }
244
245 public void setWorkBibMarcForm(WorkBibMarcForm workBibMarcForm) {
246 this.workBibMarcForm = workBibMarcForm;
247 }
248
249 public String getMessage() {
250 return message;
251 }
252
253 public void setMessage(String message) {
254 this.message = message;
255 }
256
257 public EditorForm getDocumentForm() {
258 return documentForm;
259 }
260
261 public void setDocumentForm(EditorForm documentForm) {
262 this.documentForm = documentForm;
263 }
264
265 public String getBibId() {
266 return bibId;
267 }
268
269 public void setBibId(String bibId) {
270 this.bibId = bibId;
271 }
272
273 public String getInstanceId() {
274 return instanceId;
275 }
276
277 public void setInstanceId(String instanceId) {
278 this.instanceId = instanceId;
279 }
280
281 public String getEditable() {
282 return editable;
283 }
284
285 public void setEditable(String editable) {
286 this.editable = editable;
287 }
288
289 public String getNeedToCreateInstance() {
290 return needToCreateInstance;
291 }
292
293 public void setNeedToCreateInstance(String needToCreateInstance) {
294 this.needToCreateInstance = needToCreateInstance;
295 }
296
297 public String getShowLeftPane() {
298 return showLeftPane;
299 }
300
301 public void setShowLeftPane(String showLeftPane) {
302 this.showLeftPane = showLeftPane;
303 }
304
305 public String getShowEditorFooter() {
306 return showEditorFooter;
307 }
308
309 public void setShowEditorFooter(String showEditorFooter) {
310 this.showEditorFooter = showEditorFooter;
311 }
312
313 public OleBibliographicRecordStatus getOleBibliographicRecordStatus() {
314 return oleBibliographicRecordStatus;
315 }
316
317 public void setOleBibliographicRecordStatus(OleBibliographicRecordStatus oleBibliographicRecordStatus) {
318 this.oleBibliographicRecordStatus = oleBibliographicRecordStatus;
319 }
320
321 public List<String> getUuidList() {
322 return uuidList;
323 }
324
325 public void setUuidList(List<String> uuidList) {
326 this.uuidList = uuidList;
327 }
328
329 public Tree<DocumentTreeNode, String> getDocTree() {
330 return DocTree;
331 }
332
333 public void setDocTree(Tree<DocumentTreeNode, String> docTree) {
334 DocTree = docTree;
335 }
336
337 public String getDeleteVerifyResponse() {
338 return deleteVerifyResponse;
339 }
340
341 public void setDeleteVerifyResponse(String deleteVerifyResponse) {
342 this.deleteVerifyResponse = deleteVerifyResponse;
343 }
344 }
345
346
347