org.springframework.social.facebook.api
Class PagingParameters
java.lang.Object
org.springframework.social.facebook.api.PagingParameters
- All Implemented Interfaces:
- java.io.Serializable
public class PagingParameters
- extends java.lang.Object
- implements java.io.Serializable
Carries parameters to describe a paged set of results.
- Author:
- Craig Walls
- See Also:
- Serialized Form
|
Constructor Summary |
PagingParameters(java.lang.Integer limit,
java.lang.Integer offset,
java.lang.Long since,
java.lang.Long until)
Constructs a PagedListParameters. |
PagingParameters(java.lang.Integer limit,
java.lang.Integer offset,
java.lang.Long since,
java.lang.Long until,
java.lang.String after,
java.lang.String before)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PagingParameters
public PagingParameters(java.lang.Integer limit,
java.lang.Integer offset,
java.lang.Long since,
java.lang.Long until)
- Constructs a PagedListParameters.
- Parameters:
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).
PagingParameters
public PagingParameters(java.lang.Integer limit,
java.lang.Integer offset,
java.lang.Long since,
java.lang.Long until,
java.lang.String after,
java.lang.String before)
getLimit
public java.lang.Integer getLimit()
getOffset
public java.lang.Integer getOffset()
getSince
public java.lang.Long getSince()
getUntil
public java.lang.Long getUntil()
getAfter
public java.lang.String getAfter()
getBefore
public java.lang.String getBefore()
toMap
public org.springframework.util.MultiValueMap<java.lang.String,java.lang.String> toMap()