public interface LazyPaginationAware<T>
Modifier and Type | Method and Description |
---|---|
List<T> |
getFilteredResultsList(int firstResult,
int maxResults)
Implementing actions should initialize and return up to maxResults items ranging from firstResult
from the underlying list of uninitialized items
|
Pager<T> |
getPager()
Freemarker views for LazyPaginationAware actions should iterate over pager.page.list
|
int |
getResultsCount()
Implementing actions should return a total number of items that are subject to pagination
|
void |
setPager(Pager<T> pager)
Used to inject pager by PaginationAwareInterceptor
|
@NotNull List<T> getFilteredResultsList(int firstResult, int maxResults)
firstResult
- index of first itemmaxResults
- number of items to be returnedint getResultsCount()
Pager<T> getPager()
Pager
objectCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.