mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
WIP on Finder
This commit is contained in:
1 parent
721a50219d
commit
d2c3142de4
18 files changed
+321
-162
No files matched your search
@@ -4,10 +4,7 @@ import com.avaje.ebean.annotation.ConcurrencyMode;
|
||||
import com.avaje.ebean.config.TableName;
|
||||
import com.avaje.ebean.config.dbplatform.IdGenerator;
|
||||
import com.avaje.ebean.config.dbplatform.IdType;
|
||||
import com.avaje.ebean.event.BeanFinder;
|
||||
import com.avaje.ebean.event.BeanPersistController;
|
||||
import com.avaje.ebean.event.BeanPersistListener;
|
||||
import com.avaje.ebean.event.BeanQueryAdapter;
|
||||
import com.avaje.ebean.event.*;
|
||||
import com.avaje.ebeaninternal.server.core.CacheOptions;
|
||||
import com.avaje.ebeaninternal.server.deploy.BeanDescriptor.EntityType;
|
||||
import com.avaje.ebeaninternal.server.deploy.*;
|
||||
@@ -109,7 +106,7 @@ public class DeployBeanDescriptor<T> {
|
||||
/**
|
||||
* If set overrides the find implementation. Server side only.
|
||||
*/
|
||||
private BeanFinder<T> beanFinder;
|
||||
private BeanFindController beanFinder;
|
||||
|
||||
/**
|
||||
* The table joins for this bean. Server side only.
|
||||
@@ -338,7 +335,7 @@ public class DeployBeanDescriptor<T> {
|
||||
/**
|
||||
* Return the beanFinder. Usually null unless overriding the finder.
|
||||
*/
|
||||
public BeanFinder<T> getBeanFinder() {
|
||||
public BeanFindController getBeanFinder() {
|
||||
return beanFinder;
|
||||
}
|
||||
|
||||
@@ -346,7 +343,7 @@ public class DeployBeanDescriptor<T> {
|
||||
* Set the BeanFinder to use for beans of this type. This is set to override
|
||||
* the finding from the default.
|
||||
*/
|
||||
public void setBeanFinder(BeanFinder<T> beanFinder) {
|
||||
public void setBeanFinder(BeanFindController beanFinder) {
|
||||
this.beanFinder = beanFinder;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user