com.atlassian.confluence.it.rpc.delegates
Class AttachmentRpc
java.lang.Object
com.atlassian.confluence.it.rpc.delegates.AttachmentRpc
public class AttachmentRpc
- extends java.lang.Object
Makes remote calls to perform CRUD operations on Attachment Content entities, when the ContentRpc
doesn't provide enough Attachment-specific behaviour.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentRpc
public AttachmentRpc(AuthenticatedWebResourceProvider provider)
addAttachment
public Attachment addAttachment(ContentId contentId,
Attachment attachment)
addAttachments
public java.util.List<Attachment> addAttachments(ContentId contentId,
Attachment... attachments)
getAttachment
public Attachment getAttachment(ContentId contentId,
java.lang.String fileName)
getAttachments
public java.util.List<Attachment> getAttachments(Page page)
updateAttachment
public Attachment updateAttachment(Attachment attachment)
updateData
public Attachment updateData(Attachment attachment)
remove
public void remove(ContentId pageId,
java.lang.String fileName)
Copyright © 2003-2014 Atlassian. All Rights Reserved.