org.springframework.integration.twitter.core
Class SearchResults

java.lang.Object
  extended by org.springframework.integration.twitter.core.SearchResults

public class SearchResults
extends java.lang.Object

Represents the results of a Twitter search, including matching Tweets and any metadata associated with that search.


Constructor Summary
SearchResults(java.util.List<Tweet> tweets, long maxId, long sinceId)
           
 
Method Summary
 long getMaxId()
          Returns the maximum Tweet ID in the search results
 long getSinceId()
          Returns the Tweet ID after which all of the matching Tweets were created
 java.util.List<Tweet> getTweets()
          Returns the list of matching Tweets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchResults

public SearchResults(java.util.List<Tweet> tweets,
                     long maxId,
                     long sinceId)
Method Detail

getTweets

public java.util.List<Tweet> getTweets()
Returns the list of matching Tweets


getMaxId

public long getMaxId()
Returns the maximum Tweet ID in the search results


getSinceId

public long getSinceId()
Returns the Tweet ID after which all of the matching Tweets were created