Exemplo n.º 1
0
 @Override
 public Results getResults(Query query) throws Exception {
   return app.getEntityManager()
       .searchCollection(app.getEntityManager().getApplicationRef(), "tests", query);
 }
Exemplo n.º 2
0
  @Override
  public Entity writeEntity(Map<String, Object> entity) throws Exception {

    return app.getEntityManager().create("test", entity);
  }