1 package org.kuali.asr;
2
3 import org.omg.CORBA.PUBLIC_MEMBER;
4
5
6
7
8
9
10
11
12 public class ASRConstants {
13
14
15 public static final String ITEM_NOT_FOUND="error.no.item";
16 public static final String HAVING_HOLD="We could not place the hold. You already have a hold on this item";
17 public static final String CHECKED_IN="We could not place the hold. You already have this item checked out";
18 public static final String NO_CIRCULATION="We could not place the hold. This item may not be available for circulation. Please contact your library for assistance";
19 public static final String EXCEED_NO_OF_HOLD="We could not place the hold. You have exceeded the limit for the number of holds per user.";
20 public static final String CARD_BLOCKED="We could not place the hold. Your library card may be blocked. Please contact your library for assistance";
21 public static final String HOLD_PLACED="Your hold has been placed";
22 public static final String PATRON_NOT_FOUND="error.no.patron";
23 public static final String OPERATOR_NOT_FOUND="error.no.operator";
24 public static final String ITEM_STATUS_NOT_UPDATED="error.no.item.status.update";
25 public static final String REQUEST_NOT_FOUND="error.no.request.found";
26 public static final String REQUEST_CANCELED="request.cancelled";
27 public static final String REQUEST_NOT_FOUND_FOR_HOLD_ID="error.request.id.not.found";
28 public static final String REQUEST_STATUS_UPDATION_FAILED="Request Status updation is failed for request id:";
29 public static final String REQUEST_STATUS_UPDATED="Request Status successfully updated for request id:";
30 public static final String ASR_LIBRARY_NOT_FOUND="ASR Library is not found";
31 public static final String ITEM_DELETED="item.deleted.message";
32 public static final String NOT_ASR_ITEM="error.no.asr.item";
33 public static final String ITEM_STATUS_UPDATED="item.status.updated";
34 public static final String ITEM_NOT_IN_TRANSIT="error.item.not.transit";
35 public static final String LOCATION_MISMATCH="error.invalid.transit.location";
36 public static final String ACCESS_FORBIDDEN="Access Forbidden";
37 public static final String INVALID_PKUP_LOCN ="error.invalid.pickup.location";
38 public static final String SUCESS_REQUEST_MESG = "item.requested.message";
39 public static final String FAILURE_REQUEST_MESG = "internal.server.error";
40 public static final String SUCESS_ITEM_MESG = "item.add.message";
41 public static final String EXCEPTION = "method.failure";
42 public static final String STATUS_NOT_MATCH = "error.status.mismatch";
43
44
45
46 public static final String ITEM_NOT_FOUND_CODE="007";
47 public static final String HAVING_HOLD_CODE="002";
48 public static final String CHECKED_IN_CODE="003";
49 public static final String NO_CIRCULATION_CODE="004";
50 public static final String EXCEED_NO_OF_HOLD_CODE="005";
51 public static final String CARD_BLOCKED_CODE="006";
52 public static final String HOLD_PLACED_CODE="001";
53 public static final String PATRON_NOT_FOUND_CODE="008";
54 public static final String OPERATOR_NOT_FOUND_CODE="009";
55 public static final String ITEM_STATUS_NOT_UPDATED_CODE="010";
56 public static final String REQUEST_NOT_FOUND_CODE="011";
57 public static final String REQUEST_CANCELED_CODE="012";
58 public static final String REQUEST_NOT_FOUND_FOR_HOLD_ID_CODE="013";
59 public static final String REQUEST_STATUS_UPDATION_FAILED_CODE="014";
60 public static final String REQUEST_STATUS_UPDATED_CODE="015";
61 public static final String ASR_LIBRARY_NOT_FOUND_CODE="016";
62 public static final String ITEM_DELETED_CODE="017";
63 public static final String NOT_ASR_ITEM_CODE="018";
64 public static final String ITEM_STATUS_UPDATED_CODE="000";
65 public static final String ITEM_NOT_IN_TRANSIT_CODE="002";
66 public static final String LOCATION_MISMATCH_CODE="003";
67 public static final String ACCESS_FORBIDDEN_CODE="";
68 public static final String INVALID_PKUP_LOCN_CD ="019";
69 public static final String SUCESS_REQUEST_CD = "000";
70 public static final String EXCEPTION_CODE = "020";
71 public static final String STATUS_NOT_MATCH_CODE = "021";
72
73
74 public static final int ITEM_NOT_FOUND_STATUS=404;
75 public static final int HAVING_HOLD_STATUS=400;
76 public static final int CHECKED_IN_STATUS=400;
77 public static final int NO_CIRCULATION_STATUS=400;
78 public static final int EXCEED_NO_OF_HOLD_STATUS=400;
79 public static final int CARD_BLOCKED_STATUS=400;
80 public static final int HOLD_PLACED_STATUS=200;
81 public static final int PATRON_NOT_FOUND_STATUS=400;
82 public static final int OPERATOR_NOT_FOUND_STATUS=400;
83 public static final int ITEM_STATUS_NOT_UPDATED_STATUS=400;
84 public static final int REQUEST_NOT_FOUND_STATUS=400;
85 public static final int REQUEST_CANCELED_STATUS=200;
86 public static final int REQUEST_NOT_FOUND_FOR_HOLD_ID_STATUS=404;
87 public static final int REQUEST_STATUS_UPDATION_FAILED_STATUS=400;
88 public static final int REQUEST_STATUS_UPDATED_STATUS=400;
89 public static final int ASR_LIBRARY_NOT_FOUND_STATUS=400;
90 public static final int ITEM_DELETED_STATUS=200;
91 public static final int NOT_ASR_ITEM_STATUS=204;
92 public static final int ITEM_STATUS_UPDATED_STATUS=200;
93 public static final int ITEM_NOT_IN_TRANSIT_STATUS=400;
94 public static final int LOCATION_MISMATCH_STATUS=400;
95 public static final int ACCESS_FORBIDDEN_STATUS=403;
96 public static final int INVALID_PKUP_LOCN_STAT =400;
97 public static final int SUCCESS_STATUS=200;
98 public static final int FAILURE_STATUS=500;
99 public static final int EXCEPTION_STATUS=420;
100 public static final int STATUS_NOT_MATCH_STATUS=420;
101
102
103 public static final String ITEM_BARCODE_DISPLAY="ItemBarcode_display";
104 public static final String LOCATION_LEVEL_DISPLAY="Location_display";
105 public static final String REQUEST_RAISED="Request raised succesfully";
106 public static final String HOLD="HOLD";
107 public static final String INTRANSIT_FOR_HOLD="INTRANSIT-FOR-HOLD";
108 public static final String ON_HOLD="ONHOLD";
109 public static final String IN_TRANSIT="INTRANSIT";
110 public static final String AVAILABLE="AVAILABLE";
111 public static final String ASR_TYP_RQST="ASR_REQUEST_TYPE";
112 public static final String ITEM_AVAILABLE="csa";
113 public static final String ITEM_MISSING="csn";
114 public static final String ITEM_RETRIVED="csp";
115 public static final String ASR_ITEM_AVAILABLE="ASR_ITEM_AVAILABLE";
116 public static final String ASR_ITEM_MISSING="ASR_ITEM_MISSING";
117 public static final String ASR_ITEM_RETRIVED="ASR_ITEM_RETRIVED";
118 public static final String ASR_REQUEST_IN_PROCESS="3";
119 public static final String ASR_REQUEST_FAILURE="5";
120 public static final String ASR_REQUEST_ITEM_STATUS="ASR_REQUEST_ITEM_STATUS";
121 public static final String ITEM_STATUS_UPDATED_HOLD="item.status.updated.to.hold";
122
123
124
125 }