Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.webengine.sites
Class JsonAdapter

java.lang.Object
  extended by org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
      extended by org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
          extended by org.nuxeo.webengine.sites.JsonAdapter
All Implemented Interfaces:
AdapterResource, Resource, Adaptable

public class JsonAdapter
extends DefaultAdapter

Adapter service for the tree in sites module.


Field Summary
static String NAVIGATOR_TREE
           
static String ROOT_DOCUMENT
           
 
Constructor Summary
JsonAdapter()
           
 
Method Summary
 Response doGet(String root)
           
static Path getRelativePath(DocumentModel rootDoc, DocumentModel doc)
           
 
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
disptachAdapter, getTarget, isAdapter
 
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
 
Methods inherited from interface org.nuxeo.runtime.model.Adaptable
getAdapter
 

Field Detail

NAVIGATOR_TREE

public static final String NAVIGATOR_TREE
See Also:
Constant Field Values

ROOT_DOCUMENT

public static final String ROOT_DOCUMENT
See Also:
Constant Field Values
Constructor Detail

JsonAdapter

public JsonAdapter()
Method Detail

doGet

public Response doGet(String root)

getRelativePath

public static Path getRelativePath(DocumentModel rootDoc,
                                   DocumentModel doc)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.