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