Search in sources :

Example 21 with ParcelableError

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

the class GraphDatabase method getNodeById.

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

Example 22 with ParcelableError

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

the class Neo4jService method exportDatabase.

public boolean exportDatabase(String name) throws RemoteException, Neo4jServiceException {
    ParcelableError err = new ParcelableError();
    boolean result = mProxy.exportDatabase(name, 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