Interface PaginationDataBinder
- All Known Implementing Classes:
AbstractPaginationDataBinder
,PaginationContainerBinder
,PaginationDataUnitBinder
,PaginationEmptyBinder
,PaginationLoaderBinder
public interface PaginationDataBinder
Interface defining methods for managing data loading in
PaginationComponent
component.-
Method Summary
Modifier and TypeMethodDescriptionint
getCount()
int
int
void
refresh()
Reloads instances.void
Removes collection change listener.void
Sets collection change listener.void
setFirstResult
(int startPosition) Sets the position of the first instance to load.void
setMaxResults
(int maxResults) Sets maximum number of instances to load.int
size()
-
Method Details
-
getFirstResult
int getFirstResult()- Returns:
- first position to load
-
setFirstResult
void setFirstResult(int startPosition) Sets the position of the first instance to load. -
getMaxResults
int getMaxResults()- Returns:
- maximum number of instances to load
-
setMaxResults
void setMaxResults(int maxResults) Sets maximum number of instances to load. -
getCount
int getCount()- Returns:
- number of instances in the data store
-
size
int size()- Returns:
- number of instances are currently loaded
-
refresh
void refresh()Reloads instances. -
removeCollectionChangeListener
void removeCollectionChangeListener()Removes collection change listener. -
setCollectionChangeListener
Sets collection change listener. -
getEntityMetaClass
MetaClass getEntityMetaClass()- Returns:
- meta class of entity
-