Class AutomationResource
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.ecm.webengine.model.impl.ModuleRoot
org.nuxeo.ecm.automation.server.rest.AutomationResource
- All Implemented Interfaces:
ModuleResource,Resource,Adaptable
- Author:
- Bogdan Stefanescu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoGet()getExecutable(String oid) jakarta.ws.rs.core.ResponseGets the content of the blob or blobs (multipart/mixed) located by the given doc uid and property path.jakarta.ws.rs.core.Responselogin(jakarta.servlet.http.HttpServletRequest request) Methods inherited from class org.nuxeo.ecm.webengine.model.impl.ModuleRoot
getLink, getSkinResource, handleError, setContextMethods 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, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.nuxeo.runtime.model.Adaptable
getAdapterMethods inherited from interface org.nuxeo.ecm.webengine.model.Resource
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot
-
Field Details
-
service
-
-
Constructor Details
-
AutomationResource
public AutomationResource()
-
-
Method Details
-
getFile
@GET @Path("/files/{uid}") public jakarta.ws.rs.core.Response getFile(@Context jakarta.servlet.http.HttpServletRequest request, @PathParam("uid") String uid, @QueryParam("path") String path) Gets the content of the blob or blobs (multipart/mixed) located by the given doc uid and property path. -
doGet
- Throws:
OperationException
-
login
@POST @Path("/login") public jakarta.ws.rs.core.Response login(@Context jakarta.servlet.http.HttpServletRequest request) -
getExecutable
-