Search in sources :

Example 6 with ParcelableError

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

the class GraphDatabase method updateNode.

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

Example 7 with ParcelableError

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

the class GraphDatabase method txFailure.

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

Example 8 with ParcelableError

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

the class GraphDatabase method createRelationship.

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

Example 9 with ParcelableError

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

the class GraphDatabase method deleteRelationship.

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

Example 10 with ParcelableError

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

the class GraphDatabase method deleteNode.

public void deleteNode(long id) throws RemoteException, Neo4jServiceException {
    ParcelableError err = new ParcelableError();
    mProxy.deleteNode(id, 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