Search in sources :

Example 16 with ParcelableError

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

the class GraphDatabase method txSuccess.

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

Example 17 with ParcelableError

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

the class GraphDatabase method beginTx.

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

Example 18 with ParcelableError

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

the class GraphDatabase method traverse.

public NodeIterator traverse(ParcelableTraversalDescription desc, long startNodeId) throws RemoteException, Neo4jServiceException {
    ParcelableError err = new ParcelableError();
    INodeIterator result = mProxy.traverse(desc, startNodeId, err);
    Util.throwServiceExceptionIfError(err);
    return new NodeIterator(result);
}
Also used : INodeIterator(org.neo4j.android.common.INodeIterator) INodeIterator(org.neo4j.android.common.INodeIterator) ParcelableError(org.neo4j.android.common.ParcelableError)

Example 19 with ParcelableError

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

the class GraphDatabase method getRelationshipTypes.

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

Example 20 with ParcelableError

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

the class GraphDatabase method updateRelationship.

public void updateRelationship(ParcelableRelationship relationship) throws RemoteException, Neo4jServiceException {
    ParcelableError err = new ParcelableError();
    mProxy.updateRelationship(relationship, err);
    Util.throwServiceExceptionIfError(err);
}
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