public class OperationResource extends ExecutableResource
| Modifier and Type | Field and Description |
|---|---|
protected OperationType |
type |
request, response, service, sessionctx, next, path, prev| Constructor and Description |
|---|
OperationResource() |
| Modifier and Type | Method and Description |
|---|---|
Object |
doGet() |
Object |
doGetYaml() |
protected static String |
entityType(Class<?> clazz) |
Object |
execute(ExecutionRequest xreq) |
String |
getId() |
protected void |
initialize(Object... args) |
boolean |
isChain() |
createContext, doPostdisptachAdapter, isAdaptercheckGuard, 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, toStringprotected OperationType type
public OperationResource()
protected void initialize(Object... args)
initialize in class AbstractResource<ResourceTypeImpl>public Object doGet() throws OperationException
OperationExceptionpublic Object doGetYaml() throws OperationException
OperationExceptionpublic Object execute(ExecutionRequest xreq) throws OperationException
execute in class ExecutableResourceOperationExceptionprotected static String entityType(Class<?> clazz)
public String getId()
getId in class ExecutableResourcepublic boolean isChain()
isChain in class ExecutableResourceCopyright © 2019 Nuxeo. All rights reserved.