#593 - Refactor SPI - Move methods from ElPropertyValue to ExpressionPath

This commit is contained in:
Robin Bygrave
2016-03-08 21:34:27 +13:00
parent 57836af5b5
commit 2d93d592c1
2 changed files with 0 additions and 13 deletions
@@ -5,12 +5,9 @@ import com.avaje.ebean.event.BeanFindController;
import com.avaje.ebean.event.BeanPersistController;
import com.avaje.ebean.event.BeanPersistListener;
import com.avaje.ebean.event.BeanQueryAdapter;
import com.avaje.ebean.text.json.JsonReadOptions;
import com.avaje.ebeaninternal.api.SpiQuery;
import com.avaje.ebeanservice.docstore.api.mapping.DocumentMapping;
import com.fasterxml.jackson.core.JsonParser;
import java.io.IOException;
import java.util.Collection;
/**
@@ -155,11 +152,6 @@ public interface BeanType<T> {
*/
BeanDocType<T> docStore();
/**
* Read the JSON content returning the bean.
*/
T jsonRead(JsonParser parser, JsonReadOptions readOptions, Object objectMapper) throws IOException;
/**
* Add the discriminator value to the query if needed.
*/
@@ -2709,9 +2709,4 @@ public class BeanDescriptor<T> implements MetaBeanInfo, BeanType<T> {
return jsonHelp.jsonReadObject(jsonRead, path);
}
@Override
public T jsonRead(JsonParser parser, JsonReadOptions readOptions, Object objectMapper) throws IOException {
ReadJson jsonRead = new ReadJson(this, parser, readOptions, objectMapper);
return jsonRead(jsonRead, null);
}
}