diff --git a/src/main/java/com/avaje/ebeaninternal/server/core/SpiOrmQueryRequest.java b/src/main/java/com/avaje/ebeaninternal/server/core/SpiOrmQueryRequest.java index e9716a2c4..55a271d1b 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/core/SpiOrmQueryRequest.java +++ b/src/main/java/com/avaje/ebeaninternal/server/core/SpiOrmQueryRequest.java @@ -16,94 +16,89 @@ import java.util.Set; */ public interface SpiOrmQueryRequest { - /** - * Return the query. - */ - public SpiQuery getQuery(); + /** + * Return the query. + */ + SpiQuery getQuery(); - /** - * Return the associated BeanDescriptor. - */ - public BeanDescriptor getBeanDescriptor(); + /** + * Return the associated BeanDescriptor. + */ + BeanDescriptor getBeanDescriptor(); - /** - * This will create a local (readOnly) transaction if no current transaction - * exists. - *

- * A transaction may have been passed in explicitly or currently be active - * in the thread local. If not, then a readOnly transaction is created to - * execute this query. - *

- */ - public void initTransIfRequired(); + /** + * This will create a local (readOnly) transaction if no current transaction + * exists. + *

+ * A transaction may have been passed in explicitly or currently be active + * in the thread local. If not, then a readOnly transaction is created to + * execute this query. + *

+ */ + void initTransIfRequired(); - /** - * Will end a locally created transaction. - *

- * It ends the transaction by using a rollback() as the transaction is known - * to be readOnly. - *

- */ - public void endTransIfRequired(); + /** + * Will end a locally created transaction. + *

+ * It ends the transaction by using a rollback() as the transaction is known + * to be readOnly. + *

+ */ + void endTransIfRequired(); - /** - * Execute the query as findById. - */ - public Object findId(); + /** + * Execute the query as findById. + */ + Object findId(); - /** - * Execute the find row count query. - */ - public int findRowCount(); + /** + * Execute the find row count query. + */ + int findRowCount(); - /** - * Execute the find ids query. - */ - public List findIds(); + /** + * Execute the find ids query. + */ + List findIds(); /** * Execute the find returning a QueryIterator and visitor pattern. */ - public void findEach(QueryEachConsumer consumer); + void findEach(QueryEachConsumer consumer); /** * Execute the find returning a QueryIterator and visitor pattern. */ - public void findEachWhile(QueryEachWhileConsumer consumer); + void findEachWhile(QueryEachWhileConsumer consumer); /** - * Execute the find returning a QueryIterator. - */ - public QueryIterator findIterate(); - - /** - * Execute the query as findList. - */ - public List findList(); + * Execute the find returning a QueryIterator. + */ + QueryIterator findIterate(); - /** - * Execute the query as findSet. - */ - public Set findSet(); + /** + * Execute the query as findList. + */ + List findList(); - /** - * Execute the query as findMap. - */ - public Map findMap(); + /** + * Execute the query as findSet. + */ + Set findSet(); - /** - * Try to get the object out of the persistence context. - */ - //public T getFromPersistenceContextOrCache(); + /** + * Execute the query as findMap. + */ + Map findMap(); - /** - * Try to get the query result from the query cache. - */ - public BeanCollection getFromQueryCache(); + /** + * Try to get the query result from the query cache. + */ + BeanCollection getFromQueryCache(); - /** - * Return the Database platform like clause. - */ - public String getDBLikeClause(); + /** + * Return the Database platform like clause. + */ + String getDBLikeClause(); } \ No newline at end of file