public class IntegrationDataAppSoapMockStub extends com.collabnet.ce.soap60.webservices.ClientSoapMockStub implements IIntegrationDataAppSoap
Constructor and Description |
---|
IntegrationDataAppSoapMockStub(String soapServerUrl) |
Modifier and Type | Method and Description |
---|---|
com.collabnet.ce.soap60.types.SoapNamedValues |
getData(String sessionId,
String namespaceId,
String objectId)
Simulate a call to getData
|
String |
getDataByKey(String sessionId,
String namespaceId,
String objectId,
String key)
Simulate a call to getDataByKey
|
String |
getNamespaceId(String sessionId,
String name)
Simulate a call to getNamespaceId
|
void |
prepareGetData(String sessionId,
String namespaceId,
String objectId,
Object returnValue)
Prepare a simulated response to getData
|
void |
prepareGetDataByKey(String sessionId,
String namespaceId,
String objectId,
String key,
Object returnValue)
Prepare a simulated response to getDataByKey
|
void |
prepareGetNamespaceId(String sessionId,
String name,
Object returnValue)
Prepare a simulated response to getNamespaceId
|
void |
preparePutData(String sessionId,
String namespaceId,
String objectId,
com.collabnet.ce.soap60.types.SoapNamedValues namedValues)
Prepare a simulated response to putData
|
void |
preparePutData(String sessionId,
String namespaceId,
String objectId,
com.collabnet.ce.soap60.types.SoapNamedValues namedValues,
Exception exception)
Prepare a simulated response to putData
|
void |
preparePutDataByKey(String sessionId,
String namespaceId,
String objectId,
String key,
String value)
Prepare a simulated response to putDataByKey
|
void |
preparePutDataByKey(String sessionId,
String namespaceId,
String objectId,
String key,
String value,
Exception exception)
Prepare a simulated response to putDataByKey
|
void |
prepareRegisterNamespace(String sessionId,
String name,
Object returnValue)
Prepare a simulated response to registerNamespace
|
void |
prepareRemoveData(String sessionId,
String namespaceId,
String objectId,
String[] keys)
Prepare a simulated response to removeData
|
void |
prepareRemoveData(String sessionId,
String namespaceId,
String objectId,
String[] keys,
Exception exception)
Prepare a simulated response to removeData
|
void |
prepareRemoveDataByKey(String sessionId,
String namespaceId,
String objectId,
String key)
Prepare a simulated response to removeDataByKey
|
void |
prepareRemoveDataByKey(String sessionId,
String namespaceId,
String objectId,
String key,
Exception exception)
Prepare a simulated response to removeDataByKey
|
void |
putData(String sessionId,
String namespaceId,
String objectId,
com.collabnet.ce.soap60.types.SoapNamedValues namedValues)
Simulate a call to putData
|
void |
putDataByKey(String sessionId,
String namespaceId,
String objectId,
String key,
String value)
Simulate a call to putDataByKey
|
String |
registerNamespace(String sessionId,
String name)
Simulate a call to registerNamespace
|
void |
removeData(String sessionId,
String namespaceId,
String objectId,
String[] keys)
Simulate a call to removeData
|
void |
removeDataByKey(String sessionId,
String namespaceId,
String objectId,
String key)
Simulate a call to removeDataByKey
|
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCall
public IntegrationDataAppSoapMockStub(String soapServerUrl)
public void prepareRegisterNamespace(String sessionId, String name, Object returnValue)
IntegrationDataAppSoap.registerNamespace(java.lang.String, java.lang.String)
public String registerNamespace(String sessionId, String name) throws RemoteException
registerNamespace
in interface IIntegrationDataAppSoap
sessionId
- 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.RemoteException
IntegrationDataAppSoap.registerNamespace(java.lang.String, java.lang.String)
public void prepareGetNamespaceId(String sessionId, String name, Object returnValue)
IntegrationDataAppSoap.getNamespaceId(java.lang.String, java.lang.String)
public String getNamespaceId(String sessionId, String name) throws RemoteException
getNamespaceId
in interface IIntegrationDataAppSoap
sessionId
- 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.RemoteException
IntegrationDataAppSoap.getNamespaceId(java.lang.String, java.lang.String)
public void preparePutData(String sessionId, String namespaceId, String objectId, com.collabnet.ce.soap60.types.SoapNamedValues namedValues)
IntegrationDataAppSoap.putData(java.lang.String, java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapNamedValues)
public void preparePutData(String sessionId, String namespaceId, String objectId, com.collabnet.ce.soap60.types.SoapNamedValues namedValues, Exception exception)
IntegrationDataAppSoap.putData(java.lang.String, java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapNamedValues)
public void putData(String sessionId, String namespaceId, String objectId, com.collabnet.ce.soap60.types.SoapNamedValues namedValues) throws RemoteException
putData
in interface IIntegrationDataAppSoap
sessionId
- 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 objectRemoteException
IntegrationDataAppSoap.putData(java.lang.String, java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapNamedValues)
public void preparePutDataByKey(String sessionId, String namespaceId, String objectId, String key, String value)
IntegrationDataAppSoap.putDataByKey(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void preparePutDataByKey(String sessionId, String namespaceId, String objectId, String key, String value, Exception exception)
IntegrationDataAppSoap.putDataByKey(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void putDataByKey(String sessionId, String namespaceId, String objectId, String key, String value) throws RemoteException
putDataByKey
in interface IIntegrationDataAppSoap
sessionId
- 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 objectRemoteException
IntegrationDataAppSoap.putDataByKey(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void prepareRemoveData(String sessionId, String namespaceId, String objectId, String[] keys)
IntegrationDataAppSoap.removeData(java.lang.String, java.lang.String, java.lang.String, java.lang.String[])
public void prepareRemoveData(String sessionId, String namespaceId, String objectId, String[] keys, Exception exception)
IntegrationDataAppSoap.removeData(java.lang.String, java.lang.String, java.lang.String, java.lang.String[])
public void removeData(String sessionId, String namespaceId, String objectId, String[] keys) throws RemoteException
removeData
in interface IIntegrationDataAppSoap
sessionId
- 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 objectRemoteException
IntegrationDataAppSoap.removeData(java.lang.String, java.lang.String, java.lang.String, java.lang.String[])
public void prepareRemoveDataByKey(String sessionId, String namespaceId, String objectId, String key)
IntegrationDataAppSoap.removeDataByKey(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void prepareRemoveDataByKey(String sessionId, String namespaceId, String objectId, String key, Exception exception)
IntegrationDataAppSoap.removeDataByKey(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void removeDataByKey(String sessionId, String namespaceId, String objectId, String key) throws RemoteException
removeDataByKey
in interface IIntegrationDataAppSoap
sessionId
- 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 objectRemoteException
IntegrationDataAppSoap.removeDataByKey(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void prepareGetData(String sessionId, String namespaceId, String objectId, Object returnValue)
IntegrationDataAppSoap.getData(java.lang.String, java.lang.String, java.lang.String)
public com.collabnet.ce.soap60.types.SoapNamedValues getData(String sessionId, String namespaceId, String objectId) throws RemoteException
getData
in interface IIntegrationDataAppSoap
sessionId
- 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 objectRemoteException
IntegrationDataAppSoap.getData(java.lang.String, java.lang.String, java.lang.String)
public void prepareGetDataByKey(String sessionId, String namespaceId, String objectId, String key, Object returnValue)
IntegrationDataAppSoap.getDataByKey(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public String getDataByKey(String sessionId, String namespaceId, String objectId, String key) throws RemoteException
getDataByKey
in interface IIntegrationDataAppSoap
sessionId
- 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 objectRemoteException
IntegrationDataAppSoap.getDataByKey(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
Copyright © 2017 CollabNet. All Rights Reserved.