com.collabnet.ce.soap60.webservices.frs
Interface IFrsAppSoap


public interface IFrsAppSoap

Provides SOAP services for managing the file release system.

Change History
Version 6.1
Version 5.4
Version 5.3
Version 4.4

Since:
4.1

Method Summary
 FrsFileSoapDO createFrsFile(java.lang.String sessionId, java.lang.String releaseId, java.lang.String fileName, java.lang.String mimeType, java.lang.String fileId)
          Creates a new FRS file and adds it to the specified release.
 PackageSoapDO createPackage(java.lang.String sessionId, java.lang.String projectId, java.lang.String title, java.lang.String description, boolean isPublished)
          Creates a new FRS package.
 ReleaseSoapDO createRelease(java.lang.String sessionId, java.lang.String packageId, java.lang.String title, java.lang.String description, java.lang.String status, java.lang.String maturity)
          Creates a new release within a specified package.
 void deleteFrsFile(java.lang.String sessionId, java.lang.String frsFileId)
          Deletes the specified file.
 void deletePackage(java.lang.String sessionId, java.lang.String packageId)
          Deletes the specified package.
 void deleteRelease(java.lang.String sessionId, java.lang.String releaseId)
          Deletes the specified release.
 ArtifactSoapList getArtifactListReportedInRelease(java.lang.String sessionId, java.lang.String releaseId)
          Lists artifacts that were found in the given release.
 ArtifactSoapList getArtifactListResolvedInRelease(java.lang.String sessionId, java.lang.String releaseId)
          Lists artifacts that were resolved in the given release.
 FrsFileSoapDO getFrsFileData(java.lang.String sessionId, java.lang.String frsFileId)
          Gets FRS file data.
 java.lang.String getFrsFileId(java.lang.String sessionId, java.lang.String frsFileId)
          Returns a temporary file storage object id to download an FRS file.
 FrsFileSoapList getFrsFileList(java.lang.String sessionId, java.lang.String releaseId)
          Returns a list of files within a release.
 PackageSoapDO getPackageData(java.lang.String sessionId, java.lang.String packageId)
          Returns package data.
 PackageSoapList getPackageList(java.lang.String sessionId, java.lang.String projectId)
          Lists packages within a project.
 ReleaseSoapDO getReleaseData(java.lang.String sessionId, java.lang.String releaseId)
          Returns the specified release data.
 ReleaseSoapList getReleaseList(java.lang.String sessionId, java.lang.String packageId)
          Lists the releases within a specified package.
 void setPackageData(java.lang.String sessionId, PackageSoapDO packageData)
          Returns package data.
 void setReleaseData(java.lang.String sessionId, ReleaseSoapDO releaseData)
          Sets the specified release data.
 

Method Detail

createPackage

PackageSoapDO createPackage(java.lang.String sessionId,
                            java.lang.String projectId,
                            java.lang.String title,
                            java.lang.String description,
                            boolean isPublished)
                            throws java.rmi.RemoteException
Creates a new FRS package. Requires OperationConstants.FRSAPPFOLDER_CREATE_CREATEPACKAGE
Change History
Version 4.4

Parameters:
sessionId - User session id.
projectId - The project id.
title - Package title.
description - Package description.
isPublished - Whether the package should be published
Returns:
Newly created package object.
Throws:
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.NoSuchObjectFault - when the specified object id is invalid.
com.collabnet.ce.soap60.fault.IllegalArgumentFault - when one or more parameters are invalid.
com.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
Since:
4.1

getPackageList

PackageSoapList getPackageList(java.lang.String sessionId,
                               java.lang.String projectId)
                               throws java.rmi.RemoteException
Lists packages within a project.

Parameters:
sessionId - User session id.
projectId - The project id.
Returns:
List of packages within the specified project.
Throws:
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.NoSuchObjectFault - when the specified object id is invalid.
com.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
Since:
4.1

getPackageData

PackageSoapDO getPackageData(java.lang.String sessionId,
                             java.lang.String packageId)
                             throws java.rmi.RemoteException
