Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.server.jaxrs.batch
Class BatchResource

java.lang.Object
  extended by org.nuxeo.ecm.automation.server.jaxrs.batch.BatchResource

public class BatchResource
extends Object

Exposes Batch as a JAX-RS resource

Author:
Tiry (tdelprat@nuxeo.com)

Constructor Summary
BatchResource()
           
 
Method Summary
 Object doPost(HttpServletRequest request)
           
 String dropBatch(String batchId)
           
 Object exec(HttpServletRequest request, ExecutionRequest xreq)
           
 CoreSession getCoreSession(HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchResource

public BatchResource()
Method Detail

getCoreSession

public CoreSession getCoreSession(HttpServletRequest request)

doPost

public Object doPost(@Context
                     HttpServletRequest request)
              throws Exception
Throws:
Exception

exec

public Object exec(@Context
                   HttpServletRequest request,
                   ExecutionRequest xreq)
            throws Exception
Throws:
Exception

dropBatch

public String dropBatch(String batchId)
                 throws Exception
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.