public class FrsAppSoapStub extends com.collabnet.ce.soap60.webservices.ClientSoapStub implements IFrsAppSoap
Constructor and Description |
---|
FrsAppSoapStub(String soapServerUrl) |
Modifier and Type | Method and Description |
---|---|
FrsFileSoapDO |
createFrsFile(String sessionId,
String releaseId,
String fileName,
String mimeType,
String fileId)
Creates a new FRS file and adds it to the specified release.
|
PackageSoapDO |
createPackage(String sessionId,
String projectId,
String title,
String description,
boolean isPublished)
Creates a new FRS package.
|
ReleaseSoapDO |
createRelease(String sessionId,
String packageId,
String title,
String description,
String status,
String maturity)
Creates a new release within a specified package.
|
void |
deleteFrsFile(String sessionId,
String frsFileId)
Deletes the specified file.
|
void |
deletePackage(String sessionId,
String packageId)
Deletes the specified package.
|
void |
deleteRelease(String sessionId,
String releaseId)
Deletes the specified release.
|
ArtifactSoapList |
getArtifactListReportedInRelease(String sessionId,
String releaseId)
Lists artifacts that were found in the given release.
|
Artifact2SoapList |
getArtifactListReportedInRelease2(String sessionId,
String releaseId)
Lists artifacts that were found in the given release.
|
ArtifactSoapList |
getArtifactListResolvedInRelease(String sessionId,
String releaseId)
Lists artifacts that were resolved in the given release.
|
Artifact2SoapList |
getArtifactListResolvedInRelease2(String sessionId,
String releaseId)
Lists artifacts that were resolved in the given release.
|
FrsFileSoapDO |
getFrsFileData(String sessionId,
String frsFileId)
Gets FRS file data.
|
String |
getFrsFileId(String sessionId,
String frsFileId)
Returns a temporary file storage object id to download an FRS file.
|
FrsFileSoapList |
getFrsFileList(String sessionId,
String releaseId)
Returns a list of files within a release.
|
PackageSoapDO |
getPackageData(String sessionId,
String packageId)
Returns package data.
|
PackageSoapList |
getPackageList(String sessionId,
String projectId)
Lists packages within a project.
|
ReleaseSoapDO |
getReleaseData(String sessionId,
String releaseId)
Returns the specified release data.
|
ReleaseSoapList |
getReleaseList(String sessionId,
String packageId)
Lists the releases within a specified package.
|
void |
setPackageData(String sessionId,
PackageSoapDO packageData)
Returns package data.
|
void |
setReleaseData(String sessionId,
ReleaseSoapDO releaseData)
Sets the specified release data.
|
public FrsAppSoapStub(String soapServerUrl)
public PackageSoapDO createPackage(String sessionId, String projectId, String title, String description, boolean isPublished) throws RemoteException
IFrsAppSoap
Requires OperationConstants.FRSAPPFOLDER_CREATE_CREATEPACKAGE
isPublished
createPackage
in interface IFrsAppSoap
sessionId
- User session id.projectId
- The project id.title
- Package title.description
- Package description.isPublished
- Whether the package should be publishedcom.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.RemoteException
public PackageSoapList getPackageList(String sessionId, String projectId) throws RemoteException
IFrsAppSoap
getPackageList
in interface IFrsAppSoap
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.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.RemoteException
public PackageSoapDO getPackageData(String sessionId, String packageId) throws RemoteException
IFrsAppSoap
getPackageData
in interface IFrsAppSoap
sessionId
- User session id.packageId
- The package 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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public void setPackageData(String sessionId, PackageSoapDO packageData) throws RemoteException
IFrsAppSoap
Requires OperationConstants.PACKAGE_EDIT_EDIT
setPackageData
in interface IFrsAppSoap
sessionId
- User session id.packageData
- The package object to edit.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.RemoteException
public void deletePackage(String sessionId, String packageId) throws RemoteException
IFrsAppSoap
deletePackage
in interface IFrsAppSoap
sessionId
- User session id.packageId
- The package 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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public ReleaseSoapList getReleaseList(String sessionId, String packageId) throws RemoteException
IFrsAppSoap
getReleaseList
in interface IFrsAppSoap
sessionId
- User session id.packageId
- The package 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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public ReleaseSoapDO createRelease(String sessionId, String packageId, String title, String description, String status, String maturity) throws RemoteException
IFrsAppSoap
createRelease
in interface IFrsAppSoap
sessionId
- User session id.packageId
- The package id.title
- Release title.description
- Release description.status
- Release status ("active", "pending")maturity
- Maturity level ("Alpha", etc.)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.RemoteException
public void deleteRelease(String sessionId, String releaseId) throws RemoteException
IFrsAppSoap
deleteRelease
in interface IFrsAppSoap
sessionId
- User session id.releaseId
- The release 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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public ReleaseSoapDO getReleaseData(String sessionId, String releaseId) throws RemoteException
IFrsAppSoap
getReleaseData
in interface IFrsAppSoap
sessionId
- User session id.releaseId
- The release 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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public void setReleaseData(String sessionId, ReleaseSoapDO releaseData) throws RemoteException
IFrsAppSoap
setReleaseData
in interface IFrsAppSoap
sessionId
- User session id.releaseData
- The release object.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.RemoteException
public FrsFileSoapDO createFrsFile(String sessionId, String releaseId, String fileName, String mimeType, String fileId) throws RemoteException
IFrsAppSoap
createFrsFile
in interface IFrsAppSoap
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).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.RemoteException
public FrsFileSoapDO getFrsFileData(String sessionId, String frsFileId) throws RemoteException
IFrsAppSoap
getFrsFileData
in interface IFrsAppSoap
sessionId
- SOAP session id.frsFileId
- FRS file id of the object to retrieve.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.RemoteException
public FrsFileSoapList getFrsFileList(String sessionId, String releaseId) throws RemoteException
IFrsAppSoap
getFrsFileList
in interface IFrsAppSoap
sessionId
- User session id.releaseId
- The release 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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public void deleteFrsFile(String sessionId, String frsFileId) throws RemoteException
IFrsAppSoap
deleteFrsFile
in interface IFrsAppSoap
sessionId
- User session id.frsFileId
- The frs file 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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
public String getFrsFileId(String sessionId, String frsFileId) throws RemoteException
IFrsAppSoap
getFrsFileId
in interface IFrsAppSoap
sessionId
- User session id.frsFileId
- FRS File id.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.RemoteException
public ArtifactSoapList getArtifactListReportedInRelease(String sessionId, String releaseId) throws RemoteException
IFrsAppSoap
getArtifactListReportedInRelease
in interface IFrsAppSoap
sessionId
- User session id.releaseId
- The id of the releasecom.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.RemoteException
public Artifact2SoapList getArtifactListReportedInRelease2(String sessionId, String releaseId) throws RemoteException
IFrsAppSoap
Artifact2SoapList
that adds the autoSummingpoints and Team field information on the artifactgetArtifactListReportedInRelease2
in interface IFrsAppSoap
sessionId
- User session id.releaseId
- The id of the releasecom.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.RemoteException
public ArtifactSoapList getArtifactListResolvedInRelease(String sessionId, String releaseId) throws RemoteException
IFrsAppSoap
getArtifactListResolvedInRelease
in interface IFrsAppSoap
sessionId
- User session id.releaseId
- The id of the releasecom.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.RemoteException
public Artifact2SoapList getArtifactListResolvedInRelease2(String sessionId, String releaseId) throws RemoteException
IFrsAppSoap
Artifact2SoapList
that adds the autoSummingPoints and Team field information on the artifact.getArtifactListResolvedInRelease2
in interface IFrsAppSoap
sessionId
- User session id.releaseId
- The id of the releasecom.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.RemoteException
Copyright © 2017 CollabNet. All Rights Reserved.