org.nuxeo.webengine.sites
Class JsonAdapter
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
org.nuxeo.webengine.sites.JsonAdapter
- All Implemented Interfaces:
- AdapterResource, Resource, Adaptable
public class JsonAdapter
- extends DefaultAdapter
Adapter service for the tree in sites module.
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource |
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.nuxeo.ecm.webengine.model.Resource |
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot |
NAVIGATOR_TREE
public static final java.lang.String NAVIGATOR_TREE
- See Also:
- Constant Field Values
ROOT_DOCUMENT
public static final java.lang.String ROOT_DOCUMENT
- See Also:
- Constant Field Values
JsonAdapter
public JsonAdapter()
doGet
public javax.ws.rs.core.Response doGet(java.lang.String root)
getRelativePath
public static Path getRelativePath(DocumentModel rootDoc,
DocumentModel doc)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.