Search in sources :

Example 1 with ParcelableError

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

the class NodeIterator method next.

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

Example 2 with ParcelableError

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

the class GraphDatabase method getReferenceNode.

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

Example 3 with ParcelableError

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

the class GraphDatabase method getRelationshipById.

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

Example 4 with ParcelableError

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

the class GraphDatabase method getAllNodes.

public NodeIterator getAllNodes() throws RemoteException, Neo4jServiceException {
    ParcelableError err = new ParcelableError();
    INodeIterator it = mProxy.getAllNodes(err);
    Util.throwServiceExceptionIfError(err);
    return new NodeIterator(it);
}
Also used : INodeIterator(org.neo4j.android.common.INodeIterator) INodeIterator(org.neo4j.android.common.INodeIterator) ParcelableError(org.neo4j.android.common.ParcelableError)

Example 5 with ParcelableError

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

the class GraphDatabase method createNode.

public long createNode(ParcelableNode node) throws RemoteException, Neo4jServiceException {
    ParcelableError err = new ParcelableError();
    long result = mProxy.createNode(node, 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