org.exoplatform.social.opensocial.service
Class ExoActivityService

java.lang.Object
  extended by org.exoplatform.social.opensocial.service.ExoService
      extended by org.exoplatform.social.opensocial.service.ExoActivityService
All Implemented Interfaces:
org.apache.shindig.social.opensocial.spi.ActivityService

public class ExoActivityService
extends ExoService
implements org.apache.shindig.social.opensocial.spi.ActivityService

The Class ExoActivityService.


Field Summary
static String OPENSOCIAL_PREFIX
          The Constant OPENSOCIAL_PREFIX.
static int OPENSOCIAL_PREFIX_LENGTH
          The Constant OPENSOCIAL_PREFIX_LENGTH.
 
Constructor Summary
ExoActivityService()
           
 
Method Summary
 Future<Void> createActivity(org.apache.shindig.social.opensocial.spi.UserId userId, org.apache.shindig.social.opensocial.spi.GroupId groupId, String appId, Set<String> fields, org.apache.shindig.social.opensocial.model.Activity activity, org.apache.shindig.auth.SecurityToken token)
           
 Future<Void> deleteActivities(org.apache.shindig.social.opensocial.spi.UserId userId, org.apache.shindig.social.opensocial.spi.GroupId groupId, String appId, Set<String> activityIds, org.apache.shindig.auth.SecurityToken token)
           
 Future<org.apache.shindig.protocol.RestfulCollection<org.apache.shindig.social.opensocial.model.Activity>> getActivities(Set<org.apache.shindig.social.opensocial.spi.UserId> userIds, org.apache.shindig.social.opensocial.spi.GroupId groupId, String appId, Set<String> fields, org.apache.shindig.social.opensocial.spi.CollectionOptions options, org.apache.shindig.auth.SecurityToken token)
           
 Future<org.apache.shindig.protocol.RestfulCollection<org.apache.shindig.social.opensocial.model.Activity>> getActivities(org.apache.shindig.social.opensocial.spi.UserId userId, org.apache.shindig.social.opensocial.spi.GroupId groupId, String appId, Set<String> fields, org.apache.shindig.social.opensocial.spi.CollectionOptions options, Set<String> activityIds, org.apache.shindig.auth.SecurityToken token)
           
 Future<org.apache.shindig.social.opensocial.model.Activity> getActivity(org.apache.shindig.social.opensocial.spi.UserId userId, org.apache.shindig.social.opensocial.spi.GroupId groupId, String appId, Set<String> fields, String activityId, org.apache.shindig.auth.SecurityToken token)
           
 
Methods inherited from class org.exoplatform.social.opensocial.service.ExoService
getFriendsList, getHost, getIdentity, getIdentity, getIdSet, getIdSet, getPortalContainer, getPortalOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPENSOCIAL_PREFIX

public static final String OPENSOCIAL_PREFIX
The Constant OPENSOCIAL_PREFIX.

See Also:
Constant Field Values

OPENSOCIAL_PREFIX_LENGTH

public static final int OPENSOCIAL_PREFIX_LENGTH
The Constant OPENSOCIAL_PREFIX_LENGTH.

Constructor Detail

ExoActivityService

public ExoActivityService()
Method Detail

getActivities

public Future<org.apache.shindig.protocol.RestfulCollection<org.apache.shindig.social.opensocial.model.Activity>> getActivities(Set<org.apache.shindig.social.opensocial.spi.UserId> userIds,
                                                                                                                                org.apache.shindig.social.opensocial.spi.GroupId groupId,
                                                                                                                                String appId,
                                                                                                                                Set<String> fields,
                                                                                                                                org.apache.shindig.social.opensocial.spi.CollectionOptions options,
                                                                                                                                org.apache.shindig.auth.SecurityToken token)
                                                                                                                         throws org.apache.shindig.protocol.ProtocolException
Specified by:
getActivities in interface org.apache.shindig.social.opensocial.spi.ActivityService
Throws:
org.apache.shindig.protocol.ProtocolException

getActivities

public Future<org.apache.shindig.protocol.RestfulCollection<org.apache.shindig.social.opensocial.model.Activity>> getActivities(org.apache.shindig.social.opensocial.spi.UserId userId,
                                                                                                                                org.apache.shindig.social.opensocial.spi.GroupId groupId,
                                                                                                                                String appId,
                                                                                                                                Set<String> fields,
                                                                                                                                org.apache.shindig.social.opensocial.spi.CollectionOptions options,
                                                                                                                                Set<String> activityIds,
                                                                                                                                org.apache.shindig.auth.SecurityToken token)
                                                                                                                         throws org.apache.shindig.protocol.ProtocolException
Specified by:
getActivities in interface org.apache.shindig.social.opensocial.spi.ActivityService
Throws:
org.apache.shindig.protocol.ProtocolException

getActivity

public Future<org.apache.shindig.social.opensocial.model.Activity> getActivity(org.apache.shindig.social.opensocial.spi.UserId userId,
                                                                               org.apache.shindig.social.opensocial.spi.GroupId groupId,
                                                                               String appId,
                                                                               Set<String> fields,
                                                                               String activityId,
                                                                               org.apache.shindig.auth.SecurityToken token)
                                                                        throws org.apache.shindig.protocol.ProtocolException
Specified by:
getActivity in interface org.apache.shindig.social.opensocial.spi.ActivityService
Throws:
org.apache.shindig.protocol.ProtocolException

deleteActivities

public Future<Void> deleteActivities(org.apache.shindig.social.opensocial.spi.UserId userId,
                                     org.apache.shindig.social.opensocial.spi.GroupId groupId,
                                     String appId,
                                     Set<String> activityIds,
                                     org.apache.shindig.auth.SecurityToken token)
                              throws org.apache.shindig.protocol.ProtocolException
Specified by:
deleteActivities in interface org.apache.shindig.social.opensocial.spi.ActivityService
Throws:
org.apache.shindig.protocol.ProtocolException

createActivity

public Future<Void> createActivity(org.apache.shindig.social.opensocial.spi.UserId userId,
                                   org.apache.shindig.social.opensocial.spi.GroupId groupId,
                                   String appId,
                                   Set<String> fields,
                                   org.apache.shindig.social.opensocial.model.Activity activity,
                                   org.apache.shindig.auth.SecurityToken token)
                            throws org.apache.shindig.protocol.ProtocolException
Specified by:
createActivity in interface org.apache.shindig.social.opensocial.spi.ActivityService
Throws:
org.apache.shindig.protocol.ProtocolException


Copyright © 2013 eXo Platform SAS. All Rights Reserved.