Returns package data.

Parameters:
sessionId - User session id.
packageId - The package id.
Returns:
Package object data.
Throws:
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.NoSuchObjectFault - when the specified object id is invalid.
com.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
Since:
4.1

setPackageData

void setPackageData(java.lang.String sessionId,
                    PackageSoapDO packageData)
                    throws java.rmi.RemoteException
Returns package data. Requires OperationConstants.PACKAGE_EDIT_EDIT

Parameters:
sessionId - User session id.
packageData - The package object to edit.
Throws:
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.NoSuchObjectFault - when the specified object id is invalid.
com.collabnet.ce.soap60.fault.VersionMismatchFault - when package data is stale.
com.collabnet.ce.soap60.fault.IllegalArgumentFault - when one or more parameters are invalid.
com.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
Since:
4.1

deletePackage

void deletePackage(java.lang.String sessionId,
                   java.lang.String packageId)
                   throws java.rmi.RemoteException
Deletes the specified package.

Parameters:
sessionId - User session id.
packageId - The package id.
Throws:
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.NoSuchObjectFault - when the specified object id is invalid.
com.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
Since:
4.1

getReleaseList

ReleaseSoapList getReleaseList(java.lang.String sessionId,
                               java.lang.String packageId)
                               throws java.rmi.RemoteException
Lists the releases within a specified package.

Parameters:
sessionId - User session id.
packageId - The package id.
Returns:
List of releases within the specified package.
Throws:
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.NoSuchObjectFault - when the specified object id is invalid.
com.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
Since:
4.1

createRelease

ReleaseSoapDO createRelease(java.lang.String sessionId,
                            java.lang.String packageId,
                            java.lang.String title,
                            java.lang.String description,
                            java.lang.String status,
                            java.lang.String maturity)
                            throws java.rmi.RemoteException
Creates a new release within a specified package.

Parameters:
sessionId - User session id.
packageId - The package id.
title - Release title.
description - Release description.
status - Release status ("active", "pending")
maturity - Maturity level ("Alpha", etc.)
Returns:
Newly created release object.
Throws:
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.NoSuchObjectFault - when the specified object id is invalid.
com.collabnet.ce.soap60.fault.IllegalArgumentFault - when one or more parameters are invalid.
com.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
Since:
4.1

deleteRelease

void deleteRelease(java.lang.String sessionId,
                   java.lang.String releaseId)
                   throws java.rmi.RemoteException
Deletes the specified release.

Parameters:
sessionId - User session id.
releaseId - The release id.
Throws:
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.NoSuchObjectFault - when the specified object id is invalid.
com.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
Since:
4.1

getReleaseData

ReleaseSoapDO getReleaseData(java.lang.String sessionId,
                             java.lang.String releaseId)
                             throws java.rmi.RemoteException
Returns the specified release data.

Parameters:
sessionId - User session id.
releaseId - The release id.
Returns:
Release data.
Throws:
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.NoSuchObjectFault - when the specified object id is invalid.
com.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
Since:
4.1

setReleaseData

void setReleaseData(java.lang.String sessionId,
                    ReleaseSoapDO releaseData)
                    throws java.rmi.RemoteException
Sets the specified release data.

Parameters:
sessionId - User session id.
releaseData - The release object.
Throws:
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.NoSuchObjectFault - when the specified object id is invalid.
com.collabnet.ce.soap60.fault.VersionMismatchFault - when package data is stale.
com.collabnet.ce.soap60.fault.IllegalArgumentFault - when release data is invalid.
com.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
Since:
4.1

createFrsFile

FrsFileSoapDO createFrsFile(java.lang.String sessionId,
                            java.lang.String releaseId,
                            java.lang.String fileName,
                            java.lang.String mimeType,
                            java.lang.String fileId)
                            throws java.rmi.RemoteException
Creates a new FRS file and adds it to the specified release.

