eg.com.espace.wenear.client
Class WeNearClient.UserPostsService

java.lang.Object
  extended by eg.com.espace.wenear.client.WeNearClient.UserPostsService
Enclosing class:
WeNearClient

public static class WeNearClient.UserPostsService
extends java.lang.Object

Service interface for managing incoming posts.


Nested Class Summary
static class WeNearClient.UserPostsService.TPost
           
 
Constructor Summary
WeNearClient.UserPostsService(WeNearClient client)
           
 
Method Summary
 WeNearClient.UserPostsService.TPost[] getMatchingPosts(int[] excludeIds)
          Retrieves posts in the logged-in user's vicinity and which match his/her interests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeNearClient.UserPostsService

public WeNearClient.UserPostsService(WeNearClient client)
Method Detail

getMatchingPosts

public WeNearClient.UserPostsService.TPost[] getMatchingPosts(int[] excludeIds)
                                                       throws WeNearClient.UnknownErrorException,
                                                              WeNearClient.BadResponseException,
                                                              WeNearClient.BadRequestException,
                                                              WeNearClient.NoSuchClientException
Retrieves posts in the logged-in user's vicinity and which match his/her interests. 'excludeIds' can contain IDs of posts received earlier by the user so that they are excluded from the response in order to save bandwidth.

Throws:
WeNearClient.UnknownErrorException
WeNearClient.BadResponseException
WeNearClient.BadRequestException
WeNearClient.NoSuchClientException