|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ExperimentalApi public interface PaginationBatch<T>
A pagination batch is responsible for supplying a pageResponse for a given pageRequest.
A pagination template should treat the pageRequest values as sql OFFSET and LIMIT, but only return the results in the request that a user has permission to view. If a user does not have permission to view any results, return an empty PageResponse with the has more flag set Implementations should honour the limit property and not pull significantly more results from the database than the limit property allows. Implementations may honour the needed property of the LimitedRequest to provide a partial result set from the fetched limited items.
Method Summary |
---|
Methods inherited from interface com.google.common.base.Function |
---|
apply, equals |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |