public abstract class ExecutableResource extends DefaultObject
Modifier and Type | Field and Description |
---|---|
protected javax.servlet.http.HttpServletRequest |
request |
protected javax.servlet.http.HttpServletResponse |
response |
protected AutomationService |
service |
protected CoreSession |
session |
Constructor and Description |
---|
ExecutableResource() |
Modifier and Type | Method and Description |
---|---|
protected OperationContext |
createContext(ExecutionRequest xreq) |
Object |
doPost(ExecutionRequest xreq) |
abstract Object |
execute(ExecutionRequest req) |
abstract String |
getId() |
abstract boolean |
isChain() |
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
@Context protected AutomationService service
@Context protected javax.servlet.http.HttpServletRequest request
@Context protected javax.servlet.http.HttpServletResponse response
@Context protected CoreSession session
public ExecutableResource()
protected OperationContext createContext(ExecutionRequest xreq)
public Object doPost(ExecutionRequest xreq)
public abstract Object execute(ExecutionRequest req) throws OperationException
OperationException
public abstract boolean isChain()
Copyright © 2017 Nuxeo. All rights reserved.