public class PaginationParams extends Object
Constructor and Description |
---|
PaginationParams() |
Modifier and Type | Method and Description |
---|---|
String |
getAttribute()
If pagination is attribute-based, returns the attribute that should be used.
|
Long |
getLimit()
Returns the limit if it has been specified.
|
Long |
getOffset()
If pagination is offset-based, returns the number of items to skip.
|
Long |
getPage()
If pagination is page-based, returns the index of the page.
|
String |
getValue()
If pagination is attribute-based, returns the value that should act as the upper value.
|
boolean |
hasLimit()
Returns true if a limit has been specified.
|
boolean |
hasPagination()
Returns if pagination should be enabled.
|
boolean |
isAttributeBased()
Returns if pagination is attribute based.
|
boolean |
isOffsetBased()
Returns if pagination is offset based.
|
boolean |
isPageBased()
Returns if pagination is page based.
|
public String getAttribute()
public Long getLimit()
public Long getOffset()
public Long getPage()
public String getValue()
public boolean hasLimit()
public boolean hasPagination()
public boolean isAttributeBased()
public boolean isOffsetBased()
public boolean isPageBased()
Copyright © 2013-2018–2019 SeedStack. All rights reserved.