Class AttachmentsSoapService
java.lang.Object
com.atlassian.confluence.rpc.soap.services.AttachmentsSoapService
Implementation of remote methods for handling attachments.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAttachment
(long contentId, RemoteAttachment remoteAttachment, byte[] attachmentData) getAttachment
(long contentId, String fileName, int version) byte[]
getAttachmentData
(long contentId, String fileName, int version) boolean
moveAttachment
(long contentId, String name, long newContentId, String newName) boolean
removeAttachment
(long contentId, String fileName) void
setAttachmentManager
(AttachmentManager attachmentManager) void
setContentEntityManager
(ContentEntityManager contentEntityManager) void
setFileUploadManager
(FileUploadManager fileUploadManager) void
setPermissionManager
(PermissionManager permissionManager)
-
Constructor Details
-
AttachmentsSoapService
public AttachmentsSoapService()
-
-
Method Details
-
addAttachment
public RemoteAttachment addAttachment(long contentId, RemoteAttachment remoteAttachment, byte[] attachmentData) throws RemoteException - Throws:
RemoteException
-
getAttachment
public RemoteAttachment getAttachment(long contentId, String fileName, int version) throws RemoteException - Throws:
RemoteException
-
getAttachmentData
public byte[] getAttachmentData(long contentId, String fileName, int version) throws RemoteException - Throws:
RemoteException
-
removeAttachment
- Throws:
RemoteException
-
moveAttachment
public boolean moveAttachment(long contentId, String name, long newContentId, String newName) throws RemoteException - Throws:
RemoteException
-
setAttachmentManager
-
setContentEntityManager
-
setFileUploadManager
-
setPermissionManager
-