View Javadoc
1   package org.kuali.ole.constants;
2   
3   /**
4    * Created by chenchulakshmig on 8/27/15.
5    */
6   public class OLESIP2Constants {
7   
8       public static final String NON_ROMAN_REGEX="[^\\w\\s\\-_,:\\(\\)\\[\\]\\/\\!]";
9       public static final String SIP2_DATE_FORMAT = "yyyyMMdd    HHmmss";
10      public static final String SPLIT = "|";
11  
12      //SIP Version
13      public static final String SIP_VERSION = "2.00";
14      //YES or NO
15      public static final String Y="Y";
16      public static final String N="N";
17  
18      public static final String TIME_OUT_PERIOD="600";
19      public static final String RETRIES_ALLOWED="010";
20      public static final String ACS_SCREEN_MSG="System is Available";
21  
22      //SIP2 Codes
23      public static final String PATRON_IDENTIFIER_CODE="AA";
24      public static final String ITEM_IDENTIFIER_CODE="AB";
25      public static final String TERMINAL_PWD_CODE="AC";
26      public static final String PATRON_PWD_CODE="AD";
27      public static final String PERSONAL_NAME_CODE="AE";
28      public static final String SCREEN_MSG_CODE="AF";
29      public static final String PRINT_LINE_CODE="AG";
30      public static final String DUE_DATE_CODE="AH";
31      public static final String TITLE_IDENTIFIER_CODE="AJ";
32      public static final String BLOCKED_CARD_MSG="AL";
33      public static final String LIBRARY_NAME_CODE="AN";
34      public static final String TERMINAL_LOCATION_CODE="AM";
35      public static final String INSTITUTION_ID_CODE="AO";
36      public static final String CURRENT_LOCATION_CODE="AP";
37      public static final String PERMANENT_LOCATION_CODE="AQ";
38      public static final String HOLE_ITEMS_CODE="AS";
39      public static final String OVERDUE_ITEMS_CODE="AT";
40      public static final String CHARGED_ITEMS_CODE="AU";
41      public static final String FINE_ITEMS_CODE="AV";
42      public static final String SEQUENCE_NUM_CODE="AY";
43      public static final String CHECKSUM_CODE="AZ";
44      public static final String HOME_ADDRESS_CODE="BD";
45      public static final String EMAIL_ADDRESS_CODE="BE";
46      public static final String HOME_PHONE_NUM_CODE="BF";
47      public static final String OWNER_CODE="BG";
48      public static final String CURRENCY_TYPE_CODE="BH";
49      public static final String CANCEL_CODE="BI";
50      public static final String TRANSACTION_ID_CODE="BK";
51      public static final String VALID_PATRON_CODE="BL";
52      public static final String RENEWED_ITEMS_CODE="BM";
53      public static final String UN_RENEWED_ITEMS_CODE="BN";
54      public static final String FEE_ACKNOWLEDGED_CODE="BO";
55      public static final String START_ITEM_CODE="BP";
56      public static final String END_ITEM_CODE="BQ";
57      public static final String QUEUE_POSITION_CODE="BR";
58      public static final String PICKUP_LOCATION_CODE="BS";
59      public static final String FEE_TYPE_CODE="BT";
60      public static final String RECALL_ITEMS_CODE="BU";
61      public static final String FEE_AMOUNT_CODE="BV";
62      public static final String EXPIRATION_DATE_CODE="BW";
63      public static final String SUPPORTED_MSG_CODE="BX";
64      public static final String HOLD_TYPE_CODE="BY";
65      public static final String HOLD_ITEMS_LIMIT_CODE="BZ";
66      public static final String OVERDUE_ITEMS_LIMIT_CODE="CA";
67      public static final String CHARGED_ITEMS_LIMIT_CODE="CB";
68      public static final String FEE_LIMIT_CODE="CC";
69      public static final String UN_AVA_HOLD_ITEMS_CODE="CD";
70      public static final String HOLD_QUEUE_LENGTH_CODE="CF";
71      public static final String FEE_IDENTIFIER_CODE="CG";
72      public static final String ITEM_PROPERTIES_CODE="CH";
73      public static final String SECURITY_INHIBIT_CODE="CI";
74      public static final String RECALL_DATE_CODE="CJ";
75      public static final String MEDIA_TYPE_CODE="CK";
76      public static final String SORT_BIN_CODE="CL";
77      public static final String HOLD_PICKUP_DATE_CODE="CM";
78      public static final String LOGIN_USER_ID_CODE="CN";
79      public static final String LOGIN_PWD_ID_CODE="CO";
80      public static final String LOCATION_CODE_SIP="CP";
81      public static final String VALID_PATRON_PWD="CQ";
82  
83      //SIP2 Request Code
84      public static final String PATRON_STATUS_REQUEST="23";
85      public static final String CHECKOUT_REQUEST="11";
86      public static final String CHECK_IN_REQUEST="09";
87      public static final String BLOCK_PATRON_REQUEST="01";
88      public static final String SC_STATUS_REQUEST="99";
89      public static final String ACS_REQUEST="97";
90      public static final String LOGIN_REQUEST="93";
91      public static final String PATRON_INFORMATION_REQUEST="63";
92      public static final String END_PATRON_SESSION_REQUEST="35";
93      public static final String FEE_PAID_REQUEST="37";
94      public static final String ITEM_INFORMATION_REQUEST="17";
95      public static final String ITEM_STATUS_UPDATE_REQUEST="19";
96      public static final String PATRON_ENABLE_REQUEST="25";
97      public static final String HOLD_REQUEST="15";
98      public static final String RENEW_REQUEST="29";
99      public static final String RENEW_ALL_REQUEST="65";
100 
101     //SIP2 Response Code
102     public static final String PATRON_STATUS_RESPONSE="24";
103     public static final String CHECKOUT_RESPONSE="12";
104     public static final String CHECK_IN_RESPONSE="10";
105     public static final String ACS_STATUS_RESPONSE="98";
106     public static final String SC_RESEND_RESPONSE="96";
107     public static final String LOGIN_RESPONSE="94";
108     public static final String PATRON_INFORMATION_RESPONSE="64";
109     public static final String END_PATRON_SESSION_RESPONSE="36";
110     public static final String FEE_PAID_RESPONSE="38";
111     public static final String ITEM_INFORMATION_RESPONSE="18";
112     public static final String ITEM_STATUS_UPDATE_RESPONSE="20";
113     public static final String PATRON_ENABLE_RESPONSE="26";
114     public static final String HOLD_RESPONSE="16";
115     public static final String RENEW_RESPONSE="30";
116     public static final String RENEW_ALL_RESPONSE="66";
117 
118     public static final String CHECK_IN_SUCCESS="SuccessFully Checked-in";
119     public static final String RENEW_SUCCESS="Item successFully renewed";
120     public static final String CHECK_OUT_SUCCESS="Successfully loaned";
121     public static final String CHECK_OUT_SUCCESSFULLY="Item Successfully loaned";
122     public static final String CHECK_OUT_FAILED="Item cannot be loaned : any query see help desk";
123     public static final String PATRON_SESSION_END="Patron Session Ended Successfully";
124     public static final String FEE_PAID="Successfully Paid the Amount";
125     public static final String SERVICE_ERROR="Cannot Able to process this service";
126     public static final String REQUEST_RAISED="Request Raised Succesfully";
127     public static final String SUCCESSFULLY="Succesfully";
128     public static final String SERVICE_UNAVAILABLE="Update Hold Request Service Currently Not Available in OLE";
129     public static final String ITEM_UNAVAILABLE="Item is Not Available";
130     public static final String ITEM_SERVICE_NOT_SUPPORTED="Item Status Update Service - Not supported in OLE";
131     public static final String PATRON_ENABLED="Patron Enabled successfully";
132     public static final String YES="YES";
133     public static final String ONHOLD="ONHOLD";
134     public static final String REQUEST_PROCESSED="Requested process completed successfully.";
135 
136 
137     public static final String AUTHOR="Author";
138 
139 }