mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
22 lines
411 B
Java
22 lines
411 B
Java
package io.ebean.bean;
|
|
|
|
/**
|
|
* Loads a entity bean collection.
|
|
* <p>
|
|
* Typically invokes lazy loading for a single or batch of collections.
|
|
* </p>
|
|
*/
|
|
public interface BeanCollectionLoader {
|
|
|
|
/**
|
|
* Return the name of the associated Database.
|
|
*/
|
|
String getName();
|
|
|
|
/**
|
|
* Invoke the lazy loading for this bean collection.
|
|
*/
|
|
void loadMany(BeanCollection<?> collection, boolean onlyIds);
|
|
|
|
}
|