Class XmlRpcAttachmentClient


  • public class XmlRpcAttachmentClient
    extends Object
    Makes XML-RPC calls for Confluence Attachments.
    • Constructor Detail

      • XmlRpcAttachmentClient

        public XmlRpcAttachmentClient​(ConfluenceRpc rpc)
    • Method Detail

      • getAttachment

        public Attachment getAttachment​(long contentId,
                                        String fileName)
      • getAttachmentId

        public long getAttachmentId​(long contentId,
                                    String fileName)
      • createAttachment

        public long createAttachment​(long contentId,
                                     Attachment attachment)
      • editAttachment

        public void editAttachment​(Attachment oldAttachment,
                                   Attachment newAttachment)
        Edit either the owning page or the filename of the attachment.
      • removeAttachment

        public void removeAttachment​(long pageId,
                                     String fileName)