public class XmlRpcCommunicationChannelClient extends AbstractCommunicationChannelClient
A Communication Channel Client over XML-RPC
Modifier and Type | Field and Description |
---|---|
protected int |
chunkSize |
protected org.apache.xmlrpc.XmlRpcClient |
client |
serializer
Constructor and Description |
---|
XmlRpcCommunicationChannelClient(URL serverUrl,
int connectionTimeout,
int requestTimeout,
int chunkSize) |
protected org.apache.xmlrpc.XmlRpcClient client
protected int chunkSize
public XmlRpcCommunicationChannelClient(URL serverUrl, int connectionTimeout, int requestTimeout, int chunkSize)
public void addCatalog(String catalogId, Index index, List<Dictionary> dictionaries) throws Exception
Exception
public void addCatalog(String catalogId, Index index, List<Dictionary> dictionaries, boolean restrictQueryPermission, boolean restrictIngestPermission) throws Exception
Exception
public void addDictionary(String catalogId, Dictionary dictionary) throws Exception
Exception
public void replaceDictionaries(String catalogId, List<Dictionary> dictionaries) throws Exception
Exception
public void replaceIndex(String catalogId, Index index) throws Exception
Exception
public void modifyIngestPermission(String catalogId, boolean restrictIngestPermission) throws Exception
Exception
public void modifyQueryPermission(String catalogId, boolean restrictQueryPermission) throws Exception
Exception
public void addPluginUrls(List<PluginURL> pluginURLs) throws Exception
Exception
protected void transferFile(String filePath, byte[] fileData, int offset, int numBytes) throws Exception
Exception
public List<TransactionalMetadata> getAllPages(QueryPager queryPager) throws Exception
Exception
public Properties getCalalogProperties() throws Exception
Exception
public Properties getCalalogProperties(String catalogUrn) throws Exception
Exception
public TransactionId<?> getCatalogServiceTransactionId(TransactionId<?> catalogTransactionId, String catalogUrn) throws Exception
Exception
public TransactionId<?> getCatalogServiceTransactionId(CatalogReceipt catalogReceipt, boolean generateNew) throws Exception
Exception
public List<TransactionId<?>> getCatalogServiceTransactionIds(List<TransactionId<?>> catalogTransactionIds, String catalogUrn) throws Exception
Exception
public List<TransactionalMetadata> getMetadataFromTransactionIdStrings(List<String> catalogServiceTransactionIdStrings) throws Exception
Exception
public List<TransactionalMetadata> getMetadataFromTransactionIds(List<TransactionId<?>> catalogServiceTransactionIds) throws Exception
Exception
public List<TransactionalMetadata> getNextPage(QueryPager queryPager) throws Exception
Exception
public Class<? extends TransactionId<?>> getTransactionIdClass() throws Exception
Exception
public List<TransactionId<?>> getTransactionIdsForAllPages(QueryPager queryPager) throws Exception
Exception
public TransactionReceipt ingest(Metadata metadata) throws Exception
Exception
public boolean isRestrictIngestPermissions() throws Exception
Exception
public boolean isRestrictQueryPermissions() throws Exception
Exception
public Page getFirstPage(QueryExpression queryExpression) throws Exception
Exception
public Page getFirstPage(QueryExpression queryExpression, Set<String> catalogIds) throws Exception
Exception
public Page getPage(PageInfo pageInfo, QueryExpression queryExpression) throws Exception
Exception
public Page getPage(PageInfo pageInfo, QueryExpression queryExpression, Set<String> catalogIds) throws Exception
Exception
public Page getLastPage(QueryExpression queryExpression) throws Exception
Exception
public Page getLastPage(QueryExpression queryExpression, Set<String> catalogIds) throws Exception
Exception
public List<TransactionalMetadata> getMetadata(Page page) throws Exception
Exception
public QueryPager query(QueryExpression queryExpression) throws Exception
Exception
public QueryPager query(QueryExpression queryExpression, Set<String> catalogIds) throws Exception
Exception
Copyright © 1999-2015 Apache OODT. All Rights Reserved.