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 long
createAttachment(long contentId, Attachment attachment)
void
editAttachment(Attachment oldAttachment, Attachment newAttachment)
Edit either the owning page or the filename of the attachment.Attachment
getAttachment(long contentId, String fileName)
Attachment
getAttachment(long contentId, String fileName, String version)
long
getAttachmentId(long contentId, String fileName)
List<Attachment>
getAttachments(Page homePage)
void
removeAttachment(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)
-
-