Class ScmAppSoapMockStub
- java.lang.Object
-
- com.collabnet.ce.soap60.webservices.ClientSoapStub
-
- com.collabnet.ce.soap60.webservices.ClientSoapMockStub
-
- com.collabnet.ce.soap60.webservices.scm.ScmAppSoapMockStub
-
- All Implemented Interfaces:
IScmAppSoap
public class ScmAppSoapMockStub extends ClientSoapMockStub implements IScmAppSoap
-
-
Field Summary
-
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapMockStub
DATE_WILDCARD, GUIDKEY_WILDCARD, INTEGER_WILDCARD, LONG_WILDCARD, STRING_WILDCARD
-
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT
-
-
Constructor Summary
Constructors Constructor Description ScmAppSoapMockStub(String soapServerUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaddExternalSystem(String sessionId, String adapterType, String title, String description, SoapNamedValues adapterTypeParameters)Simulate a call to addExternalSystemRepositorySoapDOcreateRepository(String sessionId, String projectId, String externalSystemId, String repositoryDirectory, String title, String description, boolean idRequiredOnCommit, boolean hideMonitoringDetails, String comment)Simulate a call to createRepositoryRepository2SoapDOcreateRepository2(String sessionId, String projectId, String externalSystemId, String repositoryDirectory, String title, String description, boolean idRequiredOnCommit, boolean hideMonitoringDetails, String comment, RepositoryParameter2SoapDO[] params)Simulate a call to createRepository2voiddeleteRepository(String sessionId, String repositoryId)Simulate a call to deleteRepositoryStringgetAuthorizedKeys(String sessionId)Simulate a call to getAuthorizedKeysStringgetAuthorizedKeysForUser(String sessionId, String username)Simulate a call to getAuthorizedKeysForUserCommitSoapDOgetCommitData(String sessionId, String commitId)Simulate a call to getCommitDataCommit2SoapDOgetCommitData2(String sessionId, String commitId)Simulate a call to getCommitData2StringgetCommitId(String sessionId, String revision, String externalSystemId, String repoPath)Simulate a call to getCommitIdCommitSoapListgetCommitList(String sessionId, String repositoryId, SoapFilter[] filters)Simulate a call to getCommitListExternalSystemSoapDOgetExternalSystem(String sessionId, String systemId)Simulate a call to getExternalSystemExternalSystemSoapListgetExternalSystemList(String sessionId)Simulate a call to getExternalSystemListExternalSystem2SoapListgetExternalSystemList2(String sessionId)Simulate a call to getExternalSystemList2ReplicableScmExternalSystemSoapListgetReplicableScmExternalSystemList(String sessionId)Simulate a call to getReplicableScmExternalSystemListReplicableScmExternalSystemSoapListgetReplicableScmExternalSystemList2(String sessionId, String adapterName)Simulate a call to getReplicableScmExternalSystemList2ReplicaDataSoapDOgetReplicaData(String sessionId, String replicaId)Simulate a call to getReplicaDataReplicaServerSoapListgetReplicaListForExternalSystem(String sessionId, String externalSystemId, boolean approvedOnly)Simulate a call to getReplicaListForExternalSystemReplicaRepositorySoapListgetReplicaRepositoryList(String sessionId, String replicaId)Simulate a call to getReplicaRepositoryListReplicatedRepositorySoapListgetReplicatedRepositoryList(String sessionId, String masterRepositoryId)Simulate a call to getReplicatedRepositoryListRepository2SoapDOgetRepository2Data(String sessionId, String externalSystemId, String repositoryDirectory)Simulate a call to getRepository2DataRepository2SoapDOgetRepository2DataById(String sessionId, String repositoryId)Simulate a call to getRepository2DataByIdRepositorySoapDOgetRepositoryData(String sessionId, String externalSystemId, String repositoryDirectory)Simulate a call to getRepositoryDataRepositorySoapDOgetRepositoryDataById(String sessionId, String repositoryId)Simulate a call to getRepositoryDataByIdRepositorySoapListgetRepositoryList(String sessionId, String projectId)Simulate a call to getRepositoryListRepositorySoapListgetRepositoryListForExternalSystem(String sessionId, String externalSystemId, String userName)Simulate a call to getRepositoryListForExternalSystemString[]getScmAdapterNames(String sessionId)Simulate a call to getScmAdapterNamesSoapNamedValuesgetScmAdapterParameterNamesWithType(String sessionId, String adapterName)Simulate a call to getScmAdapterParameterNamesWithTypeStringgetSCMCheckoutCommand(String sessionId, String repositoryId, String userName)Simulate a call to getSCMCheckoutCommandCheckoutCommandSoapListgetSCMCheckoutCommands(String sessionId, String repositoryId)Simulate a call to getSCMCheckoutCommandsCheckoutCommandSoapListgetSCMCheckoutCommandsForReplica(String sessionId, String repositoryId, String replicaId)Simulate a call to getSCMCheckoutCommandsForReplicabooleanisAdapterTypeValid(com.vasoftware.sf.server.types.NamedValue[] adapterTypeParams, String givenParamName, String givenParamValue)Simulate a call to isAdapterTypeValidRepositorySoapDOmoveRepository(String sessionId, String repositoryId, String projectId)Simulate a call to moveRepositoryStringnullToEmptyString(String string)Simulate a call to nullToEmptyStringvoidprepareAddExternalSystem(String sessionId, String adapterType, String title, String description, SoapNamedValues adapterTypeParameters, Object returnValue)Prepare a simulated response to addExternalSystemvoidprepareCreateRepository(String sessionId, String projectId, String externalSystemId, String repositoryDirectory, String title, String description, boolean idRequiredOnCommit, boolean hideMonitoringDetails, String comment, Object returnValue)Prepare a simulated response to createRepositoryvoidprepareCreateRepository2(String sessionId, String projectId, String externalSystemId, String repositoryDirectory, String title, String description, boolean idRequiredOnCommit, boolean hideMonitoringDetails, String comment, RepositoryParameter2SoapDO[] params, Object returnValue)Prepare a simulated response to createRepository2voidprepareDeleteRepository(String sessionId, String repositoryId)Prepare a simulated response to deleteRepositoryvoidprepareDeleteRepository(String sessionId, String repositoryId, Exception exception)Prepare a simulated response to deleteRepositoryvoidprepareGetAuthorizedKeys(String sessionId, Object returnValue)Prepare a simulated response to getAuthorizedKeysvoidprepareGetAuthorizedKeysForUser(String sessionId, String username, Object returnValue)Prepare a simulated response to getAuthorizedKeysForUservoidprepareGetCommitData(String sessionId, String commitId, Object returnValue)Prepare a simulated response to getCommitDatavoidprepareGetCommitData2(String sessionId, String commitId, Object returnValue)Prepare a simulated response to getCommitData2voidprepareGetCommitId(String sessionId, String revision, String externalSystemId, String repoPath, Object returnValue)Prepare a simulated response to getCommitIdvoidprepareGetCommitList(String sessionId, String repositoryId, SoapFilter[] filters, Object returnValue)Prepare a simulated response to getCommitListvoidprepareGetExternalSystem(String sessionId, String systemId, Object returnValue)Prepare a simulated response to getExternalSystemvoidprepareGetExternalSystemList(String sessionId, Object returnValue)Prepare a simulated response to getExternalSystemListvoidprepareGetExternalSystemList2(String sessionId, Object returnValue)Prepare a simulated response to getExternalSystemList2voidprepareGetReplicableScmExternalSystemList(String sessionId, Object returnValue)Prepare a simulated response to getReplicableScmExternalSystemListvoidprepareGetReplicableScmExternalSystemList2(String sessionId, String adapterName, Object returnValue)Prepare a simulated response to getReplicableScmExternalSystemList2voidprepareGetReplicaData(String sessionId, String replicaId, Object returnValue)Prepare a simulated response to getReplicaDatavoidprepareGetReplicaListForExternalSystem(String sessionId, String externalSystemId, boolean approvedOnly, Object returnValue)Prepare a simulated response to getReplicaListForExternalSystemvoidprepareGetReplicaRepositoryList(String sessionId, String replicaId, Object returnValue)Prepare a simulated response to getReplicaRepositoryListvoidprepareGetReplicatedRepositoryList(String sessionId, String masterRepositoryId, Object returnValue)Prepare a simulated response to getReplicatedRepositoryListvoidprepareGetRepository2Data(String sessionId, String externalSystemId, String repositoryDirectory, Object returnValue)Prepare a simulated response to getRepository2DatavoidprepareGetRepository2DataById(String sessionId, String repositoryId, Object returnValue)Prepare a simulated response to getRepository2DataByIdvoidprepareGetRepositoryData(String sessionId, String externalSystemId, String repositoryDirectory, Object returnValue)Prepare a simulated response to getRepositoryDatavoidprepareGetRepositoryDataById(String sessionId, String repositoryId, Object returnValue)Prepare a simulated response to getRepositoryDataByIdvoidprepareGetRepositoryList(String sessionId, String projectId, Object returnValue)Prepare a simulated response to getRepositoryListvoidprepareGetRepositoryListForExternalSystem(String sessionId, String externalSystemId, String userName, Object returnValue)Prepare a simulated response to getRepositoryListForExternalSystemvoidprepareGetScmAdapterNames(String sessionId, Object returnValue)Prepare a simulated response to getScmAdapterNamesvoidprepareGetScmAdapterParameterNamesWithType(String sessionId, String adapterName, Object returnValue)Prepare a simulated response to getScmAdapterParameterNamesWithTypevoidprepareGetSCMCheckoutCommand(String sessionId, String repositoryId, String userName, Object returnValue)Prepare a simulated response to getSCMCheckoutCommandvoidprepareGetSCMCheckoutCommands(String sessionId, String repositoryId, Object returnValue)Prepare a simulated response to getSCMCheckoutCommandsvoidprepareGetSCMCheckoutCommandsForReplica(String sessionId, String repositoryId, String replicaId, Object returnValue)Prepare a simulated response to getSCMCheckoutCommandsForReplicavoidprepareIsAdapterTypeValid(com.vasoftware.sf.server.types.NamedValue[] adapterTypeParams, String givenParamName, String givenParamValue, Object returnValue)Prepare a simulated response to isAdapterTypeValidvoidprepareMoveRepository(String sessionId, String repositoryId, String projectId, Object returnValue)Prepare a simulated response to moveRepositoryvoidprepareNullToEmptyString(String string, Object returnValue)Prepare a simulated response to nullToEmptyStringvoidprepareRemoveRepositoryFromReplica(String sessionId, String repositoryId, String replicaId)Prepare a simulated response to removeRepositoryFromReplicavoidprepareRemoveRepositoryFromReplica(String sessionId, String repositoryId, String replicaId, Exception exception)Prepare a simulated response to removeRepositoryFromReplicavoidprepareReplicateRepository(String sessionId, String repositoryId, String replicaId)Prepare a simulated response to replicateRepositoryvoidprepareReplicateRepository(String sessionId, String repositoryId, String replicaId, Exception exception)Prepare a simulated response to replicateRepositoryvoidprepareSetAuthorizedKeys(String sessionId, String authorizedKeys)Prepare a simulated response to setAuthorizedKeysvoidprepareSetAuthorizedKeys(String sessionId, String authorizedKeys, Exception exception)Prepare a simulated response to setAuthorizedKeysvoidprepareSetAuthorizedKeys(String sessionId, String username, String authorizedKeys)Prepare a simulated response to setAuthorizedKeysvoidprepareSetAuthorizedKeys(String sessionId, String username, String authorizedKeys, Exception exception)Prepare a simulated response to setAuthorizedKeysvoidprepareSetAuthorizedKeysForUser(String sessionId, String username, String authorizedKeys)Prepare a simulated response to setAuthorizedKeysForUservoidprepareSetAuthorizedKeysForUser(String sessionId, String username, String authorizedKeys, Exception exception)Prepare a simulated response to setAuthorizedKeysForUservoidprepareSetExternalSystemData(String sessionId, ExternalSystemSoapDO systemData)Prepare a simulated response to setExternalSystemDatavoidprepareSetExternalSystemData(String sessionId, ExternalSystemSoapDO systemData, Exception exception)Prepare a simulated response to setExternalSystemDatavoidprepareSetReplicaData(String sessionId, ReplicaDataSoapDO replica)Prepare a simulated response to setReplicaDatavoidprepareSetReplicaData(String sessionId, ReplicaDataSoapDO replica, Exception exception)Prepare a simulated response to setReplicaDatavoidprepareSetRepositoryData(String sessionId, Repository2SoapDO repository)Prepare a simulated response to setRepositoryDatavoidprepareSetRepositoryData(String sessionId, Repository2SoapDO repository, Exception exception)Prepare a simulated response to setRepositoryDatavoidremoveRepositoryFromReplica(String sessionId, String repositoryId, String replicaId)Simulate a call to removeRepositoryFromReplicavoidreplicateRepository(String sessionId, String repositoryId, String replicaId)Simulate a call to replicateRepositoryvoidsetAuthorizedKeys(String sessionId, String authorizedKeys)Simulate a call to setAuthorizedKeysvoidsetAuthorizedKeys(String sessionId, String username, String authorizedKeys)Simulate a call to setAuthorizedKeysvoidsetAuthorizedKeysForUser(String sessionId, String username, String authorizedKeys)Simulate a call to setAuthorizedKeysForUservoidsetExternalSystemData(String sessionId, ExternalSystemSoapDO systemData)Simulate a call to setExternalSystemDatavoidsetReplicaData(String sessionId, ReplicaDataSoapDO replica)Simulate a call to setReplicaDatavoidsetRepositoryData(String sessionId, Repository2SoapDO repository)Simulate a call to setRepositoryData-
Methods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapMockStub
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCall
-
Methods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
getServiceCall, getSoapServer, getTimeout, setTimeout, soapParam
-
-
-
-
Constructor Detail
-
ScmAppSoapMockStub
public ScmAppSoapMockStub(String soapServerUrl)
-
-
Method Detail
-
prepareGetRepositoryList
public void prepareGetRepositoryList(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to getRepositoryList
-
getRepositoryList
public RepositorySoapList getRepositoryList(String sessionId, String projectId) throws RemoteException
Simulate a call to getRepositoryList- Specified by:
getRepositoryListin interfaceIScmAppSoap- Parameters:
sessionId- User session id.projectId- The project id.- Returns:
- List of SCM repositories within the specified project.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified project id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getRepositoryList(java.lang.String, java.lang.String)
-
prepareGetRepositoryListForExternalSystem
public void prepareGetRepositoryListForExternalSystem(String sessionId, String externalSystemId, String userName, Object returnValue)
Prepare a simulated response to getRepositoryListForExternalSystem
-
getRepositoryListForExternalSystem
public RepositorySoapList getRepositoryListForExternalSystem(String sessionId, String externalSystemId, String userName) throws RemoteException
Simulate a call to getRepositoryListForExternalSystem- Specified by:
getRepositoryListForExternalSystemin interfaceIScmAppSoap- Parameters:
sessionId- User session id. Must be site admin.externalSystemId- The external system (SCM adapter) id.userName- Name of the user.- Returns:
- List of repositories on a given external system
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified external system id is not validPermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.IllegalArgumentFault- when any of the parameters is null/emptyRemoteException- See Also:
ScmAppSoap.getRepositoryListForExternalSystem(java.lang.String, java.lang.String, java.lang.String)
-
prepareGetCommitList
public void prepareGetCommitList(String sessionId, String repositoryId, SoapFilter[] filters, Object returnValue)
Prepare a simulated response to getCommitList
-
getCommitList
public CommitSoapList getCommitList(String sessionId, String repositoryId, SoapFilter[] filters) throws RemoteException
Simulate a call to getCommitList- Specified by:
getCommitListin interfaceIScmAppSoap- Parameters:
sessionId- User session id.repositoryId- The repository id.filters- Array of filters to apply (null to return unfiltered list).- Returns:
- List of SCM commits on the specified repository.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified repository id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.InvalidFilterFault- If the filters are not valid.RemoteException- See Also:
ScmAppSoap.getCommitList(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
-
prepareGetCommitData
public void prepareGetCommitData(String sessionId, String commitId, Object returnValue)
Prepare a simulated response to getCommitData
-
getCommitData
public CommitSoapDO getCommitData(String sessionId, String commitId) throws RemoteException
Simulate a call to getCommitData- Specified by:
getCommitDatain interfaceIScmAppSoap- Parameters:
sessionId- User session id.commitId- The commit id.- Returns:
- Commit data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified commit id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getCommitData(java.lang.String, java.lang.String)
-
prepareGetCommitData2
public void prepareGetCommitData2(String sessionId, String commitId, Object returnValue)
Prepare a simulated response to getCommitData2
-
getCommitData2
public Commit2SoapDO getCommitData2(String sessionId, String commitId) throws RemoteException
Simulate a call to getCommitData2- Specified by:
getCommitData2in interfaceIScmAppSoap- Parameters:
sessionId- User session id.commitId- The commit id.- Returns:
- Commit data
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified commit id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getCommitData2(java.lang.String, java.lang.String)
-
prepareGetRepositoryData
public void prepareGetRepositoryData(String sessionId, String externalSystemId, String repositoryDirectory, Object returnValue)
Prepare a simulated response to getRepositoryData
-
getRepositoryData
public RepositorySoapDO getRepositoryData(String sessionId, String externalSystemId, String repositoryDirectory) throws RemoteException
Simulate a call to getRepositoryData- Specified by:
getRepositoryDatain interfaceIScmAppSoap- Parameters:
sessionId- User session id.externalSystemId- The id of the external system that the repository is located onrepositoryDirectory- The directory on the external system that the repository is located in- Returns:
- Repository Data
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified repository id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getRepositoryData(java.lang.String, java.lang.String, java.lang.String)
-
prepareGetRepository2Data
public void prepareGetRepository2Data(String sessionId, String externalSystemId, String repositoryDirectory, Object returnValue)
Prepare a simulated response to getRepository2Data
-
getRepository2Data
public Repository2SoapDO getRepository2Data(String sessionId, String externalSystemId, String repositoryDirectory) throws RemoteException
Simulate a call to getRepository2Data- Specified by:
getRepository2Datain interfaceIScmAppSoap- Parameters:
sessionId- User session id.externalSystemId- The id of the external system that the repository is located onrepositoryDirectory- The directory on the external system that the repository is located in- Returns:
- Repository Data
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified repository id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getRepository2Data(java.lang.String, java.lang.String, java.lang.String)
-
prepareGetRepositoryDataById
public void prepareGetRepositoryDataById(String sessionId, String repositoryId, Object returnValue)
Prepare a simulated response to getRepositoryDataById
-
getRepositoryDataById
public RepositorySoapDO getRepositoryDataById(String sessionId, String repositoryId) throws RemoteException
Simulate a call to getRepositoryDataById- Specified by:
getRepositoryDataByIdin interfaceIScmAppSoap- Parameters:
sessionId- User session id.repositoryId- The id of the repository- Returns:
- Repository Data
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified repository id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getRepositoryDataById(java.lang.String, java.lang.String)
-
prepareGetRepository2DataById
public void prepareGetRepository2DataById(String sessionId, String repositoryId, Object returnValue)
Prepare a simulated response to getRepository2DataById
-
getRepository2DataById
public Repository2SoapDO getRepository2DataById(String sessionId, String repositoryId) throws RemoteException
Simulate a call to getRepository2DataById- Specified by:
getRepository2DataByIdin interfaceIScmAppSoap- Parameters:
sessionId- User session id.repositoryId- The id of the repository- Returns:
- Repository Data
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified repository id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getRepository2DataById(java.lang.String, java.lang.String)
-
prepareSetRepositoryData
public void prepareSetRepositoryData(String sessionId, Repository2SoapDO repository)
Prepare a simulated response to setRepositoryData
-
prepareSetRepositoryData
public void prepareSetRepositoryData(String sessionId, Repository2SoapDO repository, Exception exception)
Prepare a simulated response to setRepositoryData
-
setRepositoryData
public void setRepositoryData(String sessionId, Repository2SoapDO repository) throws RemoteException
Simulate a call to setRepositoryData- Specified by:
setRepositoryDatain interfaceIScmAppSoap- Parameters:
sessionId- User session id.repository- The repository data- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified repository id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.setRepositoryData(java.lang.String, com.collabnet.ce.soap60.webservices.scm.Repository2SoapDO)
-
prepareGetReplicaData
public void prepareGetReplicaData(String sessionId, String replicaId, Object returnValue)
Prepare a simulated response to getReplicaData
-
getReplicaData
public ReplicaDataSoapDO getReplicaData(String sessionId, String replicaId) throws RemoteException
Simulate a call to getReplicaData- Specified by:
getReplicaDatain interfaceIScmAppSoap- Parameters:
sessionId- the user sessionreplicaId- the replica server id- Returns:
- the replica server data
- Throws:
InvalidSessionFaultPermissionDeniedFaultSystemFaultNoSuchObjectFaultRemoteException- See Also:
ScmAppSoap.getReplicaData(java.lang.String, java.lang.String)
-
prepareSetReplicaData
public void prepareSetReplicaData(String sessionId, ReplicaDataSoapDO replica)
Prepare a simulated response to setReplicaData
-
prepareSetReplicaData
public void prepareSetReplicaData(String sessionId, ReplicaDataSoapDO replica, Exception exception)
Prepare a simulated response to setReplicaData
-
setReplicaData
public void setReplicaData(String sessionId, ReplicaDataSoapDO replica) throws RemoteException
Simulate a call to setReplicaData- Specified by:
setReplicaDatain interfaceIScmAppSoap- Parameters:
sessionId- user session idreplica- the replica server data to be set- Throws:
InvalidSessionFaultPermissionDeniedFaultSystemFaultNoSuchObjectFaultVersionMismatchFaultRemoteException- See Also:
ScmAppSoap.setReplicaData(java.lang.String, com.collabnet.ce.soap60.webservices.scm.ReplicaDataSoapDO)
-
prepareGetSCMCheckoutCommand
public void prepareGetSCMCheckoutCommand(String sessionId, String repositoryId, String userName, Object returnValue)
Prepare a simulated response to getSCMCheckoutCommand
-
getSCMCheckoutCommand
public String getSCMCheckoutCommand(String sessionId, String repositoryId, String userName) throws RemoteException
Simulate a call to getSCMCheckoutCommand- Specified by:
getSCMCheckoutCommandin interfaceIScmAppSoap- Parameters:
sessionId- User session id.repositoryId- The id of the repositoryuserName- User name.- Returns:
- command to check out the repository
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified repository id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getSCMCheckoutCommand(java.lang.String, java.lang.String, java.lang.String)
-
prepareGetSCMCheckoutCommands
public void prepareGetSCMCheckoutCommands(String sessionId, String repositoryId, Object returnValue)
Prepare a simulated response to getSCMCheckoutCommands
-
getSCMCheckoutCommands
public CheckoutCommandSoapList getSCMCheckoutCommands(String sessionId, String repositoryId) throws RemoteException
Simulate a call to getSCMCheckoutCommands- Specified by:
getSCMCheckoutCommandsin interfaceIScmAppSoap- Parameters:
sessionId- User session id.repositoryId- The id of the repository- Returns:
- protocol to checkout command tuples
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified repository id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getSCMCheckoutCommands(java.lang.String, java.lang.String)
-
prepareGetSCMCheckoutCommandsForReplica
public void prepareGetSCMCheckoutCommandsForReplica(String sessionId, String repositoryId, String replicaId, Object returnValue)
Prepare a simulated response to getSCMCheckoutCommandsForReplica
-
getSCMCheckoutCommandsForReplica
public CheckoutCommandSoapList getSCMCheckoutCommandsForReplica(String sessionId, String repositoryId, String replicaId) throws RemoteException
Simulate a call to getSCMCheckoutCommandsForReplica- Specified by:
getSCMCheckoutCommandsForReplicain interfaceIScmAppSoap- Parameters:
sessionId- User session id.repositoryId- The id of the repositoryreplicaId- The id of the replica to which checkout command should point- Returns:
- protocol to checkout command tuples
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified repository id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getSCMCheckoutCommandsForReplica(java.lang.String, java.lang.String, java.lang.String)
-
prepareCreateRepository
public void prepareCreateRepository(String sessionId, String projectId, String externalSystemId, String repositoryDirectory, String title, String description, boolean idRequiredOnCommit, boolean hideMonitoringDetails, String comment, Object returnValue)
Prepare a simulated response to createRepository
-
createRepository
public RepositorySoapDO createRepository(String sessionId, String projectId, String externalSystemId, String repositoryDirectory, String title, String description, boolean idRequiredOnCommit, boolean hideMonitoringDetails, String comment) throws RemoteException
Simulate a call to createRepository- Specified by:
createRepositoryin interfaceIScmAppSoap- Parameters:
sessionId- User session id.projectId- The project that will host the new repositoryexternalSystemId- The id of the external system on which the new repository will be createdrepositoryDirectory- The directory on the external system for the new repositorytitle- The name of the new repositorydescription- The description for the new repositoryidRequiredOnCommit- Whether an artifact ID is required for commits to this repositoryhideMonitoringDetails- Controls whether monitoring messages for commit include full detailscomment- The comment for documenting the creation of the repository- Returns:
- Repository Data
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified repository id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.createRepository(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, boolean, java.lang.String)
-
prepareCreateRepository2
public void prepareCreateRepository2(String sessionId, String projectId, String externalSystemId, String repositoryDirectory, String title, String description, boolean idRequiredOnCommit, boolean hideMonitoringDetails, String comment, RepositoryParameter2SoapDO[] params, Object returnValue)
Prepare a simulated response to createRepository2
-
createRepository2
public Repository2SoapDO createRepository2(String sessionId, String projectId, String externalSystemId, String repositoryDirectory, String title, String description, boolean idRequiredOnCommit, boolean hideMonitoringDetails, String comment, RepositoryParameter2SoapDO[] params) throws RemoteException
Simulate a call to createRepository2- Specified by:
createRepository2in interfaceIScmAppSoap- Parameters:
sessionId- User session id.projectId- The project that will host the new repositoryexternalSystemId- The id of the external system on which the new repository will be createdrepositoryDirectory- The directory on the external system for the new repositorytitle- The name of the new repositorydescription- The description for the new repositoryidRequiredOnCommit- Whether an artifact ID is required for commits to this repositoryhideMonitoringDetails- Controls whether monitoring messages for commit include full detailscomment- The comment for documenting the creation of the repositoryparams- The repository parameter- Returns:
- Repository Data
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified repository id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.createRepository2(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, boolean, java.lang.String, com.collabnet.ce.soap60.webservices.scm.RepositoryParameter2SoapDO[])
-
prepareDeleteRepository
public void prepareDeleteRepository(String sessionId, String repositoryId)
Prepare a simulated response to deleteRepository
-
prepareDeleteRepository
public void prepareDeleteRepository(String sessionId, String repositoryId, Exception exception)
Prepare a simulated response to deleteRepository
-
deleteRepository
public void deleteRepository(String sessionId, String repositoryId) throws RemoteException
Simulate a call to deleteRepository- Specified by:
deleteRepositoryin interfaceIScmAppSoap- Parameters:
sessionId- The user's SOAP session idrepositoryId- The id of the repository to be deleted- Throws:
InvalidSessionFault- If the user's session is invalidPermissionDeniedFault- If the user doesn't have proper permissions to delete the repositorySystemFault- All other faultsNoSuchObjectFault- If repository id doesn't existRemoteException- See Also:
ScmAppSoap.deleteRepository(java.lang.String, java.lang.String)
-
prepareMoveRepository
public void prepareMoveRepository(String sessionId, String repositoryId, String projectId, Object returnValue)
Prepare a simulated response to moveRepository
-
moveRepository
public RepositorySoapDO moveRepository(String sessionId, String repositoryId, String projectId) throws RemoteException
Simulate a call to moveRepository- Specified by:
moveRepositoryin interfaceIScmAppSoap- Parameters:
sessionId- The user's SOAP session idrepositoryId- The id of the repository to moveprojectId- The id of the project to move the repository to- Returns:
- RepositorySoapDO The repository object post-move
- Throws:
InvalidSessionFault- If the user's session is invalidNoSuchObjectFault- If either the repository id or project id doesn't existObjectAlreadyExistsFault- If the destination project is the same as the current projectPermissionDeniedFault- If the user doesn't have proper permissions on either the repository or the projectSystemFault- All other faultsRemoteException- See Also:
ScmAppSoap.moveRepository(java.lang.String, java.lang.String, java.lang.String)
-
prepareGetScmAdapterNames
public void prepareGetScmAdapterNames(String sessionId, Object returnValue)
Prepare a simulated response to getScmAdapterNames
-
getScmAdapterNames
public String[] getScmAdapterNames(String sessionId) throws RemoteException
Simulate a call to getScmAdapterNames- Specified by:
getScmAdapterNamesin interfaceIScmAppSoap- Parameters:
sessionId- The user's SOAP session id- Returns:
- String[] The known SCM adapter names
- Throws:
InvalidSessionFault- If the session is invalidPermissionDeniedFault- If the user is not a site administratorSystemFault- If anything else goes wrongRemoteException- See Also:
ScmAppSoap.getScmAdapterNames(java.lang.String)
-
prepareGetScmAdapterParameterNamesWithType
public void prepareGetScmAdapterParameterNamesWithType(String sessionId, String adapterName, Object returnValue)
Prepare a simulated response to getScmAdapterParameterNamesWithType
-
getScmAdapterParameterNamesWithType
public SoapNamedValues getScmAdapterParameterNamesWithType(String sessionId, String adapterName) throws RemoteException
Simulate a call to getScmAdapterParameterNamesWithType- Specified by:
getScmAdapterParameterNamesWithTypein interfaceIScmAppSoap- Parameters:
sessionId- The user's SOAP session idadapterName- The SCM adapter's name- Returns:
- SoapNamedValues The named values with type for the SCM adapter parameters
- Throws:
InvalidSessionFault- If the session is invalidNoSuchObjectFault- If the adapter name is not availablePermissionDeniedFault- If the user is not a site administratorSystemFault- If anything else goes wrongRemoteException- See Also:
ScmAppSoap.getScmAdapterParameterNamesWithType(java.lang.String, java.lang.String)
-
prepareAddExternalSystem
public void prepareAddExternalSystem(String sessionId, String adapterType, String title, String description, SoapNamedValues adapterTypeParameters, Object returnValue)
Prepare a simulated response to addExternalSystem
-
addExternalSystem
public String addExternalSystem(String sessionId, String adapterType, String title, String description, SoapNamedValues adapterTypeParameters) throws RemoteException
Simulate a call to addExternalSystem- Specified by:
addExternalSystemin interfaceIScmAppSoap- Parameters:
sessionId- is the user session id.adapterType- is be the adapter type created, which is one value of the call "getScmAdapterNames()".title- is the title of the external system.description- is the description of the external system.adapterTypeParameters- is the list of parameters of names and associated values for the given adapter type.- Returns:
- The GUID of the newly added external system.
- Throws:
InvalidSessionFault- When the specified session id is invalid.NoSuchObjectFault- If the adapter does not exist internally.PermissionDeniedFault- When the user has insufficient privileges.SystemFault- When wrong parameters are provided or an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.addExternalSystem(java.lang.String, java.lang.String, java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapNamedValues)
-
prepareGetExternalSystem
public void prepareGetExternalSystem(String sessionId, String systemId, Object returnValue)
Prepare a simulated response to getExternalSystem
-
getExternalSystem
public ExternalSystemSoapDO getExternalSystem(String sessionId, String systemId) throws RemoteException
Simulate a call to getExternalSystem- Specified by:
getExternalSystemin interfaceIScmAppSoap- Parameters:
sessionId- the user session id.systemId- The GUID of the external system.- Returns:
- the external system data.
- Throws:
InvalidSessionFault- When the specified session id is invalid.NoSuchObjectFault- If the external system does not exist internally.PermissionDeniedFault- When the user has insufficient privileges.SystemFault- When wrong parameters are provided or an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getExternalSystem(java.lang.String, java.lang.String)
-
prepareGetExternalSystemList
public void prepareGetExternalSystemList(String sessionId, Object returnValue)
Prepare a simulated response to getExternalSystemList
-
getExternalSystemList
public ExternalSystemSoapList getExternalSystemList(String sessionId) throws RemoteException
Simulate a call to getExternalSystemList- Specified by:
getExternalSystemListin interfaceIScmAppSoap- Parameters:
sessionId- the user session id.- Returns:
- the external system list.
- Throws:
InvalidSessionFault- When the specified session id is invalid.PermissionDeniedFault- When the user has insufficient privileges.SystemFault- When wrong parameters are provided or an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getExternalSystemList(java.lang.String)
-
prepareGetExternalSystemList2
public void prepareGetExternalSystemList2(String sessionId, Object returnValue)
Prepare a simulated response to getExternalSystemList2
-
getExternalSystemList2
public ExternalSystem2SoapList getExternalSystemList2(String sessionId) throws RemoteException
Simulate a call to getExternalSystemList2- Specified by:
getExternalSystemList2in interfaceIScmAppSoap- Parameters:
sessionId- the user session id.- Returns:
- the external system list.
- Throws:
InvalidSessionFault- When the specified session id is invalid.PermissionDeniedFault- When the user has insufficient privileges.SystemFault- When wrong parameters are provided or an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getExternalSystemList2(java.lang.String)
-
prepareSetExternalSystemData
public void prepareSetExternalSystemData(String sessionId, ExternalSystemSoapDO systemData)
Prepare a simulated response to setExternalSystemData
-
prepareSetExternalSystemData
public void prepareSetExternalSystemData(String sessionId, ExternalSystemSoapDO systemData, Exception exception)
Prepare a simulated response to setExternalSystemData
-
setExternalSystemData
public void setExternalSystemData(String sessionId, ExternalSystemSoapDO systemData) throws RemoteException
Simulate a call to setExternalSystemData- Specified by:
setExternalSystemDatain interfaceIScmAppSoap- Parameters:
sessionId- the user session id.systemData- the external system data to be updated- Throws:
NoSuchObjectFault- If the external system does not exist internally.SystemFault- When wrong parameters are provided or an unexpected system error occurs.InvalidSessionFault- When the specified session id is invalid.PermissionDeniedFault- When the user has insufficient privileges.InvalidOperationFault- When an attempt is made to set different adapterName or adapterCatrogory.RemoteException- See Also:
ScmAppSoap.setExternalSystemData(java.lang.String, com.collabnet.ce.soap60.webservices.scm.ExternalSystemSoapDO)
-
prepareIsAdapterTypeValid
public void prepareIsAdapterTypeValid(com.vasoftware.sf.server.types.NamedValue[] adapterTypeParams, String givenParamName, String givenParamValue, Object returnValue)Prepare a simulated response to isAdapterTypeValid
-
isAdapterTypeValid
public boolean isAdapterTypeValid(com.vasoftware.sf.server.types.NamedValue[] adapterTypeParams, String givenParamName, String givenParamValue) throws RemoteExceptionSimulate a call to isAdapterTypeValid
-
prepareGetCommitId
public void prepareGetCommitId(String sessionId, String revision, String externalSystemId, String repoPath, Object returnValue)
Prepare a simulated response to getCommitId
-
getCommitId
public String getCommitId(String sessionId, String revision, String externalSystemId, String repoPath) throws RemoteException
Simulate a call to getCommitId- Specified by:
getCommitIdin interfaceIScmAppSoap- Parameters:
sessionId- User session id.revision- The Revision NumberexternalSystemId- External system id.repoPath- Repository path.- Returns:
- The commit Id
- Throws:
InvalidSessionFault- when the session is invalid (expired / time out)PermissionDeniedFault- when the user does not have read access.SystemFault- when an unexpected system error occurs.NoSuchObjectFault- when the specified repository id is invalid.RemoteException- See Also:
ScmAppSoap.getCommitId(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
prepareGetReplicableScmExternalSystemList
public void prepareGetReplicableScmExternalSystemList(String sessionId, Object returnValue)
Prepare a simulated response to getReplicableScmExternalSystemList
-
getReplicableScmExternalSystemList
public ReplicableScmExternalSystemSoapList getReplicableScmExternalSystemList(String sessionId) throws RemoteException
Simulate a call to getReplicableScmExternalSystemList- Specified by:
getReplicableScmExternalSystemListin interfaceIScmAppSoap- Parameters:
sessionId- User session id.- Returns:
- List of the replicable external systems
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getReplicableScmExternalSystemList(java.lang.String)
-
prepareGetReplicableScmExternalSystemList2
public void prepareGetReplicableScmExternalSystemList2(String sessionId, String adapterName, Object returnValue)
Prepare a simulated response to getReplicableScmExternalSystemList2
-
getReplicableScmExternalSystemList2
public ReplicableScmExternalSystemSoapList getReplicableScmExternalSystemList2(String sessionId, String adapterName) throws RemoteException
Simulate a call to getReplicableScmExternalSystemList2- Specified by:
getReplicableScmExternalSystemList2in interfaceIScmAppSoap- Parameters:
sessionId- User session id.adapterName- the adapter name ornullto list replicable systems for all adapters.- Returns:
- List of the replicable external systems.
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getReplicableScmExternalSystemList2(java.lang.String, java.lang.String)
-
prepareGetReplicatedRepositoryList
public void prepareGetReplicatedRepositoryList(String sessionId, String masterRepositoryId, Object returnValue)
Prepare a simulated response to getReplicatedRepositoryList
-
getReplicatedRepositoryList
public ReplicatedRepositorySoapList getReplicatedRepositoryList(String sessionId, String masterRepositoryId) throws RemoteException
Simulate a call to getReplicatedRepositoryList- Specified by:
getReplicatedRepositoryListin interfaceIScmAppSoap- Parameters:
sessionId- the session keymasterRepositoryId- the repository Id for which to find replicas- Returns:
- a list of ReplicatedRepository
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified master repository id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getReplicatedRepositoryList(java.lang.String, java.lang.String)
-
prepareGetReplicaListForExternalSystem
public void prepareGetReplicaListForExternalSystem(String sessionId, String externalSystemId, boolean approvedOnly, Object returnValue)
Prepare a simulated response to getReplicaListForExternalSystem
-
getReplicaListForExternalSystem
public ReplicaServerSoapList getReplicaListForExternalSystem(String sessionId, String externalSystemId, boolean approvedOnly) throws RemoteException
Simulate a call to getReplicaListForExternalSystem- Specified by:
getReplicaListForExternalSystemin interfaceIScmAppSoap- Parameters:
sessionId- the user session id.externalSystemId- The GUID of the external system.approvedOnly- The GUID of the external system.- Returns:
- replicas list.
- Throws:
IllegalArgumentFault- When wrong parameters are provided.InvalidSessionFault- When the specified session id is invalid.RemoteException- See Also:
ScmAppSoap.getReplicaListForExternalSystem(java.lang.String, java.lang.String, boolean)
-
prepareGetReplicaRepositoryList
public void prepareGetReplicaRepositoryList(String sessionId, String replicaId, Object returnValue)
Prepare a simulated response to getReplicaRepositoryList
-
getReplicaRepositoryList
public ReplicaRepositorySoapList getReplicaRepositoryList(String sessionId, String replicaId) throws RemoteException
Simulate a call to getReplicaRepositoryList- Specified by:
getReplicaRepositoryListin interfaceIScmAppSoap- Parameters:
sessionId- the session keyreplicaId- the replica Id for which to find repositories- Returns:
- a list of ReplicatedRepository
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified replica id is invalid.RemoteException- See Also:
ScmAppSoap.getReplicaRepositoryList(java.lang.String, java.lang.String)
-
prepareReplicateRepository
public void prepareReplicateRepository(String sessionId, String repositoryId, String replicaId)
Prepare a simulated response to replicateRepository
-
prepareReplicateRepository
public void prepareReplicateRepository(String sessionId, String repositoryId, String replicaId, Exception exception)
Prepare a simulated response to replicateRepository
-
replicateRepository
public void replicateRepository(String sessionId, String repositoryId, String replicaId) throws RemoteException
Simulate a call to replicateRepository- Specified by:
replicateRepositoryin interfaceIScmAppSoap- Parameters:
sessionId- the session keyrepositoryId- the id of the given repositoryreplicaId- the id of the given replica- Throws:
IllegalArgumentFault- when the repositoryId or replicaId are null or emptyInvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified master repository or replica are not validSystemFault- if replica command creation failsPermissionDeniedFault- if the user has no permissionRemoteException- See Also:
ScmAppSoap.replicateRepository(java.lang.String, java.lang.String, java.lang.String)
-
prepareRemoveRepositoryFromReplica
public void prepareRemoveRepositoryFromReplica(String sessionId, String repositoryId, String replicaId)
Prepare a simulated response to removeRepositoryFromReplica
-
prepareRemoveRepositoryFromReplica
public void prepareRemoveRepositoryFromReplica(String sessionId, String repositoryId, String replicaId, Exception exception)
Prepare a simulated response to removeRepositoryFromReplica
-
removeRepositoryFromReplica
public void removeRepositoryFromReplica(String sessionId, String repositoryId, String replicaId) throws RemoteException
Simulate a call to removeRepositoryFromReplica- Specified by:
removeRepositoryFromReplicain interfaceIScmAppSoap- Parameters:
sessionId- the session keyrepositoryId- the id of the given repositoryreplicaId- the id of the given replica- Throws:
IllegalArgumentFault- when the repositoryId or replicaId are null or emptyInvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified master repository or replica are not validSystemFault- if replica command creation failsPermissionDeniedFault- if the user has no permissionRemoteException- See Also:
ScmAppSoap.removeRepositoryFromReplica(java.lang.String, java.lang.String, java.lang.String)
-
prepareGetAuthorizedKeysForUser
public void prepareGetAuthorizedKeysForUser(String sessionId, String username, Object returnValue)
Prepare a simulated response to getAuthorizedKeysForUser
-
getAuthorizedKeysForUser
public String getAuthorizedKeysForUser(String sessionId, String username) throws RemoteException
Simulate a call to getAuthorizedKeysForUser- Specified by:
getAuthorizedKeysForUserin interfaceIScmAppSoap- Parameters:
sessionId- the session keyusername- name of the user- Returns:
- Authorized keys, separated by '\n' character.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges (the sessionId is not of a site admin).SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getAuthorizedKeysForUser(java.lang.String, java.lang.String)
-
prepareGetAuthorizedKeys
public void prepareGetAuthorizedKeys(String sessionId, Object returnValue)
Prepare a simulated response to getAuthorizedKeys
-
getAuthorizedKeys
public String getAuthorizedKeys(String sessionId) throws RemoteException
Simulate a call to getAuthorizedKeys- Specified by:
getAuthorizedKeysin interfaceIScmAppSoap- Parameters:
sessionId- the session key- Returns:
- Authorized keys, separated by '\n' character. Returns empty string if the user has no keys.
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.getAuthorizedKeys(java.lang.String)
-
prepareSetAuthorizedKeys
public void prepareSetAuthorizedKeys(String sessionId, String authorizedKeys)
Prepare a simulated response to setAuthorizedKeys
-
prepareSetAuthorizedKeys
public void prepareSetAuthorizedKeys(String sessionId, String authorizedKeys, Exception exception)
Prepare a simulated response to setAuthorizedKeys
-
setAuthorizedKeys
public void setAuthorizedKeys(String sessionId, String authorizedKeys) throws RemoteException
Simulate a call to setAuthorizedKeys- Specified by:
setAuthorizedKeysin interfaceIScmAppSoap- Parameters:
sessionId- the session keyauthorizedKeys- the string containing authorized keys, separated by '\n' character.- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
ScmAppSoap.setAuthorizedKeys(java.lang.String, java.lang.String)
-
prepareSetAuthorizedKeysForUser
public void prepareSetAuthorizedKeysForUser(String sessionId, String username, String authorizedKeys)
Prepare a simulated response to setAuthorizedKeysForUser
-
prepareSetAuthorizedKeysForUser
public void prepareSetAuthorizedKeysForUser(String sessionId, String username, String authorizedKeys, Exception exception)
Prepare a simulated response to setAuthorizedKeysForUser
-
setAuthorizedKeysForUser
public void setAuthorizedKeysForUser(String sessionId, String username, String authorizedKeys) throws RemoteException
Simulate a call to setAuthorizedKeysForUser- Specified by:
setAuthorizedKeysForUserin interfaceIScmAppSoap- Parameters:
sessionId- the session keyusername- username for whom the authorized keys to be setauthorizedKeys- the string containing authorized keys, separated by '\n' character.- Throws:
RemoteException- when username is invalid- See Also:
ScmAppSoap.setAuthorizedKeysForUser(java.lang.String, java.lang.String, java.lang.String)
-
prepareSetAuthorizedKeys
public void prepareSetAuthorizedKeys(String sessionId, String username, String authorizedKeys)
Prepare a simulated response to setAuthorizedKeys
-
prepareSetAuthorizedKeys
public void prepareSetAuthorizedKeys(String sessionId, String username, String authorizedKeys, Exception exception)
Prepare a simulated response to setAuthorizedKeys
-
setAuthorizedKeys
public void setAuthorizedKeys(String sessionId, String username, String authorizedKeys) throws RemoteException
Simulate a call to setAuthorizedKeys- Specified by:
setAuthorizedKeysin interfaceIScmAppSoap- Parameters:
sessionId- the session keyusername- username for whom the authorized keys to be setauthorizedKeys- the string containing authorized keys, separated by '\n' character.- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system error occurs.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified username is invalid.RemoteException- See Also:
ScmAppSoap.setAuthorizedKeys(java.lang.String, java.lang.String)
-
prepareNullToEmptyString
public void prepareNullToEmptyString(String string, Object returnValue)
Prepare a simulated response to nullToEmptyString
-
nullToEmptyString
public String nullToEmptyString(String string) throws RemoteException
Simulate a call to nullToEmptyString- Throws:
RemoteException- See Also:
ScmAppSoap.nullToEmptyString(java.lang.String)
-
-