Package org.nuxeo.template.jaxrs
Class RootResource
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.webengine.model.impl.DefaultObject
-
- org.nuxeo.ecm.webengine.model.impl.ModuleRoot
-
- org.nuxeo.template.jaxrs.RootResource
-
- All Implemented Interfaces:
ModuleResource
,Resource
,Adaptable
public class RootResource extends ModuleRoot
- Author:
- Tiry
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.webengine.model.impl.ModuleRoot
request, sic
-
-
Constructor Summary
Constructors Constructor Description RootResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CoreSession
getCoreSession()
Object
getDocs()
Object
getDocs(String id)
String
getPong()
Object
getTemplates()
Object
getTemplates(String id)
String
index()
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.ModuleRoot
getLink, getSkinResource, handleError, setContext
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, 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, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Adaptable
getAdapter
-
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, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot
-
-
-
-
Constructor Detail
-
RootResource
public RootResource()
-
-
Method Detail
-
getCoreSession
protected CoreSession getCoreSession()
-
getTemplates
public Object getTemplates()
-
getTemplates
public Object getTemplates(String id)
-
-