Class ExecutableResource
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.ecm.automation.server.jaxrs.ExecutableResource
- Direct Known Subclasses:
OperationResource
- Author:
- Bogdan Stefanescu
-
Field Summary
Modifier and TypeFieldDescriptionprotected javax.servlet.http.HttpServletRequest
protected javax.servlet.http.HttpServletResponse
protected AutomationService
protected CoreSession
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected OperationContext
doPost
(ExecutionRequest xreq) abstract Object
execute
(ExecutionRequest req) abstract String
getId()
abstract boolean
isChain()
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
-
Field Details
-
service
-
request
@Context protected javax.servlet.http.HttpServletRequest request -
response
@Context protected javax.servlet.http.HttpServletResponse response -
session
-
-
Constructor Details
-
ExecutableResource
public ExecutableResource()
-
-
Method Details
-
createContext
-
doPost
-
getId
-
execute
- Throws:
OperationException
-
isChain
public abstract boolean isChain()
-