You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by hs...@apache.org on 2012/02/25 00:54:03 UTC

svn commit: r1293484 - /shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/opensocial/spi/GroupService.java

Author: hsaputra
Date: Fri Feb 24 23:54:03 2012
New Revision: 1293484

URL: http://svn.apache.org/viewvc?rev=1293484&view=rev
Log:
SHINDIG-1713 | getGroups does not throw a ProtocolException | Patch from Michael May, thanks

Modified:
    shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/opensocial/spi/GroupService.java

Modified: shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/opensocial/spi/GroupService.java
URL: http://svn.apache.org/viewvc/shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/opensocial/spi/GroupService.java?rev=1293484&r1=1293483&r2=1293484&view=diff
==============================================================================
--- shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/opensocial/spi/GroupService.java (original)
+++ shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/opensocial/spi/GroupService.java Fri Feb 24 23:54:03 2012
@@ -22,6 +22,7 @@ import java.util.Set;
 import java.util.concurrent.Future;
 
 import org.apache.shindig.auth.SecurityToken;
+import org.apache.shindig.protocol.ProtocolException;
 import org.apache.shindig.protocol.RestfulCollection;
 import org.apache.shindig.social.opensocial.model.Group;
 
@@ -37,7 +38,9 @@ public interface GroupService {
    * @param fields  Field search/sort
    * @param token   a valid security token
    * @return a collection of groups for a specific userId
+   * @throws org.apache.shindig.protocol.ProtocolException
    */
-  public Future<RestfulCollection<Group>> getGroups(UserId userId, CollectionOptions options, Set<String> fields, SecurityToken token);
+  public Future<RestfulCollection<Group>> getGroups(UserId userId, CollectionOptions options,
+    Set<String> fields, SecurityToken token) throws ProtocolException;
 
 }