public Response remove ( ) { assertNotEmpty ( replicatorDoc . getId ( ) , "Doc id" ) ; assertNotEmpty ( replicatorDoc . getRevision ( ) , "Doc rev" ) ; final URI uri = buildUri ( dbURI ) . path ( replicatorDoc . getId ( ) ) . query ( "rev" , replicatorDoc . getRevision ( ) ) . build ( ) ; return dbc . delete ( uri ) ; }
Removes a document from the replicator database .