1 package org.kuali.ole;
2
3
4
5
6
7
8
9
10 public class OleSRUConstants {
11
12
13
14 public static final String OperationType = "operation";
15 public static final String VERSION = "version";
16 public static final String QUERY = "query";
17 public static final String START_RECORD = "startRecord";
18 public static final String MAXIMUM_RECORDS = "maximumRecords";
19 public static final String RECORD_PACKING = "recordPacking";
20 public static final String STYLE_SHEET = "stylesheet";
21 public static final String RECORD_SCHEMA = "recordSchema";
22 public static final String SORTKEYS = "sortKeys";
23 public static final String RECORD_XPATH = "recordXPath";
24 public static final String RESULTSET_TTL = "resultSetTTL";
25 public static final String SRU_VERSION="1.2";
26 public static final String SRU_STAFF_ONLY_FLAG = "false";
27
28
29
30 public static final String SEARCH_RETRIEVE = "searchRetrieve";
31 public static final String EXPLAIN = "explain";
32 public static final String MAXRECORD = "maximum.record.size";
33 public static final String STARTRECORD = "minimum.record.size";
34 public static final String RECORD_PACK_XML = "xml";
35 public static final String RECORD_PACK_STRING = "string";
36 public static final String DC_RECORD_SCHEMA = "dc";
37 public static final String DUBLIN_RECORD_SCHEMA = "dublin";
38 public static final String TITLE_SORT_KEYS = "title";
39 public static final String MARC_RECORD_SCHEMA = "marcxml";
40
41
42 public static final String EXTRA_REQ_DATA_KEY = "extraReqDataKey";
43 public static final String EXTRA_REQ_DATA_VALUE = "extraReqDataValue";
44 public static final String EXTRA_REQ_DATA_XML_NAMESPACE = "extra.req.data.xml.namespace";
45
46
47 public static final String SERVER_DIAGNOSTIC_MSG = "server.diagnostic.message";
48 public static final String NORECORDS_DIAGNOSTIC_MSG = "norecords.diagnostic.message";
49 public static final String INVALID_QUERY_DIAGNOSTIC_MSG = "invalid.query.diagnostic.message";
50 public static final String OPERATION_REQUIRED_FIELD_DIAGNOSTIC_MSG = "operation.required.field.diagnostic.message";
51 public static final String VERSION_REQUIRED_FIELD_DIAGNOSTIC_MSG = "version.required.field.diagnostic.message";
52 public static final String QUERY_REQUIRED_FIELD_DIAGNOSTIC_MSG = "query.required.field.diagnostic.message";
53 public static final String INVALID_OperationType = "invalid.operation.type";
54 public static final String INVALID_RECORD_PACKING = "invalid.record.packing";
55 public static final String INVALID_RECORD_SCHEMA = "invalid.record.schema";
56 public static final String START_RECORD_UNMATCH = "start.record.unMatch";
57
58
59
60
61 public static final String EXPLAIN_RECORD_SCHEMA = "explain.record.schema";
62 public static final String EXPLAIN_SERVER_DATABASE_INFO = "explain.server.database.info";
63 public static final String EXPLAIN_SERVER_HOST = "explain.server.host";
64 public static final String EXPLAIN_SERVER_METHOD = "explain.server.method";
65 public static final String EXPLAIN_SERVER_PORT = "explain.server.port";
66 public static final String EXPLAIN_SERVER_PROTOCOL = "explain.server.protocol";
67 public static final String EXPLAIN_SERVER_TRANSPORT = "explain.server.transport";
68 public static final String EXPLAIN_SERVER_VERSION = "explain.server.version";
69 public static final String EXPLAIN_DATABASE_LANG = "explain.database.lang";
70 public static final String EXPLAIN_DATABASE_PRIMARY = "explain.database.primary";
71 public static final String EXPLAIN_INDEX_SET_NAME = "explain.index.set.name";
72 public static final String EXPLAIN_INDEX_SET_IDENTIFIER = "explain.index.set.identifier";
73 public static final String EXPLAIN_INDEX_MAP_NAME_SET = "explain.index.map.name.set";
74 public static final String EXPLAIN_INDEX_MAP_NAME_VALUE = "explain.index.map.name.value";
75 public static final String EXPLAIN_SCHEMA_TITLE = "explain.schema.title";
76 public static final String EXPLAIN_SCHEMA_NAME = "explain.schema.name";
77 public static final String EXPLAIN_SCHEMA_IDENTIFIER = "explain.schema.identifier";
78
79
80 public static final String INVALID_PARAM = "invalidParam";
81
82 public static final String MARC = "marc";
83
84 public static final String OPAC_RECORD = "OPAC";
85
86 public static final String UN_SUPPORTED_PARAM = "unSupported.parameter";
87 public static final String UN_SUPPORTED_PARAM_VALUE = "unSupported.parameter.value";
88 public static final String MANDATORY="mandatory.parameter.missing";
89 public static final String UNSUPPORT_VERSION="unSupport.version";
90 public static final String ITEM_STATUS_AVAILABLE = "AVAILABLE";
91 public static final String ITEM_STATUS_ONHOLD = "ONHOLD";
92
93 public static final String MARC_SCHEMA="marcxml";
94 public static final String DC_SCHEMA="dc";
95 public static final String MARC_RECORD_RESPONSE_SCHEMA = "info:srw/schema/1/marcxml-v1.1";
96 public static final String DC_RECORD_RESPONSE_SCHEMA="info:srw/schema/1/dc-v1.1";
97 public static final String OPAC_RECORD_RESPONSE_SCHEMA="info:srw/schema/1/opacxml-v1.0";
98 public static final String NUMBER_OF_REORDS="numberOfRecords";
99 public static final String BIBLIOGRAPHIC ="bibliographic";
100 public static final String TITLE_SEARCH ="Title_search";
101 public static final String AUTHOR_SEARCH ="Author_search";
102 public static final String PUBLISHER_SEARCH ="Publisher_search";
103 public static final String PUBLICATION_DATE_SEARCH ="PublicationDate_search";
104 public static final String ISBN_SEARCH ="ISBN_search";
105 public static final String ISSN_SEARCH ="ISSN_search";
106 public static final String LOCALID_SEARCH ="LocalId_search";
107 public static final String SUBJECT_SEARCH ="Subject_search";
108 public static final String TITLE="title";
109 public static final String AUTHOR="author";
110 public static final String PUBLISHER="publisher";
111 public static final String PUBLICATION_DATE="publicationDate";
112 public static final String PUB_DATE="date";
113 public static final String ISBN="isbn";
114 public static final String ISSN="issn";
115 public static final String LOCALID="id";
116 public static final String SUBJECT ="subject";
117 public static final String CHOICE = "keyword";
118 public static final String CS_TITLE="dc.title";
119 public static final String CS_AUTHOR="dc.creator";
120 public static final String CS_PUBLISHER="dc.publisher";
121 public static final String CS_PUBLICATION_DATE="dc.date";
122 public static final String CS_PUB_DATE="bib.dateIssued";
123 public static final String CS_ISBN="bath.isbn";
124 public static final String CS_ISSN="bath.issn";
125 public static final String CS_LOCALID="rec.id";
126 public static final String CS_SUBJECT ="dc.subject";
127 public static final String CS_CHOICE = "cql.serverChoice";
128 public static final String ALL_TEXT="all_text";
129 public static final String LOCAL_LOCATION="SRU_LOCAL_LOCATION_LEVEL";
130 public static final String SHELVING_LOCATION="SRU_SHELVING_LOCATION_LEVEL";
131 public static final String BOOLEAN_FIELD_TRUE_FORMAT = "BOOLEAN_FIELD_TRUE_FORMAT";
132 public static final String BOOLEAN_FIELD_FALSE_FORMAT = "BOOLEAN_FIELD_FALSE_FORMAT";
133
134
135 }