@Test public void test_deleted_doc_message() throws IOException { StdDocumentChange m = new StdDocumentChange(load("change_message_w_deleted_doc.json")); assertMandatoryFields(m); assertTrue(m.isDeleted()); }
public boolean isDeleted() { JsonNode deleted = node.findPath(DELETED_FIELD_NAME); return !deleted.isMissingNode() && deleted.booleanValue(); }
StdDocumentChange implements DocumentChange { public boolean isDeleted() { JsonNode deleted = node.findPath(DELETED_FIELD_NAME); return !deleted.isMissingNode() && deleted.booleanValue(); } }
StdDocumentChange implements DocumentChange { public boolean isDeleted() { JsonNode deleted = node.findPath(DELETED_FIELD_NAME); return !deleted.isMissingNode() && deleted.booleanValue(); } StdDocumentChange(JsonNode node); }
StdDocumentChange implements DocumentChange { public boolean isDeleted() { JsonNode deleted = node.findPath(DELETED_FIELD_NAME); return !deleted.isMissingNode() && deleted.booleanValue(); } StdDocumentChange(JsonNode node); int getSequence(); String getStringSequence(); String getId(); boolean isDeleted(); String getDoc(); JsonNode getDocAsNode(); String getRevision(); List<String> getRevisions(); @Override String toString(); }
StdDocumentChange implements DocumentChange { public boolean isDeleted() { JsonNode deleted = node.findPath(DELETED_FIELD_NAME); return !deleted.isMissingNode() && deleted.booleanValue(); } StdDocumentChange(JsonNode node); int getSequence(); String getStringSequence(); String getId(); boolean isDeleted(); String getDoc(); JsonNode getDocAsNode(); String getRevision(); List<String> getRevisions(); @Override String toString();  }