View Javadoc

1   package org.kuali.ole;
2   
3   /**
4    * Created with IntelliJ IDEA.
5    * User: ?
6    * Date: 7/24/12
7    * Time: 2:28 PM
8    * To change this template use File | Settings | File Templates.
9    */
10  public class OleSRUConstants {
11  
12     //SRU request parameter names
13  
14      public static final String OPERATION_TYPE = "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  
26    //SRU request parameters constants
27  
28      public static final String SEARCH_RETRIEVE = "searchRetrieve";
29      public static final String EXPLAIN = "explain";
30      public static final String MAXRECORD = "maximum.record.size";
31      public static final String STARTRECORD="minimum.record.size";
32      public static final String RECORD_PACK_XML="xml";
33      public static final String RECORD_PACK_STRING="string";
34      public static final String DC_RECORD_SCHEMA="dc";
35      public static final String DUBLIN_RECORD_SCHEMA="dublin";
36      public static final String TITLE_SORT_KEYS="title";
37  
38    //Extra Request Data Constants
39      public static final String EXTRA_REQ_DATA_KEY="extraReqDataKey";
40      public static final String EXTRA_REQ_DATA_VALUE="extraReqDataValue";
41      public static final String EXTRA_REQ_DATA_XML_NAMESPACE="extra.req.data.xml.namespace";
42    //Diagnostics message constants
43  
44      public static final String SERVER_DIAGNOSTIC_MSG="server.diagnostic.message";
45      public static final String NORECORDS_DIAGNOSTIC_MSG="norecords.diagnostic.message";
46      public static final String INVALID_QUERY_DIAGNOSTIC_MSG="invalid.query.diagnostic.message";
47      public static final String OPERATION_REQUIRED_FIELD_DIAGNOSTIC_MSG="operation.required.field.diagnostic.message";
48      public static final String VERSION_REQUIRED_FIELD_DIAGNOSTIC_MSG="version.required.field.diagnostic.message";
49      public static final String QUERY_REQUIRED_FIELD_DIAGNOSTIC_MSG="query.required.field.diagnostic.message";
50      public static final String INVALID_OPERATION_TYPE="invalid.operation.type";
51      public static final String INVALID_RECORD_PACKING="invalid.record.packing";
52      public static final String INVALID_RECORD_SCHEMA="invalid.record.schema";
53  
54  
55    //Explain operation
56  
57      public static final String EXPLAIN_RECORD_SCHEMA="explain.record.schema";
58      public static final String EXPLAIN_SERVER_DATABASE_INFO="explain.server.database.info";
59      public static final String EXPLAIN_SERVER_HOST="explain.server.host";
60      public static final String EXPLAIN_SERVER_METHOD="explain.server.method";
61      public static final String EXPLAIN_SERVER_PORT="explain.server.port";
62      public static final String EXPLAIN_SERVER_PROTOCOL="explain.server.protocol";
63      public static final String EXPLAIN_SERVER_TRANSPORT="explain.server.transport";
64      public static final String EXPLAIN_SERVER_VERSION="explain.server.version";
65      public static final String EXPLAIN_DATABASE_LANG="explain.database.lang";
66      public static final String EXPLAIN_DATABASE_PRIMARY="explain.database.primary";
67      public static final String EXPLAIN_INDEX_SET_NAME="explain.index.set.name";
68      public static final String EXPLAIN_INDEX_SET_IDENTIFIER="explain.index.set.identifier";
69      public static final String EXPLAIN_INDEX_MAP_NAME_SET="explain.index.map.name.set";
70      public static final String EXPLAIN_INDEX_MAP_NAME_VALUE="explain.index.map.name.value";
71      public static final String EXPLAIN_SCHEMA_TITLE="explain.schema.title";
72      public static final String EXPLAIN_SCHEMA_NAME="explain.schema.name";
73      public static final String EXPLAIN_SCHEMA_IDENTIFIER="explain.schema.identifier";
74  
75  
76  
77  
78  }