public class FileStorageAppSoapStub extends com.collabnet.ce.soap60.webservices.ClientSoapStub implements IFileStorageAppSoap
| Constructor and Description |
|---|
FileStorageAppSoapStub(String soapServerUrl) |
| Modifier and Type | Method and Description |
|---|---|
DataHandler |
downloadFile(String sessionId,
String fileStorageId)
Downloads file as SOAP attachment.
|
DataHandler |
downloadFileDirect(String sessionId,
String containerId,
String rawFileId)
Downloads file Direct as SOAP attachment.
|
String |
uploadFile(String sessionId,
DataHandler file)
Uploads a file as SOAP attachment.
|
public FileStorageAppSoapStub(String soapServerUrl)
public String uploadFile(String sessionId, DataHandler file) throws RemoteException
IFileStorageAppSoapuploadFile in interface IFileStorageAppSoapsessionId - User session id.file - SOAP file attachment.com.collabnet.ce.soap60.fault.InvalidSessionFault - when session is invalid (or not active).com.collabnet.ce.soap60.fault.SystemFault - when a system level error occurs.RemoteExceptionpublic DataHandler downloadFile(String sessionId, String fileStorageId) throws RemoteException
IFileStorageAppSoapdownloadFile in interface IFileStorageAppSoapsessionId - User session id.fileStorageId - Id of temporary file storage returned by DocmentApp.getDocumentFileId or FrsApp.getFrsFileIdcom.collabnet.ce.soap60.fault.InvalidSessionFault - when session is invalid (or not active).com.collabnet.ce.soap60.fault.PermissionDeniedFault - when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault - when a system level error occurs.com.collabnet.ce.soap60.fault.IllegalArgumentFault - when the specified fileStorageId is invalid.RemoteExceptionpublic DataHandler downloadFileDirect(String sessionId, String containerId, String rawFileId) throws RemoteException
IFileStorageAppSoapdownloadFileDirect in interface IFileStorageAppSoapsessionId - User session id.containerId - The Folder which houses the attachmentrawFileId - FileId to be downloadedcom.collabnet.ce.soap60.fault.InvalidSessionFault - when session is invalid (or not active).com.collabnet.ce.soap60.fault.PermissionDeniedFault - when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault - when a system level error occurs.RemoteExceptionCopyright © 2016 CollabNet. All Rights Reserved.