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, isAdaptercheckGuard, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckGuard, 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, setRootgetAdapter@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 ModuleResourcedoc - the documentpublic Object handleError(Throwable t)
handleError in interface ModuleResourceCopyright © 2019 Nuxeo. All rights reserved.