public class HPCCWsStoreClient extends BaseHPCCWsClient
| Modifier and Type | Field and Description |
|---|---|
static String |
WSStoreWSDLURI |
DEAFULTECLWATCHPORT, DEFAULTECLWATCHTLSPORT, initErrMessage, log, stub, targetESPInterfaceVer, targetHPCCBuildVersion, verbose, wsconn| Modifier | Constructor and Description |
|---|---|
protected |
HPCCWsStoreClient(Connection baseConnection)
Instantiates a new HPCC ws store client.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
createStore(String storename,
String description,
String type)
Creates the store.
|
boolean |
deleteNamespace(String storename,
String namespace,
boolean global,
String targetuser)
Delete namespace.
|
boolean |
deleteValue(String storename,
String namespace,
String key,
boolean global)
Delete value.
|
Properties |
fetchAllNSKeys(String storename,
String namespace,
boolean global)
Fetch all NS keys.
|
Properties |
fetchKeyMetaData(String storename,
String namespace,
String key,
boolean global)
Fetch key meta data.
|
String |
fetchValue(String storename,
String namespace,
String key,
boolean global)
Fetch value.
|
String |
fetchValueEncrypted(String storename,
String namespace,
String key,
boolean global,
Cipher cipher)
Fetch value encrypted.
|
String |
fetchValueEncrypted(String storename,
String namespace,
String key,
boolean global,
String secretKey)
Fetch value encrypted.
|
static HPCCWsStoreClient |
get(Connection connection)
Gets the.
|
static HPCCWsStoreClient |
get(String protocol,
String targetHost,
String targetPort,
String user,
String pass)
Gets the.
|
static HPCCWsStoreClient |
get(String protocol,
String targetHost,
String targetPort,
String user,
String pass,
int timeout)
Gets the.
|
org.apache.axis2.client.Stub |
getDefaultStub()
Gets the default stub.
|
String |
getServiceURI()
Gets the service URI.
|
static int |
getServiceWSDLPort()
Gets the service WSDL port.
|
static String |
getServiceWSDLURL()
Gets the service WSDLURL.
|
String[] |
listNamespaces(String storename,
boolean global)
List namespaces.
|
String[] |
listNSKeys(String storename,
String namespace,
boolean global)
List NS keys.
|
boolean |
ping()
Ping.
|
boolean |
setValue(String storename,
String namespace,
String key,
String value,
boolean global)
Sets the value.
|
boolean |
setValueEncrypted(String storename,
String namespace,
String key,
String value,
boolean global,
Cipher cipher)
Sets the value encrypted.
|
boolean |
setValueEncrypted(String storename,
String namespace,
String key,
String value,
boolean global,
String secretKey)
Sets the value encrypted.
|
compatibilityCheck, compatibilityCheck, equals, fastRefresh, fullRefresh, getConnectionURL, getInitError, getServiceVersion, getServiceVersion, getServiceWSDLPort, getServiceWSDLURL, getStubConnectionTO, getTargetESPInterfaceVersion, getVerbose, handleECLExceptions, handleECLExceptions, handleEspExceptions, handleEspExceptions, handleEspSoapFaults, handleEspSoapFaults, hashCode, hasInitError, isComplete, loadESPRuntimeInterfaceVer, setActiveConnectionInfo, setClientAuth, setStubConnectionTO, setStubOptions, setVerbose, verifyStubmonitoraddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic static final String WSStoreWSDLURI
protected HPCCWsStoreClient(Connection baseConnection)
baseConnection - the base connectionpublic String getServiceURI()
getServiceURI in class BaseHPCCWsClientpublic static String getServiceWSDLURL()
public static int getServiceWSDLPort()
public static HPCCWsStoreClient get(Connection connection)
connection - the connectionpublic static HPCCWsStoreClient get(String protocol, String targetHost, String targetPort, String user, String pass)
protocol - the protocoltargetHost - the target hosttargetPort - the target portuser - the userpass - the passpublic static HPCCWsStoreClient get(String protocol, String targetHost, String targetPort, String user, String pass, int timeout)
protocol - the protocoltargetHost - the target hosttargetPort - the target portuser - the userpass - the passtimeout - the timeoutpublic boolean ping()
throws Exception
Exception - the exceptionpublic String[] listNamespaces(String storename, boolean global) throws Exception, ArrayOfEspExceptionWrapper
storename - the storenameglobal - the globalException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic String[] listNSKeys(String storename, String namespace, boolean global) throws Exception, ArrayOfEspExceptionWrapper
storename - the storenamenamespace - the namespaceglobal - the globalException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic String fetchValue(String storename, String namespace, String key, boolean global) throws Exception, ArrayOfEspExceptionWrapper
storename - the storenamenamespace - the namespacekey - the keyglobal - the globalException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic String fetchValueEncrypted(String storename, String namespace, String key, boolean global, Cipher cipher) throws Exception, ArrayOfEspExceptionWrapper
storename - the storenamenamespace - the namespacekey - the keyglobal - the globalcipher - the cipherException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic String fetchValueEncrypted(String storename, String namespace, String key, boolean global, String secretKey) throws Exception, ArrayOfEspExceptionWrapper
storename - the storenamenamespace - the namespacekey - the keyglobal - the globalsecretKey - - Must match the secret key used to encrypt this valueException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic Properties fetchKeyMetaData(String storename, String namespace, String key, boolean global) throws Exception, ArrayOfEspExceptionWrapper
storename - the storenamenamespace - the namespacekey - the keyglobal - the globalException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic Properties fetchAllNSKeys(String storename, String namespace, boolean global) throws Exception, ArrayOfEspExceptionWrapper
storename - the storenamenamespace - the namespaceglobal - the globalException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic boolean setValue(String storename, String namespace, String key, String value, boolean global) throws Exception, ArrayOfEspExceptionWrapper
storename - the storenamenamespace - the namespacekey - the keyvalue - the valueglobal - the globalException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic boolean setValueEncrypted(String storename, String namespace, String key, String value, boolean global, Cipher cipher) throws Exception, ArrayOfEspExceptionWrapper
storename - the storenamenamespace - the namespacekey - the keyvalue - the valueglobal - the globalcipher - the cipherException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic boolean setValueEncrypted(String storename, String namespace, String key, String value, boolean global, String secretKey) throws Exception, ArrayOfEspExceptionWrapper
storename - the storenamenamespace - the namespacekey - the keyvalue - the valueglobal - the globalsecretKey - the secret keyException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic boolean deleteValue(String storename, String namespace, String key, boolean global) throws Exception, ArrayOfEspExceptionWrapper
storename - the storenamenamespace - the namespacekey - the keyglobal - the globalException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic boolean deleteNamespace(String storename, String namespace, boolean global, String targetuser) throws Exception, ArrayOfEspExceptionWrapper
storename - the storenamenamespace - the namespaceglobal - the globaltargetuser - the targetuserException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic boolean createStore(String storename, String description, String type) throws Exception, ArrayOfEspExceptionWrapper
storename - the storenamedescription - the descriptiontype - the typeException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic org.apache.axis2.client.Stub getDefaultStub()
throws org.apache.axis2.AxisFault
BaseHPCCWsClientgetDefaultStub in class BaseHPCCWsClientorg.apache.axis2.AxisFault - the axis faultCopyright © 2021. All rights reserved.