public class ModuleRoot extends DefaultObject implements ModuleResource
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(javax.ws.rs.WebApplicationException e) |
void |
setHttpHeaders(javax.ws.rs.core.HttpHeaders headers) |
void |
setHttpRequest(javax.servlet.http.HttpServletRequest request) |
void |
setUriInfo(javax.ws.rs.core.UriInfo info) |
disptachAdapter, isAdapter
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
equals, 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 public void setUriInfo(javax.ws.rs.core.UriInfo info)
@Context public void setHttpHeaders(javax.ws.rs.core.HttpHeaders headers)
@Context public void setHttpRequest(javax.servlet.http.HttpServletRequest request)
public javax.ws.rs.core.Response getSkinResource(String path)
public String getLink(DocumentModel doc)
getLink
in interface ModuleResource
doc
- the documentpublic Object handleError(javax.ws.rs.WebApplicationException e)
handleError
in interface ModuleResource
Copyright © 2015 Nuxeo SA. All rights reserved.