Package | Description |
---|---|
org.nuiton.util.pagination |
This package contains all about pagination :
PaginationParameter to express the input pagination parameters when
preparing a query
PaginationOrder represents an order clause together with asc/desc
PaginationResult represents a list together with the pagination parameters
used to get the list of elements. |
Modifier and Type | Method and Description |
---|---|
PaginationParameter.PaginationParameterBuilder |
PaginationParameter.PaginationParameterBuilder.addAscOrder(String clause)
Adds an ASC order clause
|
PaginationParameter.PaginationParameterBuilder |
PaginationParameter.PaginationParameterBuilder.addDescOrder(String clause)
Adds an DESC order clause
|
PaginationParameter.PaginationParameterBuilder |
PaginationParameter.PaginationParameterBuilder.addOrder(String clause)
Adds an order clause.
|
PaginationParameter.PaginationParameterBuilder |
PaginationParameter.PaginationParameterBuilder.addOrder(String clause,
boolean desc)
Adds an order clause
|
PaginationParameter.PaginationParameterBuilder |
PaginationParameter.PaginationParameterBuilder.addOrderClauses(Iterable<PaginationOrder> clauses)
Adds an the given order clauses
|
static PaginationParameter.PaginationParameterBuilder |
PaginationParameter.builder(int pageNumber,
int pageSize)
Method to create a PaginationParameter using the
PaginationParameter.PaginationParameterBuilder . |
Copyright © 2004–2020 CodeLutin. All rights reserved.