Xindice API
version 1.2m1

org.apache.xindice.server.rpc
Class RPCDefaultMessage

java.lang.Object
  extended byorg.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 Object
implements RPCMessage

Base class for all XML-RPC messages.

Version:
$Revision: 541508 $, $Date: 2007-05-24 21:54:12 -0400 (Thu, 24 May 2007) $
Author:
Kimbro Staken, Vadim Gritsenko

Field Summary
static String API_NAME
           
static String API_VERSION
           
static String COLLECTION
           
static String COMPRESSED
           
static String CONFIGURATION
           
static String DOCUMENT
           
static String MAXKEYSIZE
           
static String META
           
static String MISSING_COLLECTION_PARAM
           
static String MISSING_CONFIGURATION_PARAM
           
static String MISSING_DOCUMENT_PARAM
           
static String MISSING_META_CONFIGURATION
           
static String MISSING_META_PARAM
           
static String MISSING_NAME_PARAM
           
static String MISSING_PATTERN_PARAM
           
static String MISSING_QUERY_PARAM
           
static String MISSING_TIMESTAMP_PARAM
           
static String MISSING_TYPE_PARAM
           
static String NAME
           
static String NAMESPACES
           
static String PAGESIZE
           
static String PATTERN
           
static String QUERY
           
static String RESULT
           
static String TIMESTAMP
           
static String TYPE
           
 
Constructor Summary
RPCDefaultMessage()
           
 
Method Summary
protected  Collection getCollection(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
 
Methods inherited from interface org.apache.xindice.server.rpc.RPCMessage
execute
 

Field Detail

API_NAME

public static final String API_NAME
See Also:
Constant Field Values

API_VERSION

public static final String API_VERSION
See Also:
Constant Field Values

RESULT

public static final String RESULT
See Also:
Constant Field Values

NAME

public static final String NAME
See Also:
Constant Field Values

COLLECTION

public static final String COLLECTION
See Also:
Constant Field Values

DOCUMENT

public static final String DOCUMENT
See Also:
Constant Field Values

COMPRESSED

public static final String COMPRESSED
See Also:
Constant Field Values

TIMESTAMP

public static final String TIMESTAMP
See Also:
Constant Field Values

PATTERN

public static final String PATTERN
See Also:
Constant Field Values

MAXKEYSIZE

public static final String MAXKEYSIZE
See Also:
Constant Field Values

PAGESIZE

public static final String PAGESIZE
See Also:
Constant Field Values

TYPE

public static final String TYPE
See Also:
Constant Field Values

QUERY

public static final String QUERY
See Also:
Constant Field Values

NAMESPACES

public static final String NAMESPACES
See Also:
Constant Field Values

CONFIGURATION

public static final String CONFIGURATION
See Also:
Constant Field Values

META

public static final String META
See Also:
Constant Field Values

MISSING_COLLECTION_PARAM

public static final String MISSING_COLLECTION_PARAM
See Also:
Constant Field Values

MISSING_NAME_PARAM

public static final String MISSING_NAME_PARAM
See Also:
Constant Field Values

MISSING_DOCUMENT_PARAM

public static final String MISSING_DOCUMENT_PARAM
See Also:
Constant Field Values

MISSING_PATTERN_PARAM

public static final String MISSING_PATTERN_PARAM
See Also:
Constant Field Values

MISSING_TYPE_PARAM

public static final String MISSING_TYPE_PARAM
See Also:
Constant Field Values

MISSING_QUERY_PARAM

public static final String MISSING_QUERY_PARAM
See Also:
Constant Field Values

MISSING_TIMESTAMP_PARAM

public static final String MISSING_TIMESTAMP_PARAM
See Also:
Constant Field Values

MISSING_CONFIGURATION_PARAM

public static final String MISSING_CONFIGURATION_PARAM
See Also:
Constant Field Values

MISSING_META_CONFIGURATION

public static final String MISSING_META_CONFIGURATION
See Also:
Constant Field Values

MISSING_META_PARAM

public static final String MISSING_META_PARAM
See Also:
Constant Field Values
Constructor Detail

RPCDefaultMessage

public RPCDefaultMessage()
Method Detail

getCollection

protected Collection getCollection(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

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.