org.apache.shindig.social.opensocial.spi
Interface GroupService


public interface GroupService

A service for gathering group information for specific users.

Since:
2.0.0

Method Summary
 java.util.concurrent.Future<RestfulCollection<Group>> getGroups(UserId userId, CollectionOptions options, java.util.Set<java.lang.String> fields, SecurityToken token)
           
 

Method Detail

getGroups

java.util.concurrent.Future<RestfulCollection<Group>> getGroups(UserId userId,
                                                                CollectionOptions options,
                                                                java.util.Set<java.lang.String> fields,
                                                                SecurityToken token)
                                                                throws ProtocolException
Parameters:
userId - a userId object
options - search/sort/filtering options
fields - Field search/sort
token - a valid security token
Returns:
a collection of groups for a specific userId
Throws:
ProtocolException


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.