Class XmlRpcAttachmentClient
- java.lang.Object
-
- com.atlassian.confluence.it.rpc.xmlrpc.XmlRpcAttachmentClient
-
public class XmlRpcAttachmentClient extends Object
Makes XML-RPC calls for Confluence Attachments.
-
-
Constructor Summary
Constructors Constructor Description XmlRpcAttachmentClient(ConfluenceRpc rpc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcreateAttachment(long contentId, Attachment attachment)voideditAttachment(Attachment oldAttachment, Attachment newAttachment)Edit either the owning page or the filename of the attachment.AttachmentgetAttachment(long contentId, String fileName)AttachmentgetAttachment(long contentId, String fileName, String version)longgetAttachmentId(long contentId, String fileName)List<Attachment>getAttachments(Page homePage)voidremoveAttachment(long pageId, String fileName)
-
-
-
Constructor Detail
-
XmlRpcAttachmentClient
public XmlRpcAttachmentClient(ConfluenceRpc rpc)
-
-
Method Detail
-
getAttachment
public Attachment getAttachment(long contentId, String fileName)
-
getAttachment
public Attachment getAttachment(long contentId, String fileName, String version)
-
getAttachmentId
public long getAttachmentId(long contentId, String fileName)
-
getAttachments
public List<Attachment> getAttachments(Page homePage)
-
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)
-
-