public interface IFileStorageAppSoap
Modifier and Type | Method and Description |
---|---|
javax.activation.DataHandler |
downloadFile(java.lang.String sessionId,
java.lang.String fileStorageId)
Downloads file as SOAP attachment.
|
javax.activation.DataHandler |
downloadFileDirect(java.lang.String sessionId,
java.lang.String containerId,
java.lang.String rawFileId)
Downloads file Direct as SOAP attachment.
|
java.lang.String |
uploadFile(java.lang.String sessionId,
javax.activation.DataHandler file)
Uploads a file as SOAP attachment.
|
java.lang.String uploadFile(java.lang.String sessionId, javax.activation.DataHandler file) throws java.rmi.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.java.rmi.RemoteException
javax.activation.DataHandler downloadFile(java.lang.String sessionId, java.lang.String fileStorageId) throws java.rmi.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.java.rmi.RemoteException
javax.activation.DataHandler downloadFileDirect(java.lang.String sessionId, java.lang.String containerId, java.lang.String rawFileId) throws java.rmi.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.java.rmi.RemoteException