All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tinkerpop.frames.FramedTransactionalGraph Maven / Gradle / Ivy

Go to download

Frames is a framework for exposing the elements of a Blueprints graph as Java objects. Instead of writing software in terms of vertices and edges, with Frames, software is written in terms of domain objects and their relationships to each other.

There is a newer version: 2.6.0
Show newest version
package com.tinkerpop.frames;

import com.tinkerpop.blueprints.TransactionalGraph;

/**
 * An implementation of {@link FramedGraph} that supports transactions. 
 * 
 * @author Bryn Cooke
 *
 * @param 
 */
public class FramedTransactionalGraph extends FramedGraph implements TransactionalGraph {


	protected FramedTransactionalGraph(T baseGraph, FramedGraphConfiguration config) {
		super(baseGraph, config);
		
	}

	/* (non-Javadoc)
	 * @see com.tinkerpop.blueprints.TransactionalGraph#commit()
	 */
	@Override
	public void commit() {
		getBaseGraph().commit();
	}
	
	/* (non-Javadoc)
	 * @see com.tinkerpop.blueprints.TransactionalGraph#rollback()
	 */
	@Override
	public void rollback() {
		getBaseGraph().rollback();
	}

	/* (non-Javadoc)
	 * @see com.tinkerpop.blueprints.TransactionalGraph#stopTransaction(com.tinkerpop.blueprints.TransactionalGraph.Conclusion)
	 */
	@Override
	@Deprecated
	public void stopTransaction(Conclusion conclusion) {
		getBaseGraph().stopTransaction(conclusion);
	}
	
	
	
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy