org.xwiki.rest.internal.resources.objects
Class ObjectPropertyResourceImpl

java.lang.Object
  extended by org.xwiki.rest.XWikiResource
      extended by org.xwiki.rest.internal.resources.objects.ObjectPropertyResourceImpl
All Implemented Interfaces:
Initializable, ObjectPropertyResource, XWikiRestComponent

@Component(value="org.xwiki.rest.internal.resources.objects.ObjectPropertyResourceImpl")
public class ObjectPropertyResourceImpl
extends XWikiResource
implements ObjectPropertyResource


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
 
Constructor Summary
ObjectPropertyResourceImpl()
           
 
Method Summary
 Property getObjectProperty(String wikiName, String spaceName, String pageName, String className, Integer objectNumber, String propertyName, Boolean withPrettyNames)
           
 Response updateObjectProperty(String wikiName, String spaceName, String pageName, String className, Integer objectNumber, String propertyName, Property property)
           
 
Methods inherited from class org.xwiki.rest.XWikiResource
getDocumentInfo, getUriTemplate, getXWikiContext, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectPropertyResourceImpl

public ObjectPropertyResourceImpl()
Method Detail

getObjectProperty

public Property getObjectProperty(String wikiName,
                                  String spaceName,
                                  String pageName,
                                  String className,
                                  Integer objectNumber,
                                  String propertyName,
                                  Boolean withPrettyNames)
                           throws XWikiRestException
Specified by:
getObjectProperty in interface ObjectPropertyResource
Throws:
XWikiRestException

updateObjectProperty

public Response updateObjectProperty(String wikiName,
                                     String spaceName,
                                     String pageName,
                                     String className,
                                     Integer objectNumber,
                                     String propertyName,
                                     Property property)
                              throws XWikiRestException
Specified by:
updateObjectProperty in interface ObjectPropertyResource
Throws:
XWikiRestException