public interface IFileStorageAppSoap
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.
|
String uploadFile(String sessionId, DataHandler file) throws RemoteException
sessionId
- 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.RemoteException
DataHandler downloadFile(String sessionId, String fileStorageId) throws RemoteException
sessionId
- 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.RemoteException
DataHandler downloadFileDirect(String sessionId, String containerId, String rawFileId) throws RemoteException
sessionId
- 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.RemoteException
Copyright © 2016 CollabNet. All Rights Reserved.