org.xwiki.rest.resources.attachments
Interface AttachmentResource


public interface AttachmentResource

Version:
$Id: d21532bda221ebaa27687e4ecd50e3e5a98c9d38 $

Method Summary
 void deleteAttachment(String wikiName, String spaceName, String pageName, String attachmentName)
           
 javax.ws.rs.core.Response getAttachment(String wikiName, String spaceName, String pageName, String attachmentName)
           
 javax.ws.rs.core.Response putAttachment(String wikiName, String spaceName, String pageName, String attachmentName, byte[] content)
           
 

Method Detail

getAttachment

javax.ws.rs.core.Response getAttachment(String wikiName,
                                        String spaceName,
                                        String pageName,
                                        String attachmentName)
                                        throws XWikiRestException
Throws:
XWikiRestException

putAttachment

javax.ws.rs.core.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


Copyright © 2004-2012 XWiki. All Rights Reserved.