Spring Social Yammer

org.springframework.social.yammer.api.impl
Class SearchTemplate

java.lang.Object
  extended by org.springframework.social.yammer.api.impl.AbstractYammerOperations
      extended by org.springframework.social.yammer.api.impl.SearchTemplate
All Implemented Interfaces:
SearchOperations

public class SearchTemplate
extends AbstractYammerOperations
implements SearchOperations

Author:
Morten Andersen-Gott

Constructor Summary
SearchTemplate(org.springframework.web.client.RestTemplate restTemplate)
           
 
Method Summary
 SearchResults search(java.lang.String searchString)
          Search among messages, users, tags and groups for the given string
 SearchResults search(java.lang.String searchString, int page)
          Search among messages, users, tags and groups for the given string
 SearchResults search(java.lang.String searchString, int page, int numberPerPage)
          Search among messages, users, tags and groups for the given string
 
Methods inherited from class org.springframework.social.yammer.api.impl.AbstractYammerOperations
buildUri, buildUri, buildUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchTemplate

public SearchTemplate(org.springframework.web.client.RestTemplate restTemplate)
Method Detail

search

public SearchResults search(java.lang.String searchString)
Description copied from interface: SearchOperations
Search among messages, users, tags and groups for the given string

Specified by:
search in interface SearchOperations
Returns:
search results potentially containing messages, users, tags and groups as well as stats

search

public SearchResults search(java.lang.String searchString,
                            int page)
Description copied from interface: SearchOperations
Search among messages, users, tags and groups for the given string

Specified by:
search in interface SearchOperations
page - the page number in the search result (max 50 results per page)
Returns:
search results potentially containing messages, users, tags and groups as well as stats

search

public SearchResults search(java.lang.String searchString,
                            int page,
                            int numberPerPage)
Description copied from interface: SearchOperations
Search among messages, users, tags and groups for the given string

Specified by:
search in interface SearchOperations
page - the page number in the search result
numberPerPage - number of results per page (max 50)
Returns:
search results potentially containing messages, users, tags and groups as well as stats

Spring Social Yammer