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

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

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

Service interface for managing user interests


Nested Class Summary
static class WeNearClient.UserInterestsService.TInterest
           
 
Constructor Summary
WeNearClient.UserInterestsService(WeNearClient client)
           
 
Method Summary
 WeNearClient.UserInterestsService.TInterest[] getUserInterests()
          Retrieves interests selected previously by the logged-in user.
 void setUserInterests(int[] interestIds)
          Sets the interests of the logged-in user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeNearClient.UserInterestsService

public WeNearClient.UserInterestsService(WeNearClient client)
Method Detail

getUserInterests

public WeNearClient.UserInterestsService.TInterest[] getUserInterests()
                                                               throws WeNearClient.UnknownErrorException,
                                                                      WeNearClient.BadResponseException,
                                                                      WeNearClient.BadRequestException,
                                                                      WeNearClient.NoSuchClientException
Retrieves interests selected previously by the logged-in user.

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

setUserInterests

public void setUserInterests(int[] interestIds)
                      throws WeNearClient.UnknownErrorException,
                             WeNearClient.BadResponseException,
                             WeNearClient.BadRequestException,
                             WeNearClient.NoSuchClientException
Sets the interests of the logged-in user

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