mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
Smaller changes pre-merge
This commit is contained in:
1 parent
62712c976f
commit
0cfae9a13b
5 files changed
+2
-16
No files matched your search
@@ -51,14 +51,14 @@ public interface BeanFindController {
|
|||||||
<T> BeanCollection<T> findMany(BeanQueryRequest<T> request);
|
<T> BeanCollection<T> findMany(BeanQueryRequest<T> request);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allows post processing of the find result.
|
* Allows post-processing of the find result.
|
||||||
*/
|
*/
|
||||||
default <T> BeanCollection<T> postProcessMany(BeanQueryRequest<T> request, BeanCollection<T> result) {
|
default <T> BeanCollection<T> postProcessMany(BeanQueryRequest<T> request, BeanCollection<T> result) {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allows post processing of the find result.
|
* Allows post-processing of the find result.
|
||||||
*/
|
*/
|
||||||
default <T> T postProcess(BeanQueryRequest<T> request, T result) {
|
default <T> T postProcess(BeanQueryRequest<T> request, T result) {
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
@@ -4,9 +4,6 @@ import javax.persistence.Entity;
|
|||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
import javax.persistence.Transient;
|
import javax.persistence.Transient;
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Jonas Pöhler, FOCONIS AG
|
|
||||||
*/
|
|
||||||
@Entity
|
@Entity
|
||||||
public class FindControllerMain {
|
public class FindControllerMain {
|
||||||
|
|
||||||
|
|||||||
@@ -3,9 +3,6 @@ package org.tests.model.controller;
|
|||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Jonas Pöhler, FOCONIS AG
|
|
||||||
*/
|
|
||||||
@Entity
|
@Entity
|
||||||
public class SoftRefA {
|
public class SoftRefA {
|
||||||
|
|
||||||
|
|||||||
@@ -3,9 +3,6 @@ package org.tests.model.controller;
|
|||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Jonas Pöhler, FOCONIS AG
|
|
||||||
*/
|
|
||||||
@Entity
|
@Entity
|
||||||
public class SoftRefB {
|
public class SoftRefB {
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
package org.tests.model.controller;
|
package org.tests.model.controller;
|
||||||
|
|
||||||
import io.ebean.DB;
|
|
||||||
import io.ebean.bean.BeanCollection;
|
import io.ebean.bean.BeanCollection;
|
||||||
import io.ebean.bean.EntityBean;
|
|
||||||
import io.ebean.event.BeanFindController;
|
import io.ebean.event.BeanFindController;
|
||||||
import io.ebean.event.BeanQueryRequest;
|
import io.ebean.event.BeanQueryRequest;
|
||||||
import io.ebean.plugin.BeanType;
|
import io.ebean.plugin.BeanType;
|
||||||
@@ -12,9 +10,6 @@ import java.util.HashMap;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Jonas Pöhler, FOCONIS AG
|
|
||||||
*/
|
|
||||||
public class TestBeanFindController implements BeanFindController {
|
public class TestBeanFindController implements BeanFindController {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in new issue
Block a user