spring-social-facebook

org.springframework.social.facebook.api
Class PagingParameters

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.lang.String getAfter()
           
 java.lang.String getBefore()
           
 java.lang.Integer getLimit()
           
 java.lang.Integer getOffset()
           
 java.lang.Long getSince()
           
 java.lang.Long getUntil()
           
 org.springframework.util.MultiValueMap<java.lang.String,java.lang.String> toMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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()

spring-social-facebook