public class ObjectPagingParams extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
filter
The filter.
|
protected Long |
page
The page number.
|
protected Long |
pageSize
The page size.
|
| Constructor and Description |
|---|
ObjectPagingParams()
Default constructor sets the page to 1, the pageSize to 25.
|
ObjectPagingParams(Long page,
Long pageSize)
Instantiates a new Paging params.
|
ObjectPagingParams(Long page,
Long pageSize,
String filter)
Instantiates a new Paging params.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFilter()
Gets filter.
|
long |
getPage()
Gets page.
|
long |
getPageSize()
Gets page size.
|
ObjectPagingParams |
setFilter(String filter)
Sets filter.
|
ObjectPagingParams |
setPage(Long page)
Sets page.
|
ObjectPagingParams |
setPageSize(Long pageSize)
Sets page size.
|
@QueryParam(value="page") @Since(value=1.0) @Expose protected Long page
@QueryParam(value="pageSize") @Since(value=1.0) @Expose protected Long pageSize
@QueryParam(value="filter") @Since(value=1.0) @Expose protected String filter
public ObjectPagingParams()
public ObjectPagingParams(Long page, Long pageSize)
page - the offsetpageSize - the limitpublic long getPage()
public long getPageSize()
public String getFilter()
public ObjectPagingParams setPage(Long page)
page - the offsetpublic ObjectPagingParams setPageSize(Long pageSize)
pageSize - the limitpublic ObjectPagingParams setFilter(String filter)
filter - the filterCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.