org.xwiki.rest.resources.attachments
Interface AttachmentResource

All Known Implementing Classes:
AttachmentResourceImpl

public interface AttachmentResource


Method Summary
 void deleteAttachment(String wikiName, String spaceName, String pageName, String attachmentName)
           
 Response getAttachment(String wikiName, String spaceName, String pageName, String attachmentName)
           
 Response putAttachment(String wikiName, String spaceName, String pageName, String attachmentName, byte[] content)
           
 

Method Detail

getAttachment

Response getAttachment(String wikiName,
                       String spaceName,
                       String pageName,
                       String attachmentName)
                       throws XWikiRestException
Throws:
XWikiRestException

putAttachment

Response putAttachment(String wikiName,
                       String spaceName,
                       String pageName,
                       String attachmentName,
                       byte[] content)
                       throws XWikiRestException
Throws:
XWikiRestException

deleteAttachment

void deleteAttachment(String wikiName,
                      String spaceName,
                      String pageName,
                      String attachmentName)
                      throws XWikiRestException
Throws:
XWikiRestException