com.sugestio.client.call
Class GetRecommendationsCall

java.lang.Object
  extended by com.sugestio.client.call.Call
      extended by com.sugestio.client.call.GetRecommendationsCall
All Implemented Interfaces:
java.util.concurrent.Callable<SugestioResult<java.util.List<Recommendation>>>

public class GetRecommendationsCall
extends Call
implements java.util.concurrent.Callable<SugestioResult<java.util.List<Recommendation>>>


Field Summary
 
Fields inherited from class com.sugestio.client.call.Call
config, consumptionId, itemId, jClient, resourceType, userId
 
Constructor Summary
GetRecommendationsCall(com.sun.jersey.api.client.Client jClient, SugestioConfig config, SugestioClient.ResourceType resourceType, java.lang.String userId, java.lang.String itemId, RecommendationFilter filter)
           
GetRecommendationsCall(com.sun.jersey.api.client.Client jClient, SugestioConfig config, SugestioClient.ResourceType resourceType, java.lang.String userId, java.lang.String itemId, SugestioClient.PartitionType partitionType, java.lang.String partitionId)
           
 
Method Summary
 SugestioResult<java.util.List<Recommendation>> call()
           
 
Methods inherited from class com.sugestio.client.call.Call
getOauthFilter, getUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetRecommendationsCall

public GetRecommendationsCall(com.sun.jersey.api.client.Client jClient,
                              SugestioConfig config,
                              SugestioClient.ResourceType resourceType,
                              java.lang.String userId,
                              java.lang.String itemId,
                              SugestioClient.PartitionType partitionType,
                              java.lang.String partitionId)

GetRecommendationsCall

public GetRecommendationsCall(com.sun.jersey.api.client.Client jClient,
                              SugestioConfig config,
                              SugestioClient.ResourceType resourceType,
                              java.lang.String userId,
                              java.lang.String itemId,
                              RecommendationFilter filter)
Method Detail

call

public SugestioResult<java.util.List<Recommendation>> call()
                                                    throws SugestioException
Specified by:
call in interface java.util.concurrent.Callable<SugestioResult<java.util.List<Recommendation>>>
Throws:
SugestioException