Search in sources :

Example 1 with IGraphDatabase

use of org.neo4j.android.common.IGraphDatabase in project neo4j-mobile-android by neo4j-contrib.

the class Neo4jService method openOrCreateDatabase.

public GraphDatabase openOrCreateDatabase(String name) throws RemoteException, Neo4jServiceException {
    ParcelableError err = new ParcelableError();
    IGraphDatabase proxy = mProxy.openOrCreateDatabase(name, err);
    Util.throwServiceExceptionIfError(err);
    return new GraphDatabase(proxy);
}
Also used : IGraphDatabase(org.neo4j.android.common.IGraphDatabase) IGraphDatabase(org.neo4j.android.common.IGraphDatabase) ParcelableError(org.neo4j.android.common.ParcelableError)

Aggregations

IGraphDatabase (org.neo4j.android.common.IGraphDatabase)1 ParcelableError (org.neo4j.android.common.ParcelableError)1