public class ModuleRoot extends DefaultObject implements ModuleResource
Modifier and Type | Field and Description |
---|---|
protected javax.servlet.http.HttpServletRequest |
request |
protected com.sun.jersey.server.impl.inject.ServerInjectableProviderContext |
sic |
Constructor and Description |
---|
ModuleRoot() |
Modifier and Type | Method and Description |
---|---|
String |
getLink(DocumentModel doc)
You should override this method to resolve objects to links.
|
javax.ws.rs.core.Response |
getSkinResource(String path) |
Object |
handleError(Throwable t) |
void |
setContext(com.sun.jersey.api.core.HttpContext hc) |
disptachAdapter, isAdapter
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
getAdapter
@Context protected javax.servlet.http.HttpServletRequest request
@Context protected com.sun.jersey.server.impl.inject.ServerInjectableProviderContext sic
public ModuleRoot()
@Context public void setContext(com.sun.jersey.api.core.HttpContext hc)
public javax.ws.rs.core.Response getSkinResource(String path)
public String getLink(DocumentModel doc)
getLink
in interface ModuleResource
doc
- the documentpublic Object handleError(Throwable t)
handleError
in interface ModuleResource
Copyright © 2018 Nuxeo. All rights reserved.