public class ScmAppSoapStub extends com.collabnet.ce.soap60.webservices.ClientSoapStub implements IScmAppSoap
Constructor and Description |
---|
ScmAppSoapStub(String soapServerUrl) |
Modifier and Type | Method and Description |
---|---|
String |
addExternalSystem(String sessionId,
String adapterType,
String title,
String description,
com.collabnet.ce.soap60.types.SoapNamedValues adapterTypeParameters)
Adds an external system of the given adapter type with its title, description and respective list of parameters.
|
RepositorySoapDO |
createRepository(String sessionId,
String projectId,
String externalSystemId,
String repositoryDirectory,
String title,
String description,
boolean idRequiredOnCommit,
boolean hideMonitoringDetails,
String comment)
Creates a new repository in the given SCM server.
|
Repository2SoapDO |
createRepository2(String sessionId,
String projectId,
String externalSystemId,
String repositoryDirectory,
String title,
String description,
boolean idRequiredOnCommit,
boolean hideMonitoringDetails,
String comment,
RepositoryParameter2SoapDO[] params)
Creates a new repository in the given SCM server.
|
void |
deleteRepository(String sessionId,
String repositoryId)
Delete the repository with specified ID.
|
String |
getAuthorizedKeys(String sessionId)
Get all authorized keys for calling user.
|
String |
getAuthorizedKeysForUser(String sessionId,
String username)
Get all authorized keys for a user with a given username.
|
CommitSoapDO |
getCommitData(String sessionId,
String commitId)
Returns data associated with a specific commit.
|
Commit2SoapDO |
getCommitData2(String sessionId,
String commitId)
Returns data associated with a specific commit.
|
String |
getCommitId(String sessionId,
String revision,
String externalSystemId,
String repoPath)
Returns a commit Id corresponding to an commit version.
|
CommitSoapList |
getCommitList(String sessionId,
String repositoryId,
com.collabnet.ce.soap60.types.SoapFilter[] filters)
Lists the commits on a given repository.
|
ExternalSystemSoapDO |
getExternalSystem(String sessionId,
String systemId)
Returns information associated with an external system integrated with TeamForge.
|
ExternalSystemSoapList |
getExternalSystemList(String sessionId)
Gets a list of external scm systems integrated with TeamForge.
|
ReplicableScmExternalSystemSoapList |
getReplicableScmExternalSystemList(String sessionId)
Lists the replicable external systems.
|
ReplicableScmExternalSystemSoapList |
getReplicableScmExternalSystemList2(String sessionId,
String adapterName)
Lists the replicable external systems for all adapter types or for a given adapter type.
|
ReplicaDataSoapDO |
getReplicaData(String sessionId,
String replicaId)
For a given replica server id get the replica server data.
|
ReplicaServerSoapList |
getReplicaListForExternalSystem(String sessionId,
String externalSystemId,
boolean approvedOnly)
Returns list of replicas for given external system id.
|
ReplicaRepositorySoapList |
getReplicaRepositoryList(String sessionId,
String replicaId)
Lists repositories of the specified replica.
|
ReplicatedRepositorySoapList |
getReplicatedRepositoryList(String sessionId,
String masterRepositoryId)
Lists replicated repositories of the specified SCM master.
|
Repository2SoapDO |
getRepository2Data(String sessionId,
String externalSystemId,
String repositoryDirectory)
Returns data associated with a specific repository.
|
Repository2SoapDO |
getRepository2DataById(String sessionId,
String repositoryId)
Returns data associated with a specific repository Note that a user has permission to view the repository data if the user belongs to a role that has either full view permission or any path-based permission on this repository.
|
RepositorySoapDO |
getRepositoryData(String sessionId,
String externalSystemId,
String repositoryDirectory)
Returns data associated with a specific repository.
|
RepositorySoapDO |
getRepositoryDataById(String sessionId,
String repositoryId)
Returns data associated with a specific repository Note that a user has permission to view the repository data if the user belongs to a role that has either full view permission or any path-based permission on this repository.
|
RepositorySoapList |
getRepositoryList(String sessionId,
String projectId)
Lists the repositories within a given project that the current user has been granted view permission through roles and path based permission.
|
RepositorySoapList |
getRepositoryListForExternalSystem(String sessionId,
String externalSystemId,
String userName)
Lists the repositories on a given external system (SCM Adapter) for which the specified user has been granted view permission.
|
String[] |
getScmAdapterNames(String sessionId)
Returns a string array containing the known list of supported SCM adapters on the server.
|
com.collabnet.ce.soap60.types.SoapNamedValues |
getScmAdapterParameterNamesWithType(String sessionId,
String adapterName)
Returns the SCM adapter parameter names with their corresponding type.
|
String |
getSCMCheckoutCommand(String sessionId,
String repositoryId,
String userName)
Returns the command needed to check out a specific repository.
|
CheckoutCommandSoapList |
getSCMCheckoutCommands(String sessionId,
String repositoryId)
Returns the list of commands that might be used to check out a specific repository.
|
CheckoutCommandSoapList |
getSCMCheckoutCommandsForReplica(String sessionId,
String repositoryId,
String replicaId)
Returns the list of commands that might be used to check out a repository's replica.
|
RepositorySoapDO |
moveRepository(String sessionId,
String repositoryId,
String projectId)
Moves the repository from its current project to the one specified.
|
void |
removeRepositoryFromReplica(String sessionId,
String repositoryId,
String replicaId)
Remove process of replicating of a given repository on a given replica.
|
void |
replicateRepository(String sessionId,
String repositoryId,
String replicaId)
Initiates the process of replicating of a given repository on a given replica.
|
void |
setAuthorizedKeys(String sessionId,
String authorizedKeys)
Set authorized keys for calling user.
|
void |
setAuthorizedKeys(String sessionId,
String username,
String authorizedKeys)
Set authorized keys for given user.
|
void |
setAuthorizedKeysForUser(String sessionId,
String username,
String authorizedKeys)
Set authorized keys for given user.
|
void |
setExternalSystemData(String sessionId,
ExternalSystemSoapDO systemData)
Updates information associated with an external system integrated with TeamForge.
|
void |
setReplicaData(String sessionId,
ReplicaDataSoapDO replica)
Sets replica server data.
|
void |
setRepositoryData(String sessionId,
Repository2SoapDO repository)
Sets the repository data
|
public ScmAppSoapStub(String soapServerUrl)
public RepositorySoapList getRepositoryList(String sessionId, String projectId) throws RemoteException
IScmAppSoap
getRepositoryList
in interface IScmAppSoap
sessionId
- User session id.projectId
- The project id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public RepositorySoapList getRepositoryListForExternalSystem(String sessionId, String externalSystemId, String userName) throws RemoteException
IScmAppSoap
getRepositoryListForExternalSystem
in interface IScmAppSoap
sessionId
- User session id. Must be site admin.externalSystemId
- The external system (SCM adapter) id.userName
- Name of the user.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified external system id is not validcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when any of the parameters is null/emptyRemoteException
public CommitSoapList getCommitList(String sessionId, String repositoryId, com.collabnet.ce.soap60.types.SoapFilter[] filters) throws RemoteException
IScmAppSoap
filters
. The valid filter names are: createdAfter, createdBefore, createdBy.getCommitList
in interface IScmAppSoap
sessionId
- User session id.repositoryId
- The repository id.filters
- Array of filters to apply (null to return unfiltered list).com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified repository id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidFilterFault
- If the filters are not valid.RemoteException
public CommitSoapDO getCommitData(String sessionId, String commitId) throws RemoteException
IScmAppSoap
getCommitData
in interface IScmAppSoap
sessionId
- User session id.commitId
- The commit id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified commit id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public Commit2SoapDO getCommitData2(String sessionId, String commitId) throws RemoteException
IScmAppSoap
getCommitData2
in interface IScmAppSoap
sessionId
- User session id.commitId
- The commit id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified commit id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public RepositorySoapDO getRepositoryData(String sessionId, String externalSystemId, String repositoryDirectory) throws RemoteException
IScmAppSoap
getRepositoryData
in interface IScmAppSoap
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 incom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified repository id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public Repository2SoapDO getRepository2Data(String sessionId, String externalSystemId, String repositoryDirectory) throws RemoteException
IScmAppSoap
getRepository2Data
in interface IScmAppSoap
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 incom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified repository id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public RepositorySoapDO getRepositoryDataById(String sessionId, String repositoryId) throws RemoteException
IScmAppSoap
getRepositoryDataById
in interface IScmAppSoap
sessionId
- User session id.repositoryId
- The id of the repositorycom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified repository id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public Repository2SoapDO getRepository2DataById(String sessionId, String repositoryId) throws RemoteException
IScmAppSoap
getRepository2DataById
in interface IScmAppSoap
sessionId
- User session id.repositoryId
- The id of the repositorycom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified repository id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public void setRepositoryData(String sessionId, Repository2SoapDO repository) throws RemoteException
IScmAppSoap
setRepositoryData
in interface IScmAppSoap
sessionId
- User session id.repository
- The repository datacom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified repository id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public ReplicaDataSoapDO getReplicaData(String sessionId, String replicaId) throws RemoteException
IScmAppSoap
getReplicaData
in interface IScmAppSoap
sessionId
- the user sessionreplicaId
- the replica server idcom.collabnet.ce.soap60.fault.InvalidSessionFault
com.collabnet.ce.soap60.fault.PermissionDeniedFault
com.collabnet.ce.soap60.fault.SystemFault
com.collabnet.ce.soap60.fault.NoSuchObjectFault
RemoteException
public void setReplicaData(String sessionId, ReplicaDataSoapDO replica) throws RemoteException
IScmAppSoap
setReplicaData
in interface IScmAppSoap
sessionId
- user session idreplica
- the replica server data to be setcom.collabnet.ce.soap60.fault.InvalidSessionFault
com.collabnet.ce.soap60.fault.PermissionDeniedFault
com.collabnet.ce.soap60.fault.SystemFault
com.collabnet.ce.soap60.fault.NoSuchObjectFault
com.collabnet.ce.soap60.fault.VersionMismatchFault
RemoteException
public String getSCMCheckoutCommand(String sessionId, String repositoryId, String userName) throws RemoteException
IScmAppSoap
getSCMCheckoutCommand
in interface IScmAppSoap
sessionId
- User session id.repositoryId
- The id of the repositoryuserName
- User name.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified repository id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public CheckoutCommandSoapList getSCMCheckoutCommands(String sessionId, String repositoryId) throws RemoteException
IScmAppSoap
getSCMCheckoutCommands
in interface IScmAppSoap
sessionId
- User session id.repositoryId
- The id of the repositorycom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified repository id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public CheckoutCommandSoapList getSCMCheckoutCommandsForReplica(String sessionId, String repositoryId, String replicaId) throws RemoteException
IScmAppSoap
getSCMCheckoutCommandsForReplica
in interface IScmAppSoap
sessionId
- User session id.repositoryId
- The id of the repositoryreplicaId
- The id of the replica to which checkout command should pointcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified repository id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public RepositorySoapDO createRepository(String sessionId, String projectId, String externalSystemId, String repositoryDirectory, String title, String description, boolean idRequiredOnCommit, boolean hideMonitoringDetails, String comment) throws RemoteException
IScmAppSoap
createRepository
in interface IScmAppSoap
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 repositorycom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified repository id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
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
IScmAppSoap
createRepository2
in interface IScmAppSoap
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 parametercom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified repository id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public void deleteRepository(String sessionId, String repositoryId) throws RemoteException
IScmAppSoap
deleteRepository
in interface IScmAppSoap
sessionId
- The user's SOAP session idrepositoryId
- The id of the repository to be deletedcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the user's session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have proper permissions to delete the repositorycom.collabnet.ce.soap60.fault.SystemFault
- All other faultscom.collabnet.ce.soap60.fault.NoSuchObjectFault
- If repository id doesn't existRemoteException
public RepositorySoapDO moveRepository(String sessionId, String repositoryId, String projectId) throws RemoteException
IScmAppSoap
moveRepository
in interface IScmAppSoap
sessionId
- The user's SOAP session idrepositoryId
- The id of the repository to moveprojectId
- The id of the project to move the repository tocom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the user's session is invalidcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- If either the repository id or project id doesn't existcom.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- If the destination project is the same as the current projectcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user doesn't have proper permissions on either the repository or the projectcom.collabnet.ce.soap60.fault.SystemFault
- All other faultsRemoteException
public String[] getScmAdapterNames(String sessionId) throws RemoteException
IScmAppSoap
getScmAdapterNames
in interface IScmAppSoap
sessionId
- The user's SOAP session idcom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user is not a site administratorcom.collabnet.ce.soap60.fault.SystemFault
- If anything else goes wrongRemoteException
public com.collabnet.ce.soap60.types.SoapNamedValues getScmAdapterParameterNamesWithType(String sessionId, String adapterName) throws RemoteException
IScmAppSoap
getScmAdapterParameterNamesWithType
in interface IScmAppSoap
sessionId
- The user's SOAP session idadapterName
- The SCM adapter's namecom.collabnet.ce.soap60.fault.InvalidSessionFault
- If the session is invalidcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- If the adapter name is not availablecom.collabnet.ce.soap60.fault.PermissionDeniedFault
- If the user is not a site administratorcom.collabnet.ce.soap60.fault.SystemFault
- If anything else goes wrongRemoteException
public String addExternalSystem(String sessionId, String adapterType, String title, String description, com.collabnet.ce.soap60.types.SoapNamedValues adapterTypeParameters) throws RemoteException
IScmAppSoap
addExternalSystem
in interface IScmAppSoap
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. The list of the needed parameters and their expected associated data type is retrieved by calling "getScmAdapterParameterNamesWithType(adapterType)".com.collabnet.ce.soap60.fault.InvalidSessionFault
- When the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- If the adapter does not exist internally.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- When the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- When wrong parameters are provided or an unexpected system error occurs.RemoteException
public ExternalSystemSoapDO getExternalSystem(String sessionId, String systemId) throws RemoteException
IScmAppSoap
getExternalSystem
in interface IScmAppSoap
sessionId
- the user session id.systemId
- The GUID of the external system.com.collabnet.ce.soap60.fault.InvalidSessionFault
- When the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- If the external system does not exist internally.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- When the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- When wrong parameters are provided or an unexpected system error occurs.RemoteException
public ExternalSystemSoapList getExternalSystemList(String sessionId) throws RemoteException
IScmAppSoap
getExternalSystemList
in interface IScmAppSoap
sessionId
- the user session id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- When the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- When the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- When wrong parameters are provided or an unexpected system error occurs.RemoteException
public void setExternalSystemData(String sessionId, ExternalSystemSoapDO systemData) throws RemoteException
IScmAppSoap
setExternalSystemData
in interface IScmAppSoap
sessionId
- the user session id.systemData
- the external system data to be updatedcom.collabnet.ce.soap60.fault.NoSuchObjectFault
- If the external system does not exist internally.com.collabnet.ce.soap60.fault.SystemFault
- When wrong parameters are provided or an unexpected system error occurs.com.collabnet.ce.soap60.fault.InvalidSessionFault
- When the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- When the user has insufficient privileges.com.collabnet.ce.soap60.fault.InvalidOperationFault
- When an attempt is made to set different adapterName or adapterCatrogory.RemoteException
public String getCommitId(String sessionId, String revision, String externalSystemId, String repoPath) throws RemoteException
IScmAppSoap
getCommitId
in interface IScmAppSoap
sessionId
- User session id.revision
- The Revision NumberexternalSystemId
- External system id.repoPath
- Repository path.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the session is invalid (expired / time out)com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user does not have read access.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified repository id is invalid.RemoteException
public ReplicableScmExternalSystemSoapList getReplicableScmExternalSystemList(String sessionId) throws RemoteException
IScmAppSoap
getReplicableScmExternalSystemList
in interface IScmAppSoap
sessionId
- User session id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public ReplicableScmExternalSystemSoapList getReplicableScmExternalSystemList2(String sessionId, String adapterName) throws RemoteException
IScmAppSoap
getReplicableScmExternalSystemList2
in interface IScmAppSoap
sessionId
- User session id.adapterName
- the adapter name or null
to list replicable systems for all adapters.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public ReplicatedRepositorySoapList getReplicatedRepositoryList(String sessionId, String masterRepositoryId) throws RemoteException
IScmAppSoap
getReplicatedRepositoryList
in interface IScmAppSoap
sessionId
- the session keymasterRepositoryId
- the repository Id for which to find replicascom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified master repository id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public ReplicaServerSoapList getReplicaListForExternalSystem(String sessionId, String externalSystemId, boolean approvedOnly) throws RemoteException
IScmAppSoap
getReplicaListForExternalSystem
in interface IScmAppSoap
sessionId
- the user session id.externalSystemId
- The GUID of the external system.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- When wrong parameters are provided.com.collabnet.ce.soap60.fault.InvalidSessionFault
- When the specified session id is invalid.RemoteException
public ReplicaRepositorySoapList getReplicaRepositoryList(String sessionId, String replicaId) throws RemoteException
IScmAppSoap
getReplicaRepositoryList
in interface IScmAppSoap
sessionId
- the session keyreplicaId
- the replica Id for which to find repositoriescom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified replica id is invalid.RemoteException
public void replicateRepository(String sessionId, String repositoryId, String replicaId) throws RemoteException
IScmAppSoap
replicateRepository
in interface IScmAppSoap
sessionId
- the session keyrepositoryId
- the id of the given repositoryreplicaId
- the id of the given replicacom.collabnet.ce.soap60.fault.IllegalArgumentFault
- when the repositoryId or replicaId are null or emptycom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified master repository or replica are not validcom.collabnet.ce.soap60.fault.SystemFault
- if replica command creation failscom.collabnet.ce.soap60.fault.PermissionDeniedFault
- if the user has no permissionRemoteException
public void removeRepositoryFromReplica(String sessionId, String repositoryId, String replicaId) throws RemoteException
IScmAppSoap
removeRepositoryFromReplica
in interface IScmAppSoap
sessionId
- the session keyrepositoryId
- the id of the given repositoryreplicaId
- the id of the given replicacom.collabnet.ce.soap60.fault.IllegalArgumentFault
- when the repositoryId or replicaId are null or emptycom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified master repository or replica are not validcom.collabnet.ce.soap60.fault.SystemFault
- if replica command creation failscom.collabnet.ce.soap60.fault.PermissionDeniedFault
- if the user has no permissionRemoteException
public String getAuthorizedKeysForUser(String sessionId, String username) throws RemoteException
IScmAppSoap
getAuthorizedKeysForUser
in interface IScmAppSoap
sessionId
- the session keyusername
- name of the usercom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges (the sessionId is not of a site admin).com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public String getAuthorizedKeys(String sessionId) throws RemoteException
IScmAppSoap
getAuthorizedKeys
in interface IScmAppSoap
sessionId
- the session keycom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public void setAuthorizedKeys(String sessionId, String authorizedKeys) throws RemoteException
IScmAppSoap
setAuthorizedKeys
in interface IScmAppSoap
sessionId
- the session keyauthorizedKeys
- the string containing authorized keys, separated by '\n' character.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public void setAuthorizedKeysForUser(String sessionId, String username, String authorizedKeys) throws RemoteException
IScmAppSoap
setAuthorizedKeysForUser
in interface IScmAppSoap
sessionId
- the session keyusername
- username for whom the authorized keys to be setauthorizedKeys
- the string containing authorized keys, separated by '\n' character.RemoteException
- when username is invalidpublic void setAuthorizedKeys(String sessionId, String username, String authorizedKeys) throws RemoteException
IScmAppSoap
setAuthorizedKeys
in interface IScmAppSoap
sessionId
- the session keyusername
- username for whom the authorized keys to be setauthorizedKeys
- the string containing authorized keys, separated by '\n' character.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified username is invalid.RemoteException
Copyright © 2016 CollabNet. All Rights Reserved.