public ReplicatorDocument find ( ) { assertNotEmpty ( replicatorDoc . getId ( ) , "Doc id" ) ; final URI uri = buildUri ( dbURI ) . path ( replicatorDoc . getId ( ) ) . query ( "rev" , replicatorDoc . getRevision ( ) ) . build ( ) ; return dbc . get ( uri , ReplicatorDocument . class ) ; }
Finds a document in the replicator database .