Package io.jmix.flowui.model
Interface BaseCollectionLoader
- All Superinterfaces:
DataLoader
- All Known Subinterfaces:
CollectionLoader<E>
,KeyValueCollectionLoader
- All Known Implementing Classes:
CollectionLoaderImpl
,KeyValueCollectionLoaderImpl
Root interface of collection loaders.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the container which accepts loaded entities.int
The position of the first instance to load, numbered from 0.int
The maximum number of instances to load.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
Sets the sort object which is used when loading.Methods inherited from interface io.jmix.flowui.model.DataLoader
getCondition, getDataContext, getHints, getMonitoringInfoProvider, getParameter, getParameters, getQuery, load, removeParameter, setCondition, setDataContext, setHint, setMonitoringInfoProvider, setParameter, setParameters, setQuery
-
Method Details
-
getContainer
CollectionContainer<?> getContainer()Returns the container which accepts loaded entities.- Specified by:
getContainer
in interfaceDataLoader
-
getFirstResult
int getFirstResult()The position of the first instance to load, numbered from 0. Returns 0 ifsetFirstResult(int)
was not called. -
setFirstResult
void setFirstResult(int firstResult) Sets the position of the first instance to load, numbered from 0. -
getMaxResults
int getMaxResults()The maximum number of instances to load. ReturnsInteger.MAX_VALUE
ifsetMaxResults(int)
was not called. -
setMaxResults
void setMaxResults(int maxResults) Sets the maximum number of instances to load. -
getSort
Returns the sort object which is used when loading. -
setSort
Sets the sort object which is used when loading.
-