@Test public void testGetFinalUpdateById() throws Exception { final UpdateMultiQuery update = new UpdateMultiQuery(); assertTrue(update.queries.isEmpty()); update.addQueries(new PathQuery("path3")); assertEquals(1, update.queries.size()); update.setMult(true); update.addActions(new IncAction("mavar")); final ObjectNode node = update.getFinalUpdateById(); assertEquals(1, node.size()); }
public final ObjectNode getFinalUpdateById() { final ObjectNode node = getFinalUpdate(); node.remove(GLOBAL.QUERY.exactToken()); node.remove(GLOBAL.ROOTS.exactToken()); node.remove(GLOBAL.FILTER.exactToken()); node.remove(GLOBAL.PROJECTION.exactToken()); return node; }
UpdateMultiQuery extends RequestMultiple { public final ObjectNode getFinalUpdateById() { final ObjectNode node = getFinalUpdate(); node.remove(GLOBAL.QUERY.exactToken()); node.remove(GLOBAL.ROOTS.exactToken()); node.remove(GLOBAL.FILTER.exactToken()); node.remove(GLOBAL.PROJECTION.exactToken()); return node; } }
UpdateMultiQuery extends RequestMultiple { public final ObjectNode getFinalUpdateById() { final ObjectNode node = getFinalUpdate(); node.remove(GLOBAL.QUERY.exactToken()); node.remove(GLOBAL.ROOTS.exactToken()); node.remove(GLOBAL.FILTER.exactToken()); node.remove(GLOBAL.PROJECTION.exactToken()); return node; }  }
UpdateMultiQuery extends RequestMultiple { public final ObjectNode getFinalUpdateById() { final ObjectNode node = getFinalUpdate(); node.remove(GLOBAL.QUERY.exactToken()); node.remove(GLOBAL.ROOTS.exactToken()); node.remove(GLOBAL.FILTER.exactToken()); node.remove(GLOBAL.PROJECTION.exactToken()); return node; }  final UpdateMultiQuery resetActions(); @Override final UpdateMultiQuery reset(); final UpdateMultiQuery setMult(final boolean mult); final UpdateMultiQuery setMult(final JsonNode filterContent); @Override final UpdateMultiQuery setFilter(final JsonNode filterContent); final UpdateMultiQuery addActions(final Action... action); final ObjectNode getFinalUpdateById(); final ObjectNode getFinalUpdate(); @Override final List<Action> getActions(); @Override String toString(); }
UpdateMultiQuery extends RequestMultiple { public final ObjectNode getFinalUpdateById() { final ObjectNode node = getFinalUpdate(); node.remove(GLOBAL.QUERY.exactToken()); node.remove(GLOBAL.ROOTS.exactToken()); node.remove(GLOBAL.FILTER.exactToken()); node.remove(GLOBAL.PROJECTION.exactToken()); return node; }  final UpdateMultiQuery resetActions(); @Override final UpdateMultiQuery reset(); final UpdateMultiQuery setMult(final boolean mult); final UpdateMultiQuery setMult(final JsonNode filterContent); @Override final UpdateMultiQuery setFilter(final JsonNode filterContent); final UpdateMultiQuery addActions(final Action... action); final ObjectNode getFinalUpdateById(); final ObjectNode getFinalUpdate(); @Override final List<Action> getActions(); @Override String toString();  }