Class AttachmentsSoapService
- java.lang.Object
-
- com.atlassian.confluence.rpc.soap.services.AttachmentsSoapService
-
public class AttachmentsSoapService extends Object
Implementation of remote methods for handling attachments.
-
-
Constructor Summary
Constructors Constructor Description AttachmentsSoapService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteAttachmentaddAttachment(long contentId, RemoteAttachment remoteAttachment, byte[] attachmentData)RemoteAttachmentgetAttachment(long contentId, String fileName, int version)byte[]getAttachmentData(long contentId, String fileName, int version)booleanmoveAttachment(long contentId, String name, long newContentId, String newName)booleanremoveAttachment(long contentId, String fileName)voidsetAttachmentManager(AttachmentManager attachmentManager)voidsetContentEntityManager(ContentEntityManager contentEntityManager)voidsetFileUploadManager(FileUploadManager fileUploadManager)voidsetPermissionManager(PermissionManager permissionManager)
-
-
-
Method Detail
-
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
public boolean removeAttachment(long contentId, String fileName) throws RemoteException- Throws:
RemoteException
-
moveAttachment
public boolean moveAttachment(long contentId, String name, long newContentId, String newName) throws RemoteException- Throws:
RemoteException
-
setAttachmentManager
public void setAttachmentManager(AttachmentManager attachmentManager)
-
setContentEntityManager
public void setContentEntityManager(ContentEntityManager contentEntityManager)
-
setFileUploadManager
public void setFileUploadManager(FileUploadManager fileUploadManager)
-
setPermissionManager
public void setPermissionManager(PermissionManager permissionManager)
-
-