Parameters:
sessionId - User session id.
releaseId - The release id.
fileName - Name of the attached file.
mimeType - File mime type.
fileId - Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).
Returns:
Newly created frs file object.
Throws:
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.NoSuchObjectFault - when the specified object id is invalid.
com.collabnet.ce.soap60.fault.IllegalArgumentFault - when one or more parameters are invalid.
com.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
Since:
4.1

getFrsFileData

FrsFileSoapDO getFrsFileData(java.lang.String sessionId,
                             java.lang.String frsFileId)
                             throws java.rmi.RemoteException
Gets FRS file data.

Parameters:
sessionId - SOAP session id.
frsFileId - FRS file id of the object to retrieve.
Returns:
the FRS file data.
Throws:
com.collabnet.ce.soap60.fault.InvalidSessionFault - when SOAP session id is invalid.
com.collabnet.ce.soap60.fault.NoSuchObjectFault - when frsFileId does not exist.
com.collabnet.ce.soap60.fault.PermissionDeniedFault - when permissions are insufficient.
com.collabnet.ce.soap60.fault.SystemFault - when an unexpected error occurs.
com.collabnet.ce.soap60.fault.IllegalArgumentFault - when an argument is invalid.
java.rmi.RemoteException
Since:
4.2

getFrsFileList

FrsFileSoapList getFrsFileList(java.lang.String sessionId,
                               java.lang.String releaseId)
                               throws java.rmi.RemoteException
Returns a list of files within a release.

Parameters:
sessionId - User session id.
releaseId - The release id.
Returns:
List of files within the specified release.
Throws:
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.NoSuchObjectFault - when the specified object id is invalid.
com.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
Since:
4.1

deleteFrsFile

void deleteFrsFile(java.lang.String sessionId,
                   java.lang.String frsFileId)
                   throws java.rmi.RemoteException
Deletes the specified file.

Parameters:
sessionId - User session id.
frsFileId - The frs file id.
Throws:
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.NoSuchObjectFault - when the specified object id is invalid.
com.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
Since:
4.1

getFrsFileId

java.lang.String getFrsFileId(java.lang.String sessionId,
                              java.lang.String frsFileId)
                              throws java.rmi.RemoteException
Returns a temporary file storage object id to download an FRS file. The returned file storage id should be used with one of the file storage services to download the file (e.g. FileStorageApp or SimpleFileStorageApp service).
IMPORTANT: The returned file id is valid ONLY during the session.

Parameters:
sessionId - User session id.
frsFileId - FRS File id.
Returns:
File storage id (for download using FileStorageService or SimpleFileStorageService).
Throws:
com.collabnet.ce.soap60.fault.InvalidSessionFault - when the sessionId is invalid.
com.collabnet.ce.soap60.fault.PermissionDeniedFault - when permission is denied for the specified operation.
com.collabnet.ce.soap60.fault.NoSuchObjectFault - when the specified object is invalid.
com.collabnet.ce.soap60.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
Since:
4.1

getArtifactListReportedInRelease

ArtifactSoapList getArtifactListReportedInRelease(java.lang.String sessionId,
                                                  java.lang.String releaseId)
                                                  throws java.rmi.RemoteException
Lists artifacts that were found in the given release.

Parameters:
sessionId - User session id.
releaseId - The id of the release
Returns:
List of the artifacts reported in the given release.
Throws:
com.collabnet.ce.soap60.fault.InvalidSessionFault - when the specified session id is invalid.
com.collabnet.ce.soap60.fault.NoSuchObjectFault - when the specified object 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.
java.rmi.RemoteException
Since:
5.3

getArtifactListResolvedInRelease

ArtifactSoapList getArtifactListResolvedInRelease(java.lang.String sessionId,
                                                  java.lang.String releaseId)
                                                  throws java.rmi.RemoteException
Lists artifacts that were resolved in the given release.

Parameters:
sessionId - User session id.
releaseId - The id of the release
Returns:
List of the artifacts resolved in the given release.
Throws:
com.collabnet.ce.soap60.fault.InvalidSessionFault - when the specified session id is invalid.
com.collabnet.ce.soap60.fault.NoSuchObjectFault - when the specified object 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.
java.rmi.RemoteException
Since:
5.3