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.jaxrs.AutomationResource
-
- All Implemented Interfaces:
ModuleResource
,Resource
,Adaptable
public class AutomationResource extends ModuleRoot
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected AutomationService
service
-
Fields inherited from class org.nuxeo.ecm.webengine.model.impl.ModuleRoot
request, sic
-
-
Constructor Summary
Constructors Constructor Description AutomationResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutomationInfo
doGet()
Object
getExecutable(String oid)
Object
getFile(javax.servlet.http.HttpServletRequest request, String uid, String path)
Gets the content of the blob or blobs (multipart/mixed) located by the given doc uid and property path.Object
login(javax.servlet.http.HttpServletRequest request)
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.ModuleRoot
getLink, getSkinResource, handleError, setContext
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapter
-
Methods 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, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Adaptable
getAdapter
-
Methods 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 Detail
-
service
protected AutomationService service
-
-
Method Detail
-
getFile
public Object getFile(@Context javax.servlet.http.HttpServletRequest request, String uid, String path)
Gets the content of the blob or blobs (multipart/mixed) located by the given doc uid and property path.
-
doGet
public AutomationInfo doGet() throws OperationException
- Throws:
OperationException
-
login
public Object login(@Context javax.servlet.http.HttpServletRequest request)
-
-