org.neo4j.server.rest.web
Class TransactionalService

java.lang.Object
  extended by org.neo4j.server.rest.web.TransactionalService

public class TransactionalService
extends Object

This does basic mapping from HTTP to TransactionFacade, and should not do anything more complicated than that.


Nested Class Summary
static class TransactionalService.TransactionUriBuilder
           
 
Constructor Summary
TransactionalService(TransactionFacade facade, javax.ws.rs.core.UriInfo uriInfo)
           
 
Method Summary
 javax.ws.rs.core.Response commitNewTransaction(InputStream input)
           
 javax.ws.rs.core.Response commitTransaction(long id, InputStream input)
           
 javax.ws.rs.core.Response executeStatements(long id, InputStream input)
           
 javax.ws.rs.core.Response executeStatementsInNewTransaction(InputStream input)
           
 javax.ws.rs.core.Response rollbackTransaction(long id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionalService

public TransactionalService(@Context
                            TransactionFacade facade,
                            @Context
                            javax.ws.rs.core.UriInfo uriInfo)
Method Detail

executeStatementsInNewTransaction

public javax.ws.rs.core.Response executeStatementsInNewTransaction(InputStream input)

executeStatements

public javax.ws.rs.core.Response executeStatements(long id,
                                                   InputStream input)

commitTransaction

public javax.ws.rs.core.Response commitTransaction(long id,
                                                   InputStream input)

commitNewTransaction

public javax.ws.rs.core.Response commitNewTransaction(InputStream input)

rollbackTransaction

public javax.ws.rs.core.Response rollbackTransaction(long id)


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.