public class LoadManyRequest extends LoadRequest
lazy, transaction| Constructor and Description |
|---|
LoadManyRequest(LoadManyBuffer loadContext,
Transaction transaction,
int batchSize,
boolean lazy,
boolean onlyIds,
boolean loadCache) |
| Modifier and Type | Method and Description |
|---|---|
List<BeanCollection<?>> |
getBatch()
Return the batch of collections to actually load.
|
String |
getDescription() |
LoadManyBuffer |
getLoadContext()
Return the load context.
|
boolean |
isLoadCache()
Return true if we should load the Collection ids into the cache.
|
boolean |
isOnlyIds()
Return true if lazy loading should only load the id values.
|
getTransaction, isLazypublic LoadManyRequest(LoadManyBuffer loadContext, Transaction transaction, int batchSize, boolean lazy, boolean onlyIds, boolean loadCache)
public String getDescription()
public List<BeanCollection<?>> getBatch()
public LoadManyBuffer getLoadContext()
public boolean isOnlyIds()
This for use when lazy loading is invoked on methods such as clear() and removeAll() where it generally makes sense to only fetch the Id values as the other property information is not used.
public boolean isLoadCache()
Copyright © 2014. All Rights Reserved.