mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
37 lines
736 B
Java
37 lines
736 B
Java
package io.ebean.event;
|
|
|
|
import io.ebean.EbeanServer;
|
|
import io.ebean.Query;
|
|
import io.ebean.Transaction;
|
|
|
|
/**
|
|
* Holds the information available for a bean query.
|
|
*/
|
|
public interface BeanQueryRequest<T> {
|
|
|
|
/**
|
|
* Return the server processing the request.
|
|
*/
|
|
EbeanServer getEbeanServer();
|
|
|
|
/**
|
|
* Return the Transaction associated with this request.
|
|
*/
|
|
Transaction getTransaction();
|
|
|
|
/**
|
|
* Returns the query.
|
|
*/
|
|
Query<T> getQuery();
|
|
|
|
/**
|
|
* Return true if multi-value binding using Array or Table Values is supported.
|
|
*/
|
|
boolean isMultiValueIdSupported();
|
|
|
|
/**
|
|
* Return true if multi-value binding is supported for this value type.
|
|
*/
|
|
boolean isMultiValueSupported(Class<?> valueType);
|
|
}
|