final List<BasicDBObject> query = ImmutableList.of(
new BasicDBObject("_id", new ObjectId(id)),
new BasicDBObject("$or", forThisNodeOrGlobal));
final DBObject o = findOne(InputImpl.class, new BasicDBObject("$and", query));
return new InputImpl((ObjectId) o.get("_id"), o.toMap());
}
@Override
public Input findForThisRadioOrGlobal(final String radioId, String id) throws NotFoundException {
final List<DBObject> radioIdOrGlobal = ImmutableList.<DBObject>of(