public class PagingParameters extends Object implements Serializable
| Constructor and Description |
|---|
PagingParameters(Integer limit,
Integer offset,
Long since,
Long until)
Constructs a PagedListParameters.
|
PagingParameters(Integer limit,
Integer offset,
Long since,
Long until,
String after,
String before)
Constructs a PagedListParameters.
|
PagingParameters(Integer limit,
Integer offset,
Long since,
Long until,
String after,
String before,
String pagingToken)
Constructs a PagedListParameters.
|
PagingParameters(Integer limit,
Integer offset,
Long since,
Long until,
String after,
String before,
String pagingToken,
String fullUrl)
Constructs a PagedListParameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAfter() |
String |
getBefore() |
String |
getFullUrl() |
Integer |
getLimit() |
Integer |
getOffset() |
String |
getPagingToken() |
Long |
getSince() |
Long |
getUntil() |
MultiValueMap<String,String> |
toMap() |
public PagingParameters(Integer limit, Integer offset, Long since, Long until)
limit - The number of items to limit the list to.offset - The offset into the full result list to start this list at.since - The beginning timestamp bound for time-sensitive content (e.g., posts, comments, etc).until - The ending timestamp bound for time-sensitive content (e.g., posts, comments, etc).public PagingParameters(Integer limit, Integer offset, Long since, Long until, String after, String before)
limit - The number of items to limit the list to.offset - The offset into the full result list to start this list at.since - The beginning timestamp bound for time-sensitive content (e.g., posts, comments, etc).until - The ending timestamp bound for time-sensitive content (e.g., posts, comments, etc).after - A cursor token that points to the end of the page being returned.before - A cursor token that points to the start of the page being returned.public PagingParameters(Integer limit, Integer offset, Long since, Long until, String after, String before, String pagingToken)
limit - The number of items to limit the list to.offset - The offset into the full result list to start this list at.since - The beginning timestamp bound for time-sensitive content (e.g., posts, comments, etc).until - The ending timestamp bound for time-sensitive content (e.g., posts, comments, etc).after - A cursor token that points to the end of the page being returned.before - A cursor token that points to the start of the page being returned.pagingToken - A page token. This is undocumented by Facebook and its purpose is unclear,
but if it's available, it helps prevent the last item in a page of results
from appearing as the first item on the next page.public PagingParameters(Integer limit, Integer offset, Long since, Long until, String after, String before, String pagingToken, String fullUrl)
limit - The number of items to limit the list to.offset - The offset into the full result list to start this list at.since - The beginning timestamp bound for time-sensitive content (e.g., posts, comments, etc).until - The ending timestamp bound for time-sensitive content (e.g., posts, comments, etc).after - A cursor token that points to the end of the page being returned.before - A cursor token that points to the start of the page being returned.pagingToken - A page token. This is undocumented by Facebook and its purpose is unclear,
but if it's available, it helps prevent the last item in a page of results
from appearing as the first item on the next page.fullUrl - The full url to the next or previous page.public Integer getLimit()
public Integer getOffset()
public Long getSince()
public Long getUntil()
public String getAfter()
public String getBefore()
public String getPagingToken()
public String getFullUrl()
public MultiValueMap<String,String> toMap()