public interface BaseCollectionLoader extends DataLoader
CollectionLoader
,
KeyValueCollectionLoader
Modifier and Type | Method and Description |
---|---|
CollectionContainer |
getContainer()
Returns the container which accepts loaded entities.
|
int |
getFirstResult()
The position of the first instance to load, numbered from 0.
|
int |
getMaxResults()
The maximum number of instances to load.
|
Sort |
getSort()
Returns the sort object which is used when loading.
|
void |
setFirstResult(int firstResult)
Sets the position of the first instance to load, numbered from 0.
|
void |
setMaxResults(int maxResults)
Sets the maximum number of instances to load.
|
void |
setSort(Sort sort)
Sets the sort object which is used when loading.
|
getCondition, getDataContext, getParameter, getParameters, getQuery, isSoftDeletion, load, removeParameter, setCondition, setDataContext, setParameter, setParameters, setQuery, setSoftDeletion
CollectionContainer getContainer()
getContainer
in interface DataLoader
int getFirstResult()
setFirstResult(int)
was not called.void setFirstResult(int firstResult)
int getMaxResults()
Integer.MAX_VALUE
if setMaxResults(int)
was not called.void setMaxResults(int maxResults)
Sort getSort()
void setSort(Sort sort)