Class ModuleRoot
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
- All Implemented Interfaces:
ModuleResource
,Resource
,Adaptable
- Direct Known Subclasses:
APIRoot
,AutomationResource
,ConnectClientRoot
,EasyShare
,Main
,Main
,OAuth2Callback
,RootResource
,RootResource
,SCIMRoot
,Test
,UserInvitationObject
,WOPIRoot
- Author:
- Bogdan Stefanescu
-
Field Summary
Modifier and TypeFieldDescriptionprotected javax.servlet.http.HttpServletRequest
protected com.sun.jersey.server.impl.inject.ServerInjectableProviderContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLink
(DocumentModel doc) You should override this method to resolve objects to links.javax.ws.rs.core.Response
getSkinResource
(String path) void
setContext
(com.sun.jersey.api.core.HttpContext hc) 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
-
Field Details
-
request
@Context protected javax.servlet.http.HttpServletRequest request -
sic
@Context protected com.sun.jersey.server.impl.inject.ServerInjectableProviderContext sic
-
-
Constructor Details
-
ModuleRoot
public ModuleRoot()
-
-
Method Details
-
setContext
@Context public void setContext(com.sun.jersey.api.core.HttpContext hc) -
getSkinResource
-
getLink
You should override this method to resolve objects to links. This method is usually called by a search view to generate links for object that are listed- Specified by:
getLink
in interfaceModuleResource
- Parameters:
doc
- the document- Returns:
- the link corresponding to that object
-
handleError
- Specified by:
handleError
in interfaceModuleResource
-