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.
|
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 Integer getLimit()
public Integer getOffset()
public Long getSince()
public Long getUntil()
public String getAfter()
public String getBefore()
public String getPagingToken()
public MultiValueMap<String,String> toMap()