Class OperationResource
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.ecm.automation.server.rest.ExecutableResource
org.nuxeo.ecm.automation.server.rest.OperationResource
- Author:
- Bogdan Stefanescu
-
Field Summary
FieldsFields inherited from class org.nuxeo.ecm.automation.server.rest.ExecutableResource
request, response, service, sessionFields inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
ctx, next, path, prev -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoGet()protected static StringentityType(Class<?> clazz) execute(ExecutionRequest xreq) getId()protected voidinitialize(Object... args) booleanisChain()Methods inherited from class org.nuxeo.ecm.automation.server.rest.ExecutableResource
createContext, doPostMethods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapterMethods 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, isInstanceOf, isRoot, newAdapter, newObject, newObject, redirect, retrieveWebObjectType, setNext, setPrevious, setRoot, toString
-
Field Details
-
type
-
-
Constructor Details
-
OperationResource
public OperationResource()
-
-
Method Details
-
initialize
- Overrides:
initializein classAbstractResource<ResourceTypeImpl>
-
doGet
- Throws:
OperationException
-
doGetYaml
@GET @Path("yaml") @Produces("application/yaml") public OperationDocumentation doGetYaml() throws OperationException- Throws:
OperationException
-
execute
- Specified by:
executein classExecutableResource- Throws:
OperationException
-
entityType
-
getId
- Specified by:
getIdin classExecutableResource
-
isChain
public boolean isChain()- Specified by:
isChainin classExecutableResource
-