public class HPCCWsAttributesClient extends BaseHPCCWsClient
| Modifier and Type | Field and Description |
|---|---|
static String |
WSATTRIBUTESWSDLURI |
DEAFULTECLWATCHPORT, DEFAULTECLWATCHTLSPORT, initErrMessage, stub, targetESPInterfaceVer, targetHPCCBuildVersion, verbose, wsconn| Modifier | Constructor and Description |
|---|---|
protected |
HPCCWsAttributesClient(Connection baseConnection)
Instantiates a new HPCC ws attributes client.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
attributeExists(String modulename,
String attributename,
String type)
Check whether an attribute exists.
|
org.hpccsystems.ws.client.gen.axis2.wsattributes.v1_21.ECLAttribute |
checkinAttribute(String modulename,
String attributename,
String checkindesc)
Check in an attribute in an HPCC Repository.
|
org.hpccsystems.ws.client.gen.axis2.wsattributes.v1_21.ECLAttribute |
checkoutAttribute(String modulename,
String attributename)
Check out an attribute in a legacy repository.
|
org.hpccsystems.ws.client.gen.axis2.wsattributes.v1_21.ECLAttribute |
createAttribute(String modulename,
String attributename,
String type,
String text,
Boolean checkin,
String checkindesc)
Create an attribute in an HPCC Legacy Repository.
|
ECLAttributeWrapper |
createOrUpdateAttribute(ECLAttributeWrapper item,
boolean checkoutin,
String checkindesc)
Create/Update an attribute in a legacy repository.
|
List<ECLAttributeWrapper> |
createOrUpdateAttributes(List<ECLAttributeWrapper> in,
boolean checkoutin,
String checkindesc)
Creates the or update attributes.
|
List<ECLAttributeWrapper> |
deleteAttribute(String modulename,
String attributename)
delete an attribute from the remote repository.
|
void |
deleteModule(String modulename)
Delete a module from the remote repository.
|
List<ECLAttributeWrapper> |
findItems(String modulename,
String attributename,
String type,
String username,
String anytext,
String changedSince)
Search for and retrieve the attribute metadata for attributes from a repository.
|
static HPCCWsAttributesClient |
get(Connection connection)
Gets the.
|
static HPCCWsAttributesClient |
get(String protocol,
String targetHost,
String targetPort,
String user,
String pass)
Gets the.
|
static HPCCWsAttributesClient |
get(String protocol,
String targetHost,
String targetPort,
String user,
String pass,
int timeout)
Gets the.
|
GetAttributesResponseWrapper |
getAttributes(GetAttributesWrapper request)
Gets the attributes.
|
GetAttributesResponseWrapper |
getAttributes(String label,
String modulename,
org.hpccsystems.ws.client.gen.axis2.wsattributes.v1_21.EspStringArray typelist)
Gets the attributes.
|
String |
getAttributeText(String modulename,
String attributename,
String type)
Get the text of an attribute from a repo.
|
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.
|
org.hpccsystems.ws.client.gen.axis2.wsattributes.v1_21.ECLAttribute |
renameAttribute(String modulename,
String attributename,
String newmodulename,
String newattributename)
Rename an attribute in a legacy repo.
|
org.hpccsystems.ws.client.gen.axis2.wsattributes.v1_21.ECLAttribute |
updateAttribute(String modulename,
String attributename,
String type,
String text,
Boolean checkoutin,
String checkindesc)
Update an attribute in a legacy repository.
|
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 WSATTRIBUTESWSDLURI
protected HPCCWsAttributesClient(Connection baseConnection)
baseConnection - the base connectionpublic String getServiceURI()
getServiceURI in class BaseHPCCWsClientpublic static String getServiceWSDLURL()
public static int getServiceWSDLPort()
public static HPCCWsAttributesClient get(Connection connection)
connection - the connectionpublic static HPCCWsAttributesClient 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 HPCCWsAttributesClient 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 attributeExists(String modulename, String attributename, String type) throws Exception, ArrayOfEspExceptionWrapper
modulename - - ECL Module name containing the attribute to checkattributename - - Attribute to checktype - the typeException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic List<ECLAttributeWrapper> findItems(String modulename, String attributename, String type, String username, String anytext, String changedSince) throws Exception, ArrayOfEspExceptionWrapper
modulename - - modulename of attributes to find. Entire name will be matched.attributename - - attributename of attributes to find. Entire name will be matched.type - the typeusername - - owner of attributes to find. Entire name will be matchedanytext - - text string to find. It is implicitly surrounded by wildcards. will match any module name containing
the pattern, attribute name containing the pattern, or attribute containing ecl that contains the
patternchangedSince - - only return attributes changes since this timeException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic String getAttributeText(String modulename, String attributename, String type) throws Exception, ArrayOfEspExceptionWrapper
modulename - - module name of the attributeattributename - - attribute name of the attributetype - the typeException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic org.hpccsystems.ws.client.gen.axis2.wsattributes.v1_21.ECLAttribute renameAttribute(String modulename, String attributename, String newmodulename, String newattributename) throws Exception, ArrayOfEspExceptionWrapper
modulename - -existing module name that will be renamedattributename - - existing attributename that will be renamednewmodulename - - new module name to rename module tonewattributename - - new attribute name to rename attribute toException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic List<ECLAttributeWrapper> createOrUpdateAttributes(List<ECLAttributeWrapper> in, boolean checkoutin, String checkindesc) throws Exception, ArrayOfEspExceptionWrapper
in - - a list of ECLAttributeInfo objects to create or updatecheckoutin - - if true, check out before updating and check in afterwardscheckindesc - - if checkoutin is true, this is the checkin messageException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic ECLAttributeWrapper createOrUpdateAttribute(ECLAttributeWrapper item, boolean checkoutin, String checkindesc) throws Exception, ArrayOfEspExceptionWrapper
item - the itemcheckoutin - - whether to check the attribute out/in before doing thischeckindesc - - if checkoutin=true, the description to append to the checkinException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic org.hpccsystems.ws.client.gen.axis2.wsattributes.v1_21.ECLAttribute updateAttribute(String modulename, String attributename, String type, String text, Boolean checkoutin, String checkindesc) throws Exception, ArrayOfEspExceptionWrapper
modulename - - module name to updateattributename - - attribute name to updatetype - the typetext - - text to update the attribute tocheckoutin - - whether to check the attribute out/in before doing thischeckindesc - - if checkoutin=true, the description to append to the checkinException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic org.hpccsystems.ws.client.gen.axis2.wsattributes.v1_21.ECLAttribute checkinAttribute(String modulename, String attributename, String checkindesc) throws Exception, ArrayOfEspExceptionWrapper
modulename - - module name to check inattributename - - attribute name to check incheckindesc - - check in commentException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic org.hpccsystems.ws.client.gen.axis2.wsattributes.v1_21.ECLAttribute checkoutAttribute(String modulename, String attributename) throws Exception, ArrayOfEspExceptionWrapper
modulename - - module to check outattributename - - attribute to check outException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic org.hpccsystems.ws.client.gen.axis2.wsattributes.v1_21.ECLAttribute createAttribute(String modulename, String attributename, String type, String text, Boolean checkin, String checkindesc) throws Exception, ArrayOfEspExceptionWrapper
modulename - - module name to createattributename - - attribute name to createtype - the typetext - the textcheckin - - if true, check this attribute in after creating itcheckindesc - - checkin comment. Required if checkin=trueException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic void deleteModule(String modulename) throws Exception, ArrayOfEspExceptionWrapper
modulename - - name of module to deleteException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic List<ECLAttributeWrapper> deleteAttribute(String modulename, String attributename) throws Exception, ArrayOfEspExceptionWrapper
modulename - - name of module for attribute to deleteattributename - - name of attribute to deleteException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic GetAttributesResponseWrapper getAttributes(String label, String modulename, org.hpccsystems.ws.client.gen.axis2.wsattributes.v1_21.EspStringArray typelist) throws Exception
label - the labelmodulename - the modulenametypelist - the typelistException - the exceptionpublic GetAttributesResponseWrapper getAttributes(GetAttributesWrapper request) throws Exception
request - the requestException - the exceptionpublic 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.