Class FrsAppSoapStub
- java.lang.Object
-
- com.collabnet.ce.soap60.webservices.ClientSoapStub
-
- com.collabnet.ce.soap60.webservices.frs.FrsAppSoapStub
-
- All Implemented Interfaces:
IFrsAppSoap
public class FrsAppSoapStub extends ClientSoapStub implements IFrsAppSoap
-
-
Field Summary
-
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT
-
-
Constructor Summary
Constructors Constructor Description FrsAppSoapStub(String soapServerUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FrsFileSoapDOcreateFrsFile(String sessionId, String releaseId, String fileName, String mimeType, String fileId)Creates a new FRS file and adds it to the specified release.PackageSoapDOcreatePackage(String sessionId, String projectId, String title, String description, boolean isPublished)Creates a new FRS package.ReleaseSoapDOcreateRelease(String sessionId, String packageId, String title, String description, String status, String maturity)Creates a new release within a specified package.voiddeleteFrsFile(String sessionId, String frsFileId)Deletes the specified file.voiddeletePackage(String sessionId, String packageId)Deletes the specified package.voiddeleteRelease(String sessionId, String releaseId)Deletes the specified release.ArtifactSoapListgetArtifactListReportedInRelease(String sessionId, String releaseId)Lists artifacts that were found in the given release.Artifact2SoapListgetArtifactListReportedInRelease2(String sessionId, String releaseId)Lists artifacts that were found in the given release.ArtifactSoapListgetArtifactListResolvedInRelease(String sessionId, String releaseId)Lists artifacts that were resolved in the given release.Artifact2SoapListgetArtifactListResolvedInRelease2(String sessionId, String releaseId)Lists artifacts that were resolved in the given release.FrsFileSoapDOgetFrsFileData(String sessionId, String frsFileId)Gets FRS file data.StringgetFrsFileId(String sessionId, String frsFileId)Returns a temporary file storage object id to download an FRS file.FrsFileSoapListgetFrsFileList(String sessionId, String releaseId)Returns a list of files within a release.PackageSoapDOgetPackageData(String sessionId, String packageId)Returns package data.PackageSoapListgetPackageList(String sessionId, String projectId)Lists packages within a project.ReleaseSoapDOgetReleaseData(String sessionId, String releaseId)Returns the specified release data.ReleaseSoapListgetReleaseList(String sessionId, String packageId)Lists the releases within a specified package.voidsetPackageData(String sessionId, PackageSoapDO packageData)Returns package data.voidsetReleaseData(String sessionId, ReleaseSoapDO releaseData)Sets the specified release data.-
Methods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
getServiceCall, getSoapServer, getTimeout, setTimeout, soapParam
-
-
-
-
Constructor Detail
-
FrsAppSoapStub
public FrsAppSoapStub(String soapServerUrl)
-
-
Method Detail
-
createPackage
public PackageSoapDO createPackage(String sessionId, String projectId, String title, String description, boolean isPublished) throws RemoteException
Description copied from interface:IFrsAppSoapCreates a new FRS package.- Specified by:
createPackagein interfaceIFrsAppSoap- 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:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- when one or more parameters are invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
getPackageList
public PackageSoapList getPackageList(String sessionId, String projectId) throws RemoteException
Description copied from interface:IFrsAppSoapLists packages within a project.- Specified by:
getPackageListin interfaceIFrsAppSoap- Parameters:
sessionId- User session id.projectId- The project id.- Returns:
- List of packages within the specified project.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
getPackageData
public PackageSoapDO getPackageData(String sessionId, String packageId) throws RemoteException
Description copied from interface:IFrsAppSoapReturns package data.- Specified by:
getPackageDatain interfaceIFrsAppSoap- Parameters:
sessionId- User session id.packageId- The package id.- Returns:
- Package object data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
setPackageData
public void setPackageData(String sessionId, PackageSoapDO packageData) throws RemoteException
Description copied from interface:IFrsAppSoapReturns package data.Requires OperationConstants.PACKAGE_EDIT_EDIT
- Specified by:
setPackageDatain interfaceIFrsAppSoap- Parameters:
sessionId- User session id.packageData- The package object to edit.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.VersionMismatchFault- when package data is stale.IllegalArgumentFault- when one or more parameters are invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
deletePackage
public void deletePackage(String sessionId, String packageId) throws RemoteException
Description copied from interface:IFrsAppSoapDeletes the specified package.- Specified by:
deletePackagein interfaceIFrsAppSoap- Parameters:
sessionId- User session id.packageId- The package id.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
getReleaseList
public ReleaseSoapList getReleaseList(String sessionId, String packageId) throws RemoteException
Description copied from interface:IFrsAppSoapLists the releases within a specified package.- Specified by:
getReleaseListin interfaceIFrsAppSoap- Parameters:
sessionId- User session id.packageId- The package id.- Returns:
- List of releases within the specified package.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
createRelease
public ReleaseSoapDO createRelease(String sessionId, String packageId, String title, String description, String status, String maturity) throws RemoteException
Description copied from interface:IFrsAppSoapCreates a new release within a specified package. 'obsolete' status value is supported since TeamForge 20.1- Specified by:
createReleasein interfaceIFrsAppSoap- Parameters:
sessionId- User session id.packageId- The package id.title- Release title.description- Release description.status- Release status ("active", "pending", "obsolete")maturity- Maturity level ("Alpha", etc.)- Returns:
- Newly created release object.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- when one or more parameters are invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
deleteRelease
public void deleteRelease(String sessionId, String releaseId) throws RemoteException
Description copied from interface:IFrsAppSoapDeletes the specified release.- Specified by:
deleteReleasein interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseId- The release id.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
getReleaseData
public ReleaseSoapDO getReleaseData(String sessionId, String releaseId) throws RemoteException
Description copied from interface:IFrsAppSoapReturns the specified release data.- Specified by:
getReleaseDatain interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseId- The release id.- Returns:
- Release data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
setReleaseData
public void setReleaseData(String sessionId, ReleaseSoapDO releaseData) throws RemoteException
Description copied from interface:IFrsAppSoapSets the specified release data. 'obsolete' status value is supported since TeamForge 20.1- Specified by:
setReleaseDatain interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseData- The release object.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.VersionMismatchFault- when package data is stale.IllegalArgumentFault- when release data is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
createFrsFile
public FrsFileSoapDO createFrsFile(String sessionId, String releaseId, String fileName, String mimeType, String fileId) throws RemoteException
Description copied from interface:IFrsAppSoapCreates a new FRS file and adds it to the specified release.- Specified by:
createFrsFilein interfaceIFrsAppSoap- 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:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- when one or more parameters are invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
getFrsFileData
public FrsFileSoapDO getFrsFileData(String sessionId, String frsFileId) throws RemoteException
Description copied from interface:IFrsAppSoapGets FRS file data.- Specified by:
getFrsFileDatain interfaceIFrsAppSoap- Parameters:
sessionId- SOAP session id.frsFileId- FRS file id of the object to retrieve.- Returns:
- the FRS file data.
- Throws:
InvalidSessionFault- when SOAP session id is invalid.NoSuchObjectFault- when frsFileId does not exist.PermissionDeniedFault- when permissions are insufficient.SystemFault- when an unexpected error occurs.IllegalArgumentFault- when an argument is invalid.RemoteException
-
getFrsFileList
public FrsFileSoapList getFrsFileList(String sessionId, String releaseId) throws RemoteException
Description copied from interface:IFrsAppSoapReturns a list of files within a release.- Specified by:
getFrsFileListin interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseId- The release id.- Returns:
- List of files within the specified release.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
deleteFrsFile
public void deleteFrsFile(String sessionId, String frsFileId) throws RemoteException
Description copied from interface:IFrsAppSoapDeletes the specified file.- Specified by:
deleteFrsFilein interfaceIFrsAppSoap- Parameters:
sessionId- User session id.frsFileId- The frs file id.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
getFrsFileId
public String getFrsFileId(String sessionId, String frsFileId) throws RemoteException
Description copied from interface:IFrsAppSoapReturns a temporary file storage object id to download an FRS file.- Specified by:
getFrsFileIdin interfaceIFrsAppSoap- Parameters:
sessionId- User session id.frsFileId- FRS File id.- Returns:
- File storage id (for download using FileStorageService or SimpleFileStorageService).
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.SystemFault- when an unexpected system error occurs.RemoteException
-
getArtifactListReportedInRelease
public ArtifactSoapList getArtifactListReportedInRelease(String sessionId, String releaseId) throws RemoteException
Description copied from interface:IFrsAppSoapLists artifacts that were found in the given release.- Specified by:
getArtifactListReportedInReleasein interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseId- The id of the release- Returns:
- List of the artifacts reported in the given release.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
getArtifactListReportedInRelease2
public Artifact2SoapList getArtifactListReportedInRelease2(String sessionId, String releaseId) throws RemoteException
Description copied from interface:IFrsAppSoapLists artifacts that were found in the given release.- Specified by:
getArtifactListReportedInRelease2in interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseId- The id of the release- Returns:
- List of the artifacts reported in the given release.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
getArtifactListResolvedInRelease
public ArtifactSoapList getArtifactListResolvedInRelease(String sessionId, String releaseId) throws RemoteException
Description copied from interface:IFrsAppSoapLists artifacts that were resolved in the given release.- Specified by:
getArtifactListResolvedInReleasein interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseId- The id of the release- Returns:
- List of the artifacts resolved in the given release.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
getArtifactListResolvedInRelease2
public Artifact2SoapList getArtifactListResolvedInRelease2(String sessionId, String releaseId) throws RemoteException
Description copied from interface:IFrsAppSoapLists artifacts that were resolved in the given release.- Specified by:
getArtifactListResolvedInRelease2in interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseId- The id of the release- Returns:
- List of the artifacts resolved in the given release.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException
-
-