1 package org.kuali.ole.deliver.form;
2
3 import org.kuali.ole.deliver.bo.OleLoanDocument;
4 import org.kuali.ole.deliver.bo.OleLoanFastAdd;
5 import org.kuali.ole.deliver.bo.OlePatronDocument;
6 import org.kuali.ole.docstore.common.document.content.instance.Item;
7 import org.kuali.rice.krad.web.form.UifFormBase;
8
9 import java.math.BigDecimal;
10 import java.util.ArrayList;
11 import java.util.Date;
12 import java.util.HashMap;
13 import java.util.List;
14
15
16
17
18
19 public class OleLoanForm extends UifFormBase {
20
21 private String patronBarcode;
22 private String patronFirstName;
23 private String patronName;
24 private String patronId;
25 private String patronNameURL;
26 private String borrowerType;
27 private String borrowerTypeId;
28 private String item;
29 private String itemUuid;
30 private String instanceUuid;
31 private String message;
32 private String returnMessage;
33 private String information;
34 private String successInfo;
35 private String returnInformation;
36 private Item oleItem;
37 private String author;
38 private boolean blockLoan;
39 private String returnItemUuid;
40 private String itemFlag;
41 private String returnInstanceUuid;
42 private boolean isClearUI = false;
43 private String fastAddUrl;
44 private String routeToLocation;
45 private boolean checkOut = false;
46 private boolean nonCirculatingFlag = false;
47 private String proxyPatronName;
48
49 private String checkInTime;
50 private String alterDueDateTimeInfo;
51 private String loanLoginUserInfo;
52 private boolean loanLoginMessage;
53 private boolean audioEnable = false;
54 private boolean audioForPastDate = false;
55 private String returnViewUrl;
56 private boolean returnViewUrlFlag;
57 private boolean okOrRemoveNote = false;
58 private boolean damagedCheckIn = false;
59 private String borrowerCode;
60 private String loanLoginName;
61 private boolean validLogin;
62 private boolean removeClaimsReturnFlag;
63 private boolean itemClaimsReturnFlag;
64 private boolean recordNote=false;
65 private String overrideErrorMessage;
66 private boolean claimsFlag=false;
67 private HashMap<String,String> errorsAndPermission = new HashMap<>();
68 private boolean blockUser;
69 private boolean itemDamagedStatus;
70 private boolean skipDamagedCheckIn;
71 private String missingPieceCount;
72 private String errorMessage;
73 private boolean missingPieceValidationSuccess;
74 private boolean inTransit;
75 private String missingPieceMessage;
76 private boolean missingPieceDialog;
77 private boolean damagedItemDialog;
78 private String dialogText;
79 private boolean dialogFlag;
80 private String dialogMissingPieceCount;
81 private String dialogItemNoOfPieces;
82 private boolean dialogMissingPieceCountReadOnly;
83 private boolean dialogItemNoOfPiecesReadOnly;
84 private boolean removeMissingPieceButton;
85 private String dialogErrorMessage;
86 private String realPatronId;
87 private String missingPieceNote;
88 private OleLoanDocument missingPieceLoanDocument;
89 private boolean removeMissingPieceFlag;
90 private boolean recordDamagedItemNote;
91 private boolean recordMissingPieceNote;
92 private boolean recordCheckoutMissingPieceNote;
93 private boolean displayRecordNotePopup;
94 private boolean checkoutRecordFlag;
95 private String checkoutRecordMessage;
96 private boolean skipMissingPieceRecordPopup;
97 private boolean skipDamagedRecordPopup;
98 private boolean displayMissingPieceNotePopup;
99 private boolean checkoutMissingPieceRecordFlag;
100 private boolean displayDamagedRecordNotePopup;
101 private boolean checkoutDamagedRecordFlag;
102 private boolean tempClaimsFlag;
103 private boolean sendMissingPieceMail;
104 private boolean patronbill=false;
105 private String successMessage;
106 private boolean removeItemDamagedButton;
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121 public boolean isPatronbill() {
122 return patronbill;
123 }
124
125 public void setPatronbill(boolean patronbill) {
126 this.patronbill = patronbill;
127 }
128
129 public String getItemFlag() {
130 return itemFlag;
131 }
132
133 public void setItemFlag(String itemFlag) {
134 this.itemFlag = itemFlag;
135 }
136
137 public String getPatronNameURL() {
138 return patronNameURL;
139 }
140
141 public void setPatronNameURL(String patronNameURL) {
142 this.patronNameURL = patronNameURL;
143 }
144
145 public boolean isValidLogin() {
146 return validLogin;
147 }
148
149 public boolean isItemClaimsReturnFlag() {
150 return itemClaimsReturnFlag;
151 }
152
153 public void setItemClaimsReturnFlag(boolean itemClaimsReturnFlag) {
154 this.itemClaimsReturnFlag = itemClaimsReturnFlag;
155 }
156
157 public void setValidLogin(boolean validLogin) {
158 this.validLogin = validLogin;
159 }
160
161 public String getLoanLoginName() {
162 return loanLoginName;
163 }
164
165 public void setLoanLoginName(String loanLoginName) {
166 this.loanLoginName = loanLoginName;
167 }
168
169 public String getBorrowerCode() {
170 return borrowerCode;
171 }
172
173 public boolean isClaimsFlag() {
174 return claimsFlag;
175 }
176
177 public void setClaimsFlag(boolean claimsFlag) {
178 this.claimsFlag = claimsFlag;
179 }
180
181 public void setBorrowerCode(String borrowerCode) {
182 this.borrowerCode = borrowerCode;
183 }
184
185 public boolean isDamagedCheckIn() {
186 return damagedCheckIn;
187 }
188
189 public boolean isRecordNote() {
190 return recordNote;
191 }
192
193 public void setRecordNote(boolean recordNote) {
194 this.recordNote = recordNote;
195 }
196
197 public void setDamagedCheckIn(boolean damagedCheckIn) {
198 this.damagedCheckIn = damagedCheckIn;
199 }
200
201 public boolean isRemoveClaimsReturnFlag() {
202 return removeClaimsReturnFlag;
203 }
204
205 public void setRemoveClaimsReturnFlag(boolean removeClaimsReturnFlag) {
206 this.removeClaimsReturnFlag = removeClaimsReturnFlag;
207 }
208
209 public boolean isOkOrRemoveNote() {
210 return okOrRemoveNote;
211 }
212
213 public void setOkOrRemoveNote(boolean okOrRemoveNote) {
214 this.okOrRemoveNote = okOrRemoveNote;
215 }
216
217 public boolean isReturnViewUrlFlag() {
218 return returnViewUrlFlag;
219 }
220
221 public void setReturnViewUrlFlag(boolean returnViewUrlFlag) {
222 this.returnViewUrlFlag = returnViewUrlFlag;
223 }
224
225 public String getReturnViewUrl() {
226 return returnViewUrl;
227 }
228
229 public void setReturnViewUrl(String returnViewUrl) {
230 this.returnViewUrl = returnViewUrl;
231 }
232
233 public String getProxyPatronName() {
234 return proxyPatronName;
235 }
236
237 public void setProxyPatronName(String proxyPatronName) {
238 this.proxyPatronName = proxyPatronName;
239 }
240
241 public boolean isAudioForPastDate() {
242 return audioForPastDate;
243 }
244
245 public void setAudioForPastDate(boolean audioForPastDate) {
246 this.audioForPastDate = audioForPastDate;
247 }
248
249 public boolean isAudioEnable() {
250 return audioEnable;
251 }
252
253 public void setAudioEnable(boolean audioEnable) {
254 this.audioEnable = audioEnable;
255 }
256
257 public String getCheckInTime() {
258 return checkInTime;
259 }
260
261 public void setCheckInTime(String checkInTime) {
262 this.checkInTime = checkInTime;
263 }
264
265 public boolean isCheckOut() {
266 return checkOut;
267 }
268
269 public void setCheckOut(boolean checkOut) {
270 this.checkOut = checkOut;
271 }
272
273
274
275
276 private boolean itemFocus = false;
277
278
279
280
281 private boolean patronFocus = false;
282
283
284
285
286
287 private String circulationDesk;
288 private String confirmMessage;
289 private boolean changeLocationFlag;
290
291
292
293 private OleLoanFastAdd oleLoanFastAdd;
294 private boolean fastAddItemIndicator = false;
295
296
297
298
299 private String claimsReturnNote;
300 private boolean claimsReturnFlag = false;
301
302
303
304 private String patronUserNote;
305 private String patronNoteTypeId;
306 private boolean patronNoteFlag = false;
307
308
309
310 private String realPatronBarcode;
311 private String proxyPatronId;
312 private String realPatronType;
313 private String realPatronName;
314 private List<OlePatronDocument> currentPatronList;
315 private List<OlePatronDocument> realPatronList;
316 private boolean realPatronFlag = false;
317 private boolean selfCheckOut = false;
318
319
320
321 private List<OleLoanDocument> alterDueDateList;
322 private boolean alterDueDateFlag = false;
323
324
325
326
327 private String newPrincipalId;
328 private String overideMethodCall;
329 private boolean overrideFlag = false;
330 private String oldPrincipalId;
331
332
333
334
335 private boolean addressVerified = false;
336
337
338
339
340
341 private boolean dueDateSlip = false;
342
343
344
345
346 private int maxSessionTime;
347 private String maxTimeForCheckOutConstant;
348
349
350
351
352 private String oleFormKey;
353
354
355
356
357 private boolean backGroundCheckIn = false;
358
359 private boolean dueDateEmpty = false;
360 private Date dueDateMap;
361 private Date popDateMap;
362 private String popDateTime;
363 private String popDateTimeInfo;
364 private boolean success = true;
365 private boolean returnSuccess = true;
366 private OleLoanDocument dummyLoan;
367 private OleLoanDocument backUpDummyLoan;
368 private List<OleLoanDocument> loanList;
369 private List<OleLoanDocument> existingLoanList;
370
371 private List<OleLoanDocument> itemReturnList;
372
373
374 private String overrideLoginMessage;
375
376 private String preferredAddress;
377 private String email;
378 private String phoneNumber;
379
380 private boolean numberOfPieces = false;
381 private String description;
382 private String matchCheck;
383 private String billName;
384 private String paymentStatus;
385 private String paymentMethod;
386 private BigDecimal paymentAmount;
387 private boolean billAvailability = false;
388 private String billAlertMessage;
389 private String dateAlertMessage;
390 private boolean claimsReturned = false;
391 private boolean copyRequest = false;
392 private boolean patronRequest = false;
393 private String copyCheck;
394 private Integer maxTimeForCheckInDate;
395 private Integer checkInDateMaxTime;
396
397
398
399 private boolean overrideRenewal;
400 private List<OleLoanDocument> renewDueDateList;
401 private boolean renewDueDateFlag = false;
402 private boolean renewalFlag = false;
403 private boolean overrideRenewItemFlag = false;
404 private String checkInNote;
405
406 private String loginUser;
407
408 private boolean blockPatron;
409 private boolean blockItem;
410 private String roleName;
411 private boolean renewPermission = true;
412 private boolean proxyDisplay;
413 private boolean holdSlip = false;
414
415 public String getRoleName() {
416 return roleName;
417 }
418
419 public void setRoleName(String roleName) {
420 this.roleName = roleName;
421 }
422
423 public boolean isBlockPatron() {
424 return blockPatron;
425 }
426
427 public void setBlockPatron(boolean blockPatron) {
428 this.blockPatron = blockPatron;
429 }
430
431 public boolean isBlockItem() {
432 return blockItem;
433 }
434
435 public void setBlockItem(boolean blockItem) {
436 this.blockItem = blockItem;
437 }
438
439 public OleLoanDocument getBackUpDummyLoan() {
440 return backUpDummyLoan;
441 }
442
443 public void setBackUpDummyLoan(OleLoanDocument backUpDummyLoan) {
444 this.backUpDummyLoan = backUpDummyLoan;
445 }
446
447 public List<OlePatronDocument> getCurrentPatronList() {
448 return currentPatronList;
449 }
450
451 public void setCurrentPatronList(List<OlePatronDocument> currentPatronList) {
452 this.currentPatronList = currentPatronList;
453 }
454
455 public boolean isNonCirculatingFlag() {
456 return nonCirculatingFlag;
457 }
458
459 public void setNonCirculatingFlag(boolean nonCirculatingFlag) {
460 this.nonCirculatingFlag = nonCirculatingFlag;
461 }
462
463 public String getPatronFirstName() {
464 return patronFirstName;
465 }
466
467 public void setPatronFirstName(String patronFirstName) {
468 this.patronFirstName = patronFirstName;
469 }
470
471 public String getFastAddUrl() {
472 return fastAddUrl;
473 }
474
475 public void setFastAddUrl(String fastAddUrl) {
476 this.fastAddUrl = fastAddUrl;
477 }
478
479 public String getCheckInNote() {
480 return checkInNote;
481 }
482
483 public void setCheckInNote(String checkInNote) {
484 this.checkInNote = checkInNote;
485 }
486
487 public String getReturnItemUuid() {
488 return returnItemUuid;
489 }
490
491 public void setReturnItemUuid(String returnItemUuid) {
492 this.returnItemUuid = returnItemUuid;
493 }
494
495 public String getReturnInstanceUuid() {
496 return returnInstanceUuid;
497 }
498
499 public void setReturnInstanceUuid(String returnInstanceUuid) {
500 this.returnInstanceUuid = returnInstanceUuid;
501 }
502
503 public boolean isPatronFocus() {
504 return patronFocus;
505 }
506
507 public void setPatronFocus(boolean patronFocus) {
508 this.patronFocus = patronFocus;
509 }
510
511 public boolean isItemFocus() {
512 return itemFocus;
513 }
514
515 public void setItemFocus(boolean itemFocus) {
516 this.itemFocus = itemFocus;
517 }
518
519 public boolean isBackGroundCheckIn() {
520 return backGroundCheckIn;
521 }
522
523 public void setBackGroundCheckIn(boolean backGroundCheckIn) {
524 this.backGroundCheckIn = backGroundCheckIn;
525 }
526
527 public boolean isRenewalFlag() {
528 return renewalFlag;
529 }
530
531 public void setRenewalFlag(boolean renewalFlag) {
532 this.renewalFlag = renewalFlag;
533 }
534
535 public boolean isOverrideRenewItemFlag() {
536 return overrideRenewItemFlag;
537 }
538
539 public void setOverrideRenewItemFlag(boolean overrideRenewItemFlag) {
540 this.overrideRenewItemFlag = overrideRenewItemFlag;
541 }
542
543 public boolean isFastAddItemIndicator() {
544 return fastAddItemIndicator;
545 }
546
547 public void setFastAddItemIndicator(boolean fastAddItemIndicator) {
548 this.fastAddItemIndicator = fastAddItemIndicator;
549 }
550
551 public List<OleLoanDocument> getRenewDueDateList() {
552 return renewDueDateList;
553 }
554
555 public void setRenewDueDateList(List<OleLoanDocument> renewDueDateList) {
556 this.renewDueDateList = renewDueDateList;
557 }
558
559 public boolean isRenewDueDateFlag() {
560 return renewDueDateFlag;
561 }
562
563 public void setRenewDueDateFlag(boolean renewDueDateFlag) {
564 this.renewDueDateFlag = renewDueDateFlag;
565 }
566
567 public boolean isOverrideRenewal() {
568 return overrideRenewal;
569 }
570
571 public void setOverrideRenewal(boolean overrideRenewal) {
572 this.overrideRenewal = overrideRenewal;
573 }
574
575 public String getMaxTimeForCheckOutConstant() {
576 return maxTimeForCheckOutConstant;
577 }
578
579 public void setMaxTimeForCheckOutConstant(String maxTimeForCheckOutConstant) {
580 this.maxTimeForCheckOutConstant = maxTimeForCheckOutConstant;
581 }
582
583 public Integer getCheckInDateMaxTime() {
584 return checkInDateMaxTime;
585 }
586
587 public void setCheckInDateMaxTime(Integer checkInDateMaxTime) {
588 this.checkInDateMaxTime = checkInDateMaxTime;
589 }
590
591 public Integer getMaxTimeForCheckInDate() {
592 return maxTimeForCheckInDate;
593 }
594
595 public void setMaxTimeForCheckInDate(Integer maxTimeForCheckInDate) {
596 this.maxTimeForCheckInDate = maxTimeForCheckInDate;
597 }
598
599 private String previousCirculationDesk;
600
601
602 public boolean isSelfCheckOut() {
603 return selfCheckOut;
604 }
605
606 public void setSelfCheckOut(boolean selfCheckOut) {
607 this.selfCheckOut = selfCheckOut;
608 }
609
610 public String getPreviousCirculationDesk() {
611 return previousCirculationDesk;
612 }
613
614 public void setPreviousCirculationDesk(String previousCirculationDesk) {
615 this.previousCirculationDesk = previousCirculationDesk;
616 }
617
618 public boolean isDueDateSlip() {
619 return dueDateSlip;
620 }
621
622 public void setDueDateSlip(boolean dueDateSlip) {
623 this.dueDateSlip = dueDateSlip;
624 }
625
626 private boolean checkInNoteExists = false;
627
628 public String getOleFormKey() {
629 return oleFormKey;
630 }
631
632 public void setOleFormKey(String oleFormKey) {
633 this.oleFormKey = oleFormKey;
634 }
635
636 public int getMaxSessionTime() {
637 return maxSessionTime;
638 }
639
640 public void setMaxSessionTime(int maxSessionTime) {
641 this.maxSessionTime = maxSessionTime;
642 }
643
644 public boolean isAddressVerified() {
645 return addressVerified;
646 }
647
648 public void setAddressVerified(boolean addressVerified) {
649 this.addressVerified = addressVerified;
650 }
651
652 public String getCopyCheck() {
653 return copyCheck;
654 }
655
656 public void setCopyCheck(String copyCheck) {
657 this.copyCheck = copyCheck;
658 }
659
660 public boolean isCopyRequest() {
661 return copyRequest;
662 }
663
664 public void setCopyRequest(boolean copyRequest) {
665 this.copyRequest = copyRequest;
666 }
667
668 public boolean isClaimsReturned() {
669 return claimsReturned;
670 }
671
672 public void setClaimsReturned(boolean claimsReturned) {
673 this.claimsReturned = claimsReturned;
674 }
675
676 public String getRealPatronName() {
677 return realPatronName;
678 }
679
680 public void setRealPatronName(String realPatronName) {
681 this.realPatronName = realPatronName;
682 }
683
684 public boolean isBlockLoan() {
685 return blockLoan;
686 }
687
688 public void setBlockLoan(boolean blockLoan) {
689 this.blockLoan = blockLoan;
690 }
691
692 public String getBillAlertMessage() {
693 return billAlertMessage;
694 }
695
696 public void setBillAlertMessage(String billAlertMessage) {
697 this.billAlertMessage = billAlertMessage;
698 }
699
700 public String getDateAlertMessage() {
701 return dateAlertMessage;
702 }
703
704 public void setDateAlertMessage(String dateAlertMessage) {
705 this.dateAlertMessage = dateAlertMessage;
706 }
707
708 public boolean isBillAvailability() {
709 return billAvailability;
710 }
711
712 public void setBillAvailability(boolean billAvailability) {
713 this.billAvailability = billAvailability;
714 }
715
716 public String getPaymentMethod() {
717 return paymentMethod;
718 }
719
720 public void setPaymentMethod(String paymentMethod) {
721 this.paymentMethod = paymentMethod;
722 }
723
724 public BigDecimal getPaymentAmount() {
725 return paymentAmount;
726 }
727
728 public void setPaymentAmount(BigDecimal paymentAmount) {
729 this.paymentAmount = paymentAmount;
730 }
731
732 public String getPaymentStatus() {
733 return paymentStatus;
734 }
735
736 public void setPaymentStatus(String paymentStatus) {
737 this.paymentStatus = paymentStatus;
738 }
739
740 public String getBillName() {
741 return billName;
742 }
743
744 public void setBillName(String billName) {
745 this.billName = billName;
746 }
747
748
749 public String getMatchCheck() {
750 return matchCheck;
751 }
752
753 public boolean isChangeLocationFlag() {
754 return changeLocationFlag;
755 }
756
757 public void setChangeLocationFlag(boolean changeLocationFlag) {
758 this.changeLocationFlag = changeLocationFlag;
759 }
760
761 public String getConfirmMessage() {
762 return confirmMessage;
763 }
764
765 public void setConfirmMessage(String confirmMessage) {
766 this.confirmMessage = confirmMessage;
767 }
768
769 public String getCirculationDesk() {
770 return circulationDesk;
771 }
772
773 public void setCirculationDesk(String circulationDesk) {
774 this.circulationDesk = circulationDesk;
775 }
776
777 public void setMatchCheck(String matchCheck) {
778 this.matchCheck = matchCheck;
779 }
780
781 public String getDescription() {
782 return description;
783 }
784
785 public void setDescription(String description) {
786 this.description = description;
787 }
788
789
790 public boolean isNumberOfPieces() {
791 return numberOfPieces;
792 }
793
794 public void setNumberOfPieces(boolean numberOfPieces) {
795 this.numberOfPieces = numberOfPieces;
796 }
797
798 public String getRealPatronType() {
799 return realPatronType;
800 }
801
802 public void setRealPatronType(String realPatronType) {
803 this.realPatronType = realPatronType;
804 }
805
806 public String getProxyPatronId() {
807 return proxyPatronId;
808 }
809
810 public void setProxyPatronId(String proxyPatronId) {
811 this.proxyPatronId = proxyPatronId;
812 }
813
814 public String getRealPatronBarcode() {
815 return realPatronBarcode;
816 }
817
818 public void setRealPatronBarcode(String realPatronBarcode) {
819 this.realPatronBarcode = realPatronBarcode;
820 }
821
822 public boolean isRealPatronFlag() {
823 return realPatronFlag;
824 }
825
826 public void setRealPatronFlag(boolean realPatronFlag) {
827 this.realPatronFlag = realPatronFlag;
828 }
829
830 public List<OlePatronDocument> getRealPatronList() {
831 return realPatronList;
832 }
833
834 public void setRealPatronList(List<OlePatronDocument> realPatronList) {
835 this.realPatronList = realPatronList;
836 }
837
838 public String getPatronNoteTypeId() {
839 return patronNoteTypeId;
840 }
841
842 public void setPatronNoteTypeId(String patronNoteTypeId) {
843 this.patronNoteTypeId = patronNoteTypeId;
844 }
845
846 public String getPatronUserNote() {
847 return patronUserNote;
848 }
849
850 public void setPatronUserNote(String patronUserNote) {
851 this.patronUserNote = patronUserNote;
852 }
853
854 public boolean isPatronNoteFlag() {
855 return patronNoteFlag;
856 }
857
858 public void setPatronNoteFlag(boolean patronNoteFlag) {
859 this.patronNoteFlag = patronNoteFlag;
860 }
861
862 public OleLoanFastAdd getOleLoanFastAdd() {
863 return oleLoanFastAdd;
864 }
865
866 public void setOleLoanFastAdd(OleLoanFastAdd oleLoanFastAdd) {
867 this.oleLoanFastAdd = oleLoanFastAdd;
868 }
869
870
871
872 private boolean billPaymentOption = true;
873 private boolean damagedCheckInOption;
874 private Date checkInDate;
875 private String checkInItem;
876 private boolean returnCheck;
877 private Date currentDate;
878
879
880 public Date getCurrentDate() {
881 return currentDate;
882 }
883
884 public void setCurrentDate(Date currentDate) {
885 this.currentDate = currentDate;
886 }
887
888 public Date getCheckInDate() {
889 return checkInDate;
890 }
891
892 public void setCheckInDate(Date checkInDate) {
893 this.checkInDate = checkInDate;
894 }
895
896 public String getCheckInItem() {
897 return checkInItem;
898 }
899
900 public void setCheckInItem(String checkInItem) {
901 this.checkInItem = checkInItem;
902 }
903
904 public boolean isDamagedCheckInOption() {
905 return damagedCheckInOption;
906 }
907
908 public void setDamagedCheckInOption(boolean damagedCheckInOption) {
909 this.damagedCheckInOption = damagedCheckInOption;
910 }
911
912 public boolean isBillPaymentOption() {
913 return billPaymentOption;
914 }
915
916 public void setBillPaymentOption(boolean billPaymentOption) {
917 this.billPaymentOption = billPaymentOption;
918 }
919
920 public String getAuthor() {
921 return author;
922 }
923
924 public void setAuthor(String author) {
925 this.author = author;
926 }
927
928 public String getOverrideLoginMessage() {
929 return overrideLoginMessage;
930 }
931
932 public void setOverrideLoginMessage(String overrideLoginMessage) {
933 this.overrideLoginMessage = overrideLoginMessage;
934 }
935
936
937 public String getPreferredAddress() {
938 return preferredAddress;
939 }
940
941 public void setPreferredAddress(String preferredAddress) {
942 this.preferredAddress = preferredAddress;
943 }
944
945 public String getEmail() {
946 return email;
947 }
948
949 public void setEmail(String email) {
950 this.email = email;
951 }
952
953 public String getPhoneNumber() {
954 return phoneNumber;
955 }
956
957 public void setPhoneNumber(String phoneNumber) {
958 this.phoneNumber = phoneNumber;
959 }
960
961 public String getNewPrincipalId() {
962 if (this.newPrincipalId != null && this.newPrincipalId.contains(",")) {
963 return newPrincipalId.replaceAll(",", "");
964 }
965 return newPrincipalId;
966 }
967
968 public void setNewPrincipalId(String newPrincipalId) {
969 this.newPrincipalId = newPrincipalId;
970 }
971
972 public String getOverideMethodCall() {
973 return overideMethodCall;
974 }
975
976 public void setOverideMethodCall(String overideMethodCall) {
977 this.overideMethodCall = overideMethodCall;
978 }
979
980 public boolean isOverrideFlag() {
981 return overrideFlag;
982 }
983
984 public void setOverrideFlag(boolean overrideFlag) {
985 this.overrideFlag = overrideFlag;
986 }
987
988 public String getOldPrincipalId() {
989 return oldPrincipalId;
990 }
991
992 public void setOldPrincipalId(String oldPrincipalId) {
993 this.oldPrincipalId = oldPrincipalId;
994 }
995
996 public String getClaimsReturnNote() {
997 return claimsReturnNote;
998 }
999
1000 public void setClaimsReturnNote(String claimsReturnNote) {
1001 this.claimsReturnNote = claimsReturnNote;
1002 }
1003
1004 public boolean isClaimsReturnFlag() {
1005 return claimsReturnFlag;
1006 }
1007
1008 public void setClaimsReturnFlag(boolean claimsReturnFlag) {
1009 this.claimsReturnFlag = claimsReturnFlag;
1010 }
1011
1012
1013 public boolean isAlterDueDateFlag() {
1014 return alterDueDateFlag;
1015 }
1016
1017 public void setAlterDueDateFlag(boolean alterDueDateFlag) {
1018 this.alterDueDateFlag = alterDueDateFlag;
1019 }
1020
1021 public List<OleLoanDocument> getAlterDueDateList() {
1022 return alterDueDateList;
1023 }
1024
1025 public void setAlterDueDateList(List<OleLoanDocument> alterDueDateList) {
1026 this.alterDueDateList = alterDueDateList;
1027 }
1028
1029 public String getInstanceUuid() {
1030 return instanceUuid;
1031 }
1032
1033 public void setInstanceUuid(String instanceUuid) {
1034 this.instanceUuid = instanceUuid;
1035 }
1036
1037 public String getSuccessInfo() {
1038 return successInfo;
1039 }
1040
1041 public void setSuccessInfo(String successInfo) {
1042 this.successInfo = successInfo;
1043 }
1044
1045 public String getInformation() {
1046 return information;
1047 }
1048
1049 public void setInformation(String information) {
1050 this.information = information;
1051 }
1052
1053 public Date getDueDateMap() {
1054 return dueDateMap;
1055 }
1056
1057 public void setDueDateMap(Date dueDateMap) {
1058 this.dueDateMap = dueDateMap;
1059 }
1060
1061 public Date getPopDateMap() {
1062 return popDateMap;
1063 }
1064
1065 public void setPopDateMap(Date popDateMap) {
1066 this.popDateMap = popDateMap;
1067 }
1068
1069
1070 public boolean isDueDateEmpty() {
1071 return dueDateEmpty;
1072 }
1073
1074 public void setDueDateEmpty(boolean dueDateEmpty) {
1075 this.dueDateEmpty = dueDateEmpty;
1076 }
1077
1078 public OleLoanDocument getDummyLoan() {
1079 return dummyLoan;
1080 }
1081
1082 public void setDummyLoan(OleLoanDocument dummyLoan) {
1083 this.dummyLoan = dummyLoan;
1084 }
1085
1086 public String getItemUuid() {
1087 return itemUuid;
1088 }
1089
1090 public void setItemUuid(String itemUuid) {
1091 this.itemUuid = itemUuid;
1092 }
1093
1094 public Item getOleItem() {
1095 return oleItem;
1096 }
1097
1098 public void setOleItem(Item oleItem) {
1099 this.oleItem = oleItem;
1100 }
1101
1102 public String getBorrowerTypeId() {
1103 return borrowerTypeId;
1104 }
1105
1106 public void setBorrowerTypeId(String borrowerTypeId) {
1107 this.borrowerTypeId = borrowerTypeId;
1108 }
1109
1110 public String getPatronId() {
1111 return patronId;
1112 }
1113
1114 public void setPatronId(String patronId) {
1115 this.patronId = patronId;
1116 }
1117
1118 public String getMessage() {
1119 return message;
1120 }
1121
1122 public void setMessage(String message) {
1123 this.message = message;
1124 }
1125
1126 public OleLoanForm() {
1127 loanList = new ArrayList<OleLoanDocument>();
1128 }
1129
1130
1131 public List<OleLoanDocument> getLoanList() {
1132 return loanList;
1133 }
1134
1135 public void setLoanList(List<OleLoanDocument> loanList) {
1136 this.loanList = loanList;
1137 }
1138
1139 public void setOleLoanDocumentToLoanList(OleLoanDocument oleLoanDocument) {
1140 if (this.loanList == null)
1141 this.loanList = new ArrayList<OleLoanDocument>(0);
1142 this.loanList.add(oleLoanDocument);
1143 }
1144
1145 public String getItem() {
1146 return item;
1147 }
1148
1149 public void setItem(String item) {
1150 this.item = item;
1151 }
1152
1153 public String getPatronName() {
1154 return patronName;
1155 }
1156
1157 public void setPatronName(String patronName) {
1158 this.patronName = patronName;
1159 }
1160
1161 public String getBorrowerType() {
1162 return borrowerType;
1163 }
1164
1165 public void setBorrowerType(String borrowerType) {
1166 this.borrowerType = borrowerType;
1167 }
1168
1169 public String getPatronBarcode() {
1170 return patronBarcode;
1171 }
1172
1173 public void setPatronBarcode(String patronBarcode) {
1174 this.patronBarcode = patronBarcode;
1175 }
1176
1177 public boolean isSuccess() {
1178 return success;
1179 }
1180
1181 public void setSuccess(boolean success) {
1182 this.success = success;
1183 }
1184
1185 public List<OleLoanDocument> getExistingLoanList() {
1186 return existingLoanList;
1187 }
1188
1189 public void setExistingLoanList(List<OleLoanDocument> existingLoanList) {
1190 this.existingLoanList = existingLoanList;
1191 }
1192
1193 public boolean isReturnSuccess() {
1194 return returnSuccess;
1195 }
1196
1197 public void setReturnSuccess(boolean returnSuccess) {
1198 this.returnSuccess = returnSuccess;
1199 }
1200
1201 public String getReturnMessage() {
1202 return returnMessage;
1203 }
1204
1205 public void setReturnMessage(String returnMessage) {
1206 this.returnMessage = returnMessage;
1207 }
1208
1209 public boolean isReturnCheck() {
1210 return returnCheck;
1211 }
1212
1213 public void setReturnCheck(boolean returnCheck) {
1214 this.returnCheck = returnCheck;
1215 }
1216
1217 public String getReturnInformation() {
1218 return returnInformation;
1219 }
1220
1221 public void setReturnInformation(String returnInformation) {
1222 this.returnInformation = returnInformation;
1223 }
1224
1225 public List<OleLoanDocument> getItemReturnList() {
1226 return itemReturnList;
1227 }
1228
1229 public void setItemReturnList(List<OleLoanDocument> itemReturnList) {
1230 this.itemReturnList = itemReturnList;
1231 }
1232
1233
1234
1235
1236
1237
1238 public boolean isCheckInNoteExists() {
1239 return checkInNoteExists;
1240 }
1241
1242
1243
1244
1245
1246
1247 public void setCheckInNoteExists(boolean checkInNoteExists) {
1248 this.checkInNoteExists = checkInNoteExists;
1249 }
1250
1251 public boolean isClearUI() {
1252 return isClearUI;
1253 }
1254
1255 public void setClearUI(boolean clearUI) {
1256 isClearUI = clearUI;
1257 }
1258
1259 public String getRouteToLocation() {
1260 return routeToLocation;
1261 }
1262
1263 public void setRouteToLocation(String routeToLocation) {
1264 this.routeToLocation = routeToLocation;
1265 }
1266
1267
1268
1269
1270
1271
1272 public String getAlterDueDateTimeInfo() {
1273 return alterDueDateTimeInfo;
1274 }
1275
1276
1277
1278
1279
1280
1281 public void setAlterDueDateTimeInfo(String alterDueDateTimeInfo) {
1282 this.alterDueDateTimeInfo = alterDueDateTimeInfo;
1283 }
1284
1285
1286
1287
1288
1289
1290 public boolean isLoanLoginMessage() {
1291 return loanLoginMessage;
1292 }
1293
1294
1295
1296
1297
1298
1299 public void setLoanLoginMessage(boolean loanLoginMessage) {
1300 this.loanLoginMessage = loanLoginMessage;
1301 }
1302
1303
1304
1305
1306
1307
1308 public String getPopDateTime() {
1309 return popDateTime;
1310 }
1311
1312
1313
1314
1315
1316
1317 public void setPopDateTime(String popDateTime) {
1318 this.popDateTime = popDateTime;
1319 }
1320
1321
1322
1323
1324
1325
1326 public String getPopDateTimeInfo() {
1327 return popDateTimeInfo;
1328 }
1329
1330
1331
1332
1333
1334
1335 public void setPopDateTimeInfo(String popDateTimeInfo) {
1336 this.popDateTimeInfo = popDateTimeInfo;
1337 }
1338
1339
1340
1341
1342
1343
1344 public String getLoanLoginUserInfo() {
1345 return loanLoginUserInfo;
1346 }
1347
1348
1349
1350
1351
1352
1353 public void setLoanLoginUserInfo(String loanLoginUserInfo) {
1354 this.loanLoginUserInfo = loanLoginUserInfo;
1355 }
1356
1357 public String getLoginUser() {
1358 return loginUser;
1359 }
1360
1361 public void setLoginUser(String loginUser) {
1362 this.loginUser = loginUser;
1363 }
1364
1365 public boolean isPatronRequest() {
1366 return patronRequest;
1367 }
1368
1369 public void setPatronRequest(boolean patronRequest) {
1370 this.patronRequest = patronRequest;
1371 }
1372
1373 public String getOverrideErrorMessage() {
1374 return overrideErrorMessage;
1375 }
1376
1377 public void setOverrideErrorMessage(String overrideErrorMessage) {
1378 this.overrideErrorMessage = overrideErrorMessage;
1379 }
1380
1381 public HashMap<String, String> getErrorsAndPermission() {
1382 return errorsAndPermission;
1383 }
1384
1385 public void setErrorsAndPermission(HashMap<String, String> errorsAndPermission) {
1386 this.errorsAndPermission = errorsAndPermission;
1387 }
1388
1389 public boolean isRenewPermission() {
1390 return renewPermission;
1391 }
1392
1393 public void setRenewPermission(boolean renewPermission) {
1394 this.renewPermission = renewPermission;
1395 }
1396
1397 public boolean isBlockUser() {
1398 return blockUser;
1399 }
1400
1401 public void setBlockUser(boolean blockUser) {
1402 this.blockUser = blockUser;
1403 }
1404
1405 public boolean isItemDamagedStatus() {
1406 return itemDamagedStatus;
1407 }
1408
1409 public void setItemDamagedStatus(boolean itemDamagedStatus) {
1410 this.itemDamagedStatus = itemDamagedStatus;
1411 }
1412
1413 public boolean isSkipDamagedCheckIn() {
1414 return skipDamagedCheckIn;
1415 }
1416
1417 public void setSkipDamagedCheckIn(boolean skipDamagedCheckIn) {
1418 this.skipDamagedCheckIn = skipDamagedCheckIn;
1419 }
1420
1421 public String getMissingPieceCount() {
1422 return missingPieceCount;
1423 }
1424
1425 public void setMissingPieceCount(String missingPieceCount) {
1426 this.missingPieceCount = missingPieceCount;
1427 }
1428
1429 public String getErrorMessage() {
1430 return errorMessage;
1431 }
1432
1433 public void setErrorMessage(String errorMessage) {
1434 this.errorMessage = errorMessage;
1435 }
1436
1437 public boolean isMissingPieceValidationSuccess() {
1438 return missingPieceValidationSuccess;
1439 }
1440
1441 public void setMissingPieceValidationSuccess(boolean missingPieceValidationSuccess) {
1442 this.missingPieceValidationSuccess = missingPieceValidationSuccess;
1443 }
1444
1445 public boolean isInTransit() {
1446 return inTransit;
1447 }
1448
1449 public void setInTransit(boolean inTransit) {
1450 this.inTransit = inTransit;
1451 }
1452
1453 public boolean isProxyDisplay() {
1454 return proxyDisplay;
1455 }
1456
1457 public void setProxyDisplay(boolean proxyDisplay) {
1458 this.proxyDisplay = proxyDisplay;
1459 }
1460
1461 public String getMissingPieceMessage() {
1462 return missingPieceMessage;
1463 }
1464
1465 public void setMissingPieceMessage(String missingPieceMessage) {
1466 this.missingPieceMessage = missingPieceMessage;
1467 }
1468
1469 public boolean isMissingPieceDialog() {
1470 return missingPieceDialog;
1471 }
1472
1473 public void setMissingPieceDialog(boolean missingPieceDialog) {
1474 this.missingPieceDialog = missingPieceDialog;
1475 }
1476
1477 public boolean isDamagedItemDialog() {
1478 return damagedItemDialog;
1479 }
1480
1481 public void setDamagedItemDialog(boolean damagedItemDialog) {
1482 this.damagedItemDialog = damagedItemDialog;
1483 }
1484
1485 public String getDialogText() {
1486 return dialogText;
1487 }
1488
1489 public void setDialogText(String dialogText) {
1490 this.dialogText = dialogText;
1491 }
1492
1493 public boolean isDialogFlag() {
1494 return dialogFlag;
1495 }
1496
1497 public void setDialogFlag(boolean dialogFlag) {
1498 this.dialogFlag = dialogFlag;
1499 }
1500
1501 public String getDialogMissingPieceCount() {
1502 return dialogMissingPieceCount;
1503 }
1504
1505 public void setDialogMissingPieceCount(String dialogMissingPieceCount) {
1506 this.dialogMissingPieceCount = dialogMissingPieceCount;
1507 }
1508
1509 public String getDialogItemNoOfPieces() {
1510 return dialogItemNoOfPieces;
1511 }
1512
1513 public void setDialogItemNoOfPieces(String dialogItemNoOfPieces) {
1514 this.dialogItemNoOfPieces = dialogItemNoOfPieces;
1515 }
1516
1517 public OleLoanDocument getMissingPieceLoanDocument() {
1518 return missingPieceLoanDocument;
1519 }
1520
1521 public void setMissingPieceLoanDocument(OleLoanDocument missingPieceLoanDocument) {
1522 this.missingPieceLoanDocument = missingPieceLoanDocument;
1523 }
1524
1525 public boolean isDialogMissingPieceCountReadOnly() {
1526 return dialogMissingPieceCountReadOnly;
1527 }
1528
1529 public void setDialogMissingPieceCountReadOnly(boolean dialogMissingPieceCountReadOnly) {
1530 this.dialogMissingPieceCountReadOnly = dialogMissingPieceCountReadOnly;
1531 }
1532
1533 public boolean isDialogItemNoOfPiecesReadOnly() {
1534 return dialogItemNoOfPiecesReadOnly;
1535 }
1536
1537 public void setDialogItemNoOfPiecesReadOnly(boolean dialogItemNoOfPiecesReadOnly) {
1538 this.dialogItemNoOfPiecesReadOnly = dialogItemNoOfPiecesReadOnly;
1539 }
1540
1541 public String getDialogErrorMessage() {
1542 return dialogErrorMessage;
1543 }
1544
1545 public void setDialogErrorMessage(String dialogErrorMessage) {
1546 this.dialogErrorMessage = dialogErrorMessage;
1547 }
1548
1549 public boolean isRemoveMissingPieceButton() {
1550 return removeMissingPieceButton;
1551 }
1552
1553 public void setRemoveMissingPieceButton(boolean removeMissingPieceButton) {
1554 this.removeMissingPieceButton = removeMissingPieceButton;
1555 }
1556
1557 public String getRealPatronId() {
1558 return realPatronId;
1559 }
1560
1561 public void setRealPatronId(String realPatronId) {
1562 this.realPatronId = realPatronId;
1563 }
1564
1565 public boolean isRemoveMissingPieceFlag() {
1566 return removeMissingPieceFlag;
1567 }
1568
1569 public void setRemoveMissingPieceFlag(boolean removeMissingPieceFlag) {
1570 this.removeMissingPieceFlag = removeMissingPieceFlag;
1571 }
1572
1573 public boolean isRecordDamagedItemNote() {
1574 return recordDamagedItemNote;
1575 }
1576
1577 public void setRecordDamagedItemNote(boolean recordDamagedItemNote) {
1578 this.recordDamagedItemNote = recordDamagedItemNote;
1579 }
1580
1581 public boolean isRecordMissingPieceNote() {
1582 return recordMissingPieceNote;
1583 }
1584
1585 public void setRecordMissingPieceNote(boolean recordMissingPieceNote) {
1586 this.recordMissingPieceNote = recordMissingPieceNote;
1587 }
1588
1589 public boolean isDisplayRecordNotePopup() {
1590 return displayRecordNotePopup;
1591 }
1592
1593 public void setDisplayRecordNotePopup(boolean displayRecordNotePopup) {
1594 this.displayRecordNotePopup = displayRecordNotePopup;
1595 }
1596
1597 public boolean isCheckoutRecordFlag() {
1598 return checkoutRecordFlag;
1599 }
1600
1601 public void setCheckoutRecordFlag(boolean checkoutRecordFlag) {
1602 this.checkoutRecordFlag = checkoutRecordFlag;
1603 }
1604
1605 public String getCheckoutRecordMessage() {
1606 return checkoutRecordMessage;
1607 }
1608
1609 public void setCheckoutRecordMessage(String checkoutRecordMessage) {
1610 this.checkoutRecordMessage = checkoutRecordMessage;
1611 }
1612
1613 public boolean isSkipMissingPieceRecordPopup() {
1614 return skipMissingPieceRecordPopup;
1615 }
1616
1617 public void setSkipMissingPieceRecordPopup(boolean skipMissingPieceRecordPopup) {
1618 this.skipMissingPieceRecordPopup = skipMissingPieceRecordPopup;
1619 }
1620
1621 public boolean isSkipDamagedRecordPopup() {
1622 return skipDamagedRecordPopup;
1623 }
1624
1625 public void setSkipDamagedRecordPopup(boolean skipDamagedRecordPopup) {
1626 this.skipDamagedRecordPopup = skipDamagedRecordPopup;
1627 }
1628
1629 public boolean isRecordCheckoutMissingPieceNote() {
1630 return recordCheckoutMissingPieceNote;
1631 }
1632
1633 public void setRecordCheckoutMissingPieceNote(boolean recordCheckoutMissingPieceNote) {
1634 this.recordCheckoutMissingPieceNote = recordCheckoutMissingPieceNote;
1635 }
1636
1637 public boolean isDisplayMissingPieceNotePopup() {
1638 return displayMissingPieceNotePopup;
1639 }
1640
1641 public void setDisplayMissingPieceNotePopup(boolean displayMissingPieceNotePopup) {
1642 this.displayMissingPieceNotePopup = displayMissingPieceNotePopup;
1643 }
1644
1645 public boolean isCheckoutMissingPieceRecordFlag() {
1646 return checkoutMissingPieceRecordFlag;
1647 }
1648
1649 public void setCheckoutMissingPieceRecordFlag(boolean checkoutMissingPieceRecordFlag) {
1650 this.checkoutMissingPieceRecordFlag = checkoutMissingPieceRecordFlag;
1651 }
1652
1653 public boolean isDisplayDamagedRecordNotePopup() {
1654 return displayDamagedRecordNotePopup;
1655 }
1656
1657 public void setDisplayDamagedRecordNotePopup(boolean displayDamagedRecordNotePopup) {
1658 this.displayDamagedRecordNotePopup = displayDamagedRecordNotePopup;
1659 }
1660
1661 public boolean isCheckoutDamagedRecordFlag() {
1662 return checkoutDamagedRecordFlag;
1663 }
1664
1665 public void setCheckoutDamagedRecordFlag(boolean checkoutDamagedRecordFlag) {
1666 this.checkoutDamagedRecordFlag = checkoutDamagedRecordFlag;
1667 }
1668
1669 public boolean isTempClaimsFlag() {
1670 return tempClaimsFlag;
1671 }
1672
1673 public void setTempClaimsFlag(boolean tempClaimsFlag) {
1674 this.tempClaimsFlag = tempClaimsFlag;
1675 }
1676
1677 public boolean isSendMissingPieceMail() {
1678 return sendMissingPieceMail;
1679 }
1680
1681 public void setSendMissingPieceMail(boolean sendMissingPieceMail) {
1682 this.sendMissingPieceMail = sendMissingPieceMail;
1683 }
1684
1685 public boolean isHoldSlip() {
1686 return holdSlip;
1687 }
1688
1689 public void setHoldSlip(boolean holdSlip) {
1690 this.holdSlip = holdSlip;
1691 }
1692
1693 public String getMissingPieceNote() {
1694 return missingPieceNote;
1695 }
1696
1697 public void setMissingPieceNote(String missingPieceNote) {
1698 this.missingPieceNote = missingPieceNote;
1699 }
1700
1701 public String getSuccessMessage() {
1702 return successMessage;
1703 }
1704
1705 public void setSuccessMessage(String successMessage) {
1706 this.successMessage = successMessage;
1707 }
1708
1709 public boolean isRemoveItemDamagedButton() {
1710 return removeItemDamagedButton;
1711 }
1712
1713 public void setRemoveItemDamagedButton(boolean removeItemDamagedButton) {
1714 this.removeItemDamagedButton = removeItemDamagedButton;
1715 }
1716 }
1717