Search in sources :

Example 11 with ParcelableError

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

the class Neo4jService method shutdownDatabase.

public void shutdownDatabase(String name) throws RemoteException, Neo4jServiceException {
    ParcelableError err = new ParcelableError();
    mProxy.shutdownDatabase(name, err);
    Util.throwServiceExceptionIfError(err);
}
Also used : ParcelableError(org.neo4j.android.common.ParcelableError)

Example 12 with ParcelableError

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

the class GraphDatabase method txFinish.

public void txFinish() throws RemoteException, Neo4jServiceException {
    ParcelableError err = new ParcelableError();
    mProxy.txFinish(err);
    Util.throwServiceExceptionIfError(err);
}
Also used : ParcelableError(org.neo4j.android.common.ParcelableError)

Example 13 with ParcelableError

use of org.neo4j.android.common.ParcelableError 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)

Example 14 with ParcelableError

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

the class Neo4jService method deleteDatabase.

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

Example 15 with ParcelableError

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

the class NodeIterator method hasNext.

public boolean hasNext() throws RemoteException, Neo4jServiceException {
    ParcelableError err = new ParcelableError();
    boolean result = mProxy.hasNext(err);
    Util.throwServiceExceptionIfError(err);
    return result;
}
Also used : ParcelableError(org.neo4j.android.common.ParcelableError)

Aggregations

ParcelableError (org.neo4j.android.common.ParcelableError)22 ParcelableNode (org.neo4j.android.common.ParcelableNode)3 INodeIterator (org.neo4j.android.common.INodeIterator)2 IGraphDatabase (org.neo4j.android.common.IGraphDatabase)1 ParcelableRelationship (org.neo4j.android.common.ParcelableRelationship)1