org.xwiki.rest.resources.pages
Class PageResource

java.lang.Object
  extended by org.xwiki.rest.XWikiResource
      extended by org.xwiki.rest.resources.pages.ModifiablePageResource
          extended by org.xwiki.rest.resources.pages.PageResource
All Implemented Interfaces:
org.xwiki.component.phase.Initializable, XWikiRestComponent

@Component(value="org.xwiki.rest.resources.pages.PageResource")
public class PageResource
extends ModifiablePageResource

Version:
$Id: PageResource.java 21281 2009-06-13 19:22:09Z sdumitriu $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.xwiki.rest.XWikiResource
XWikiResource.DocumentInfo
 
Field Summary
 
Fields inherited from class org.xwiki.rest.XWikiResource
componentManager, logger, objectFactory, queryManager, uriInfo, xwiki, xwikiApi, xwikiContext, xwikiUser
 
Constructor Summary
PageResource()
           
 
Method Summary
 void deletePage(java.lang.String wikiName, java.lang.String spaceName, java.lang.String pageName)
           
 Page getPage(java.lang.String wikiName, java.lang.String spaceName, java.lang.String pageName)
           
 javax.ws.rs.core.Response putPage(java.lang.String wikiName, java.lang.String spaceName, java.lang.String pageName, Page page)
           
 
Methods inherited from class org.xwiki.rest.resources.pages.ModifiablePageResource
putPage
 
Methods inherited from class org.xwiki.rest.XWikiResource
getDocumentInfo, getUriTemplate, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageResource

public PageResource()
Method Detail

getPage

public Page getPage(java.lang.String wikiName,
                    java.lang.String spaceName,
                    java.lang.String pageName)
             throws com.xpn.xwiki.XWikiException
Throws:
com.xpn.xwiki.XWikiException

putPage

public javax.ws.rs.core.Response putPage(java.lang.String wikiName,
                                         java.lang.String spaceName,
                                         java.lang.String pageName,
                                         Page page)
                                  throws com.xpn.xwiki.XWikiException
Throws:
com.xpn.xwiki.XWikiException

deletePage

public void deletePage(java.lang.String wikiName,
                       java.lang.String spaceName,
                       java.lang.String pageName)
                throws com.xpn.xwiki.XWikiException
Throws:
com.xpn.xwiki.XWikiException


Copyright © 2004-2009 XWiki. All Rights Reserved.