public class XmlRpcAttachmentClient extends Object
Constructor and Description |
---|
XmlRpcAttachmentClient(ConfluenceRpc rpc) |
Modifier and Type | Method and 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) |
public XmlRpcAttachmentClient(ConfluenceRpc rpc)
public Attachment getAttachment(long contentId, String fileName)
public Attachment getAttachment(long contentId, String fileName, String version)
public long getAttachmentId(long contentId, String fileName)
public List<Attachment> getAttachments(Page homePage)
public long createAttachment(long contentId, Attachment attachment)
public void editAttachment(Attachment oldAttachment, Attachment newAttachment)
public void removeAttachment(long pageId, String fileName)
Copyright © 2003–2016 Atlassian. All rights reserved.