public class IntegrationDataAppSoapStub extends com.collabnet.ce.soap60.webservices.ClientSoapStub implements IIntegrationDataAppSoap
| Constructor and Description |
|---|
IntegrationDataAppSoapStub(String soapServerUrl) |
| Modifier and Type | Method and Description |
|---|---|
com.collabnet.ce.soap60.types.SoapNamedValues |
getData(String sessionId,
String namespaceId,
String objectId)
Gets data for an object from the integration data service
|
String |
getDataByKey(String sessionId,
String namespaceId,
String objectId,
String key)
Gets data for an object from the integration data service
|
String |
getNamespaceId(String sessionId,
String name)
Gets the key to an existing namespace.
|
void |
putData(String sessionId,
String namespaceId,
String objectId,
com.collabnet.ce.soap60.types.SoapNamedValues namedValues)
Adds or replaces a set of integration data values for the specified object.
|
void |
putDataByKey(String sessionId,
String namespaceId,
String objectId,
String key,
String value)
Adds or replaces a single integration data value for the specified object.
|
String |
registerNamespace(String sessionId,
String name)
Registers a new namespace
|
void |
removeData(String sessionId,
String namespaceId,
String objectId,
String[] keys)
Removes a set of integration data values from the specified object.
|
void |
removeDataByKey(String sessionId,
String namespaceId,
String objectId,
String key)
Removes a single integration data value from the specified object.
|
public IntegrationDataAppSoapStub(String soapServerUrl)
public String registerNamespace(String sessionId, String name) throws RemoteException
IIntegrationDataAppSoapregisterNamespace in interface IIntegrationDataAppSoapsessionId - SOAP session id.name - The name of the namespace to registercom.collabnet.ce.soap60.fault.InvalidSessionFault - when the sessionId is invalid.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault - when the specified name already existscom.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.RemoteExceptionpublic String getNamespaceId(String sessionId, String name) throws RemoteException
IIntegrationDataAppSoapgetNamespaceId in interface IIntegrationDataAppSoapsessionId - SOAP session id.name - The name of the namespace to getcom.collabnet.ce.soap60.fault.InvalidSessionFault - when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault - when the specified name doesn't exist.com.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.RemoteExceptionpublic void putData(String sessionId, String namespaceId, String objectId, com.collabnet.ce.soap60.types.SoapNamedValues namedValues) throws RemoteException
IIntegrationDataAppSoapputData in interface IIntegrationDataAppSoapsessionId - SOAP session id.namespaceId - The namespace to store data underobjectId - The object to associate the data withnamedValues - Key value pairs of data to associatecom.collabnet.ce.soap60.fault.InvalidSessionFault - when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault - when the object id doesn't existcom.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.com.collabnet.ce.soap60.fault.PermissionDeniedFault - when the user doesn't have permission to store data on the objectRemoteExceptionpublic void putDataByKey(String sessionId, String namespaceId, String objectId, String key, String value) throws RemoteException
IIntegrationDataAppSoapputDataByKey in interface IIntegrationDataAppSoapsessionId - SOAP session id.namespaceId - The namespace to store data underobjectId - The object to associate the data withkey - The key of the piece of data to storevalue - The value to storecom.collabnet.ce.soap60.fault.InvalidSessionFault - when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault - when the object id doesn't existcom.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.com.collabnet.ce.soap60.fault.PermissionDeniedFault - when the user doesn't have permission to store data on the objectRemoteExceptionpublic void removeData(String sessionId, String namespaceId, String objectId, String[] keys) throws RemoteException
IIntegrationDataAppSoapremoveData in interface IIntegrationDataAppSoapsessionId - SOAP session id.namespaceId - The namespace to store data underobjectId - The object to associate the data withkeys - Integration data keys (and associated values) to remove.com.collabnet.ce.soap60.fault.InvalidSessionFault - when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault - when the object id doesn't existcom.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.com.collabnet.ce.soap60.fault.PermissionDeniedFault - when the user doesn't have permission to store data on the objectRemoteExceptionpublic void removeDataByKey(String sessionId, String namespaceId, String objectId, String key) throws RemoteException
IIntegrationDataAppSoapremoveDataByKey in interface IIntegrationDataAppSoapsessionId - SOAP session id.namespaceId - The namespace to store data underobjectId - The object to associate the data withkey - Integration data key (and associated value) to remove.com.collabnet.ce.soap60.fault.InvalidSessionFault - when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault - when the object id doesn't existcom.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.com.collabnet.ce.soap60.fault.PermissionDeniedFault - when the user doesn't have permission to store data on the objectRemoteExceptionpublic com.collabnet.ce.soap60.types.SoapNamedValues getData(String sessionId, String namespaceId, String objectId) throws RemoteException
IIntegrationDataAppSoapgetData in interface IIntegrationDataAppSoapsessionId - SOAP session id.namespaceId - The namespace to get data underobjectId - The object to get the data forcom.collabnet.ce.soap60.fault.InvalidSessionFault - when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault - when the object id doesn't existcom.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.com.collabnet.ce.soap60.fault.PermissionDeniedFault - when the user doesn't have permission to get data on the objectRemoteExceptionpublic String getDataByKey(String sessionId, String namespaceId, String objectId, String key) throws RemoteException
IIntegrationDataAppSoapgetDataByKey in interface IIntegrationDataAppSoapsessionId - SOAP session id.namespaceId - The namespace to get data underobjectId - The object to get the data forkey - The key of the piece of data to retrievecom.collabnet.ce.soap60.fault.InvalidSessionFault - when the sessionId is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault - when the object id doesn't existcom.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.com.collabnet.ce.soap60.fault.PermissionDeniedFault - when the user doesn't have permission to get data on the objectRemoteExceptionCopyright © 2016 CollabNet. All Rights Reserved.