public class OperationResource extends ExecutableResource
Modifier and Type | Field and Description |
---|---|
protected OperationType |
type |
request, response, service, session
ctx, 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, doPost
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
protected OperationType type
public OperationResource()
protected void initialize(Object... args)
initialize
in class AbstractResource<ResourceTypeImpl>
public Object doGet() throws OperationException
OperationException
public Object doGetYaml() throws OperationException
OperationException
public Object execute(ExecutionRequest xreq) throws OperationException
execute
in class ExecutableResource
OperationException
protected static String entityType(Class<?> clazz)
public String getId()
getId
in class ExecutableResource
public boolean isChain()
isChain
in class ExecutableResource
Copyright © 2017 Nuxeo. All rights reserved.