org.apache.oodt.cas.catalog.server.channel.xmlrpc
Class XmlRpcCommunicationChannelServer

java.lang.Object
  extended by org.apache.oodt.cas.catalog.server.channel.AbstractCommunicationChannelServer
      extended by org.apache.oodt.cas.catalog.server.channel.xmlrpc.XmlRpcCommunicationChannelServer
All Implemented Interfaces:
CommunicationChannelServer

public class XmlRpcCommunicationChannelServer
extends AbstractCommunicationChannelServer

Version:
$Revision$

A Communication Channel Server over XML-RPC

Author:
bfoster

Field Summary
 
Fields inherited from class org.apache.oodt.cas.catalog.server.channel.AbstractCommunicationChannelServer
catalogService, port, serializer
 
Constructor Summary
XmlRpcCommunicationChannelServer()
           
 
Method Summary
 void startup()
           
 boolean xmlrpc_addCatalog(String catalogObject)
           
 boolean xmlrpc_addCatalog(String catalogId, String indexObject)
           
 boolean xmlrpc_addCatalog(String catalogId, String indexObject, String dictionariesObject)
           
 boolean xmlrpc_addCatalog(String catalogId, String indexObject, String dictionariesObject, String restrictQueryPermissionObject, String restrictIngestPermissionObject)
           
 boolean xmlrpc_addDictionary(String catalogId, String dictionaryObject)
           
 boolean xmlrpc_addPluginUrls(String pluginUrlsObject)
           
 boolean xmlrpc_delete(String metadataObject)
           
 String xmlrpc_getAllPages(String queryPagerObject)
           
 String xmlrpc_getCalalogProperties()
           
 String xmlrpc_getCalalogProperties(String catalogUrn)
           
 String xmlrpc_getCatalogServiceTransactionId(String catalogTransactionIdObject, String catalogUrn)
           
 String xmlrpc_getCatalogServiceTransactionId2(String catalogReceiptObject, String generateNewObject)
           
 String xmlrpc_getCatalogServiceTransactionIds(String catalogTransactionIdsObject, String catalogUrn)
           
 String xmlrpc_getCurrentCatalogIds()
           
 String xmlrpc_getMetadata(String pageObject)
           
 String xmlrpc_getMetadataFromTransactionIds(String catalogServiceTransactionIdsObject)
           
 String xmlrpc_getMetadataFromTransactionIdStrings(String catalogServiceTransactionIdStringsObject)
           
 String xmlrpc_getNextPage(String queryPagerObject)
           
 String xmlrpc_getNextPage2(String pageObject)
           
 String xmlrpc_getPage(String pageInfoObject, String queryExpressionObject)
           
 String xmlrpc_getPage(String pageInfoObject, String queryExpressionObject, String catalogIdsObject)
           
 String xmlrpc_getPluginStorageDir()
           
 String xmlrpc_getPluginUrls()
           
 String xmlrpc_getProperty(String key)
           
 String xmlrpc_ingest(String metadataObject)
           
 String xmlrpc_isRestrictIngestPermissions()
           
 String xmlrpc_isRestrictQueryPermissions()
           
 boolean xmlrpc_modifyIngestPermission(String catalogId, String restrictIngestPermissionObject)
           
 boolean xmlrpc_modifyQueryPermission(String catalogId, String restrictQueryPermissionObject)
           
 String xmlrpc_query(String queryExpressionObject)
           
 String xmlrpc_query(String queryExpressionObject, String catalogIdsObject)
           
 boolean xmlrpc_removeCatalog(String catalogUrn)
           
 boolean xmlrpc_replaceCatalog(String catalogObject)
           
 boolean xmlrpc_replaceDictionaries(String catalogId, String dictionariesObject)
           
 boolean xmlrpc_replaceIndex(String catalogId, String indexObject)
           
 boolean xmlrpc_shutdown()
           
 boolean xmlrpc_transferFile(String filePath, byte[] fileData, int offset, int numBytes)
           
 
Methods inherited from class org.apache.oodt.cas.catalog.server.channel.AbstractCommunicationChannelServer
addCatalog, addCatalog, addCatalog, addCatalog, addDictionary, addPluginUrls, delete, getAllPages, getCalalogProperties, getCalalogProperties, getCatalogServiceTransactionId, getCatalogServiceTransactionId, getCatalogServiceTransactionIds, getCurrentCatalogIds, getMetadata, getMetadataFromTransactionIds, getMetadataFromTransactionIdStrings, getNextPage, getNextPage, getPage, getPage, getPluginStorageDir, getPluginUrls, getPort, getProperty, ingest, isRestrictIngestPermissions, isRestrictQueryPermissions, modifyIngestPermission, modifyQueryPermission, query, query, removeCatalog, replaceCatalog, replaceDictionaries, replaceIndex, setCatalogService, setPort, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlRpcCommunicationChannelServer

public XmlRpcCommunicationChannelServer()
Method Detail

startup

public void startup()
             throws Exception
Throws:
Exception

xmlrpc_shutdown

public boolean xmlrpc_shutdown()
                        throws Exception
Throws:
Exception

xmlrpc_addCatalog

public boolean xmlrpc_addCatalog(String catalogObject)
                          throws Exception
Throws:
Exception

xmlrpc_replaceCatalog

public boolean xmlrpc_replaceCatalog(String catalogObject)
                              throws Exception
Throws:
Exception

xmlrpc_addCatalog

public boolean xmlrpc_addCatalog(String catalogId,
                                 String indexObject)
                          throws Exception
Throws:
Exception

xmlrpc_addCatalog

public boolean xmlrpc_addCatalog(String catalogId,
                                 String indexObject,
                                 String dictionariesObject)
                          throws Exception
Throws:
Exception

xmlrpc_addCatalog

public boolean xmlrpc_addCatalog(String catalogId,
                                 String indexObject,
                                 String dictionariesObject,
                                 String restrictQueryPermissionObject,
                                 String restrictIngestPermissionObject)
                          throws Exception
Throws:
Exception

xmlrpc_addDictionary

public boolean xmlrpc_addDictionary(String catalogId,
                                    String dictionaryObject)
                             throws Exception
Throws:
Exception

xmlrpc_replaceDictionaries

public boolean xmlrpc_replaceDictionaries(String catalogId,
                                          String dictionariesObject)
                                   throws Exception
Throws:
Exception

xmlrpc_replaceIndex

public boolean xmlrpc_replaceIndex(String catalogId,
                                   String indexObject)
                            throws Exception
Throws:
Exception

xmlrpc_modifyIngestPermission

public boolean xmlrpc_modifyIngestPermission(String catalogId,
                                             String restrictIngestPermissionObject)
                                      throws Exception
Throws:
Exception

xmlrpc_modifyQueryPermission

public boolean xmlrpc_modifyQueryPermission(String catalogId,
                                            String restrictQueryPermissionObject)
                                     throws Exception
Throws:
Exception

xmlrpc_delete

public boolean xmlrpc_delete(String metadataObject)
                      throws Exception
Throws:
Exception

xmlrpc_getPluginUrls

public String xmlrpc_getPluginUrls()
                            throws Exception
Throws:
Exception

xmlrpc_addPluginUrls

public boolean xmlrpc_addPluginUrls(String pluginUrlsObject)
                             throws Exception
Throws:
Exception

xmlrpc_getPluginStorageDir

public String xmlrpc_getPluginStorageDir()
                                  throws Exception
Throws:
Exception

xmlrpc_transferFile

public boolean xmlrpc_transferFile(String filePath,
                                   byte[] fileData,
                                   int offset,
                                   int numBytes)
                            throws Exception
Throws:
Exception

xmlrpc_getAllPages

public String xmlrpc_getAllPages(String queryPagerObject)
                          throws Exception
Throws:
Exception

xmlrpc_getCalalogProperties

public String xmlrpc_getCalalogProperties()
                                   throws Exception
Throws:
Exception

xmlrpc_getCalalogProperties

public String xmlrpc_getCalalogProperties(String catalogUrn)
                                   throws Exception
Throws:
Exception

xmlrpc_getCatalogServiceTransactionId

public String xmlrpc_getCatalogServiceTransactionId(String catalogTransactionIdObject,
                                                    String catalogUrn)
                                             throws Exception
Throws:
Exception

xmlrpc_getCatalogServiceTransactionId2

public String xmlrpc_getCatalogServiceTransactionId2(String catalogReceiptObject,
                                                     String generateNewObject)
                                              throws Exception
Throws:
Exception

xmlrpc_getCatalogServiceTransactionIds

public String xmlrpc_getCatalogServiceTransactionIds(String catalogTransactionIdsObject,
                                                     String catalogUrn)
                                              throws Exception
Throws:
Exception

xmlrpc_getCurrentCatalogIds

public String xmlrpc_getCurrentCatalogIds()
                                   throws Exception
Throws:
Exception

xmlrpc_getMetadataFromTransactionIdStrings

public String xmlrpc_getMetadataFromTransactionIdStrings(String catalogServiceTransactionIdStringsObject)
                                                  throws Exception
Throws:
Exception

xmlrpc_getMetadataFromTransactionIds

public String xmlrpc_getMetadataFromTransactionIds(String catalogServiceTransactionIdsObject)
                                            throws Exception
Throws:
Exception

xmlrpc_getNextPage

public String xmlrpc_getNextPage(String queryPagerObject)
                          throws Exception
Throws:
Exception

xmlrpc_getProperty

public String xmlrpc_getProperty(String key)
                          throws Exception
Throws:
Exception

xmlrpc_ingest

public String xmlrpc_ingest(String metadataObject)
                     throws Exception
Throws:
Exception

xmlrpc_isRestrictIngestPermissions

public String xmlrpc_isRestrictIngestPermissions()
                                          throws Exception
Throws:
Exception

xmlrpc_isRestrictQueryPermissions

public String xmlrpc_isRestrictQueryPermissions()
                                         throws Exception
Throws:
Exception

xmlrpc_query

public String xmlrpc_query(String queryExpressionObject)
                    throws Exception
Throws:
Exception

xmlrpc_query

public String xmlrpc_query(String queryExpressionObject,
                           String catalogIdsObject)
                    throws Exception
Throws:
Exception

xmlrpc_getNextPage2

public String xmlrpc_getNextPage2(String pageObject)
                           throws Exception
Throws:
Exception

xmlrpc_getPage

public String xmlrpc_getPage(String pageInfoObject,
                             String queryExpressionObject)
                      throws Exception
Throws:
Exception

xmlrpc_getPage

public String xmlrpc_getPage(String pageInfoObject,
                             String queryExpressionObject,
                             String catalogIdsObject)
                      throws Exception
Throws:
Exception

xmlrpc_getMetadata

public String xmlrpc_getMetadata(String pageObject)
                          throws Exception
Throws:
Exception

xmlrpc_removeCatalog

public boolean xmlrpc_removeCatalog(String catalogUrn)
                             throws Exception
Throws:
Exception


Copyright © 1999-2013
Apache OODT. All Rights Reserved.