org.apache.xindice.server.rpc
Class RPCDefaultMessage
java.lang.Object
org.apache.xindice.server.rpc.RPCDefaultMessage
- All Implemented Interfaces:
- RPCMessage
- Direct Known Subclasses:
- CreateCollection, CreateIndexer, CreateNewOID, GetApiVersion, GetCollectionConfiguration, GetCollectionCount, GetCollectionMeta, GetDocumentCount, GetDocumentMeta, GetIndexerConfiguration, GetResource, GetServerVersion, InsertResource, ListCollections, ListDocuments, ListIndexers, Query, RemoveCollection, RemoveDocument, RemoveIndexer, SetCollectionMeta, SetDocument, SetDocumentMeta, Shutdown, UpdateIndexer
- public abstract class RPCDefaultMessage
- extends java.lang.Object
- implements RPCMessage
Base class for all XML-RPC messages.
- Version:
- CVS $Revision: 1.14 $, $Date: 2004/02/19 03:05:15 $
- Author:
- Kimbro Staken, Vadim Gritsenko
|
Method Summary |
protected Collection |
getCollection(java.lang.String name)
Retrieves a Collection instance based on the path provided in name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
API_NAME
public static final java.lang.String API_NAME
- See Also:
- Constant Field Values
API_VERSION
public static final java.lang.String API_VERSION
- See Also:
- Constant Field Values
RESULT
public static final java.lang.String RESULT
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
COLLECTION
public static final java.lang.String COLLECTION
- See Also:
- Constant Field Values
DOCUMENT
public static final java.lang.String DOCUMENT
- See Also:
- Constant Field Values
COMPRESSED
public static final java.lang.String COMPRESSED
- See Also:
- Constant Field Values
TIMESTAMP
public static final java.lang.String TIMESTAMP
- See Also:
- Constant Field Values
PATTERN
public static final java.lang.String PATTERN
- See Also:
- Constant Field Values
MAXKEYSIZE
public static final java.lang.String MAXKEYSIZE
- See Also:
- Constant Field Values
PAGESIZE
public static final java.lang.String PAGESIZE
- See Also:
- Constant Field Values
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
QUERY
public static final java.lang.String QUERY
- See Also:
- Constant Field Values
NAMESPACES
public static final java.lang.String NAMESPACES
- See Also:
- Constant Field Values
CONFIGURATION
public static final java.lang.String CONFIGURATION
- See Also:
- Constant Field Values
META
public static final java.lang.String META
- See Also:
- Constant Field Values
MISSING_COLLECTION_PARAM
public static final java.lang.String MISSING_COLLECTION_PARAM
- See Also:
- Constant Field Values
MISSING_NAME_PARAM
public static final java.lang.String MISSING_NAME_PARAM
- See Also:
- Constant Field Values
MISSING_DOCUMENT_PARAM
public static final java.lang.String MISSING_DOCUMENT_PARAM
- See Also:
- Constant Field Values
MISSING_PATTERN_PARAM
public static final java.lang.String MISSING_PATTERN_PARAM
- See Also:
- Constant Field Values
MISSING_TYPE_PARAM
public static final java.lang.String MISSING_TYPE_PARAM
- See Also:
- Constant Field Values
MISSING_QUERY_PARAM
public static final java.lang.String MISSING_QUERY_PARAM
- See Also:
- Constant Field Values
MISSING_TIMESTAMP_PARAM
public static final java.lang.String MISSING_TIMESTAMP_PARAM
- See Also:
- Constant Field Values
MISSING_CONFIGURATION_PARAM
public static final java.lang.String MISSING_CONFIGURATION_PARAM
- See Also:
- Constant Field Values
MISSING_META_CONFIGURATION
public static final java.lang.String MISSING_META_CONFIGURATION
- See Also:
- Constant Field Values
MISSING_META_PARAM
public static final java.lang.String MISSING_META_PARAM
- See Also:
- Constant Field Values
RPCDefaultMessage
public RPCDefaultMessage()
getCollection
protected Collection getCollection(java.lang.String name)
throws org.apache.xmlrpc.XmlRpcException,
org.xmldb.api.base.XMLDBException,
DBException
- Retrieves a Collection instance based on the path provided in name.
- Parameters:
name - The collection to retrieve
- Returns:
- The Collection value
- Throws:
org.apache.xmlrpc.XmlRpcException
org.xmldb.api.base.XMLDBException
DBException
Copyright (c) 1999-2004 The Apache Software Foundation. All Rights Reserved.