org.xwiki.rest.resources.attachments
Class AttachmentsResource
java.lang.Object
org.xwiki.rest.XWikiResource
org.xwiki.rest.resources.attachments.AttachmentsResource
- All Implemented Interfaces:
- org.xwiki.component.phase.Initializable, XWikiRestComponent
@Component(value="org.xwiki.rest.resources.attachments.AttachmentsResource")
public class AttachmentsResource
- extends XWikiResource
- Version:
- $Id: AttachmentsResource.java 21281 2009-06-13 19:22:09Z sdumitriu $
|
Method Summary |
javax.ws.rs.core.Response |
addAttachment(java.lang.String wikiName,
java.lang.String spaceName,
java.lang.String pageName,
javax.mail.Multipart multipart)
|
Attachments |
getAttachments(java.lang.String wikiName,
java.lang.String spaceName,
java.lang.String pageName,
java.lang.Integer start,
java.lang.Integer number)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentsResource
public AttachmentsResource()
getAttachments
public Attachments getAttachments(java.lang.String wikiName,
java.lang.String spaceName,
java.lang.String pageName,
java.lang.Integer start,
java.lang.Integer number)
throws com.xpn.xwiki.XWikiException
- Throws:
com.xpn.xwiki.XWikiException
addAttachment
public javax.ws.rs.core.Response addAttachment(java.lang.String wikiName,
java.lang.String spaceName,
java.lang.String pageName,
javax.mail.Multipart multipart)
throws javax.mail.MessagingException,
java.io.IOException,
com.xpn.xwiki.XWikiException
- Throws:
javax.mail.MessagingException
java.io.IOException
com.xpn.xwiki.XWikiException
Copyright © 2004-2009 XWiki. All Rights Reserved.