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.
|
io.jmix.core.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(io.jmix.core.Sort sort)
Sets the sort object which is used when loading.
|
getCondition, getDataContext, getHints, getParameter, getParameters, getQuery, load, removeParameter, setCondition, setDataContext, setHint, setParameter, setParameters, setQuery
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)
@Nullable io.jmix.core.Sort getSort()
void setSort(@Nullable io.jmix.core.Sort sort)