| Package | Description |
|---|---|
| org.apache.shindig.social.opensocial.service |
The Social Service API package
Service classes and interfaces that bind to the HTTP transport
and provide routing and handling of the REST requests.
|
| org.apache.shindig.social.opensocial.spi |
The Social Service Provider Interface package
Interface and supporting classes that specify the service
provider interface between Shindig and the deployed SNS infrastructure.
|
| org.apache.shindig.social.sample.spi |
Sample SPI implementation
A Sample implementation of the SPI, using a JSON DB
implementation.
|
| Modifier and Type | Method and Description |
|---|---|
Set<UserId> |
SocialRequestItem.getUsers() |
| Modifier and Type | Method and Description |
|---|---|
static UserId |
UserId.fromJson(String jsonId) |
| Modifier and Type | Method and Description |
|---|---|
Future<Void> |
ActivityService.createActivity(UserId userId,
GroupId groupId,
String appId,
Set<String> fields,
Activity activity,
SecurityToken token)
Creates the passed in activity for the passed in user and group.
|
Future<Void> |
AlbumService.createAlbum(UserId userId,
String appId,
Album album,
SecurityToken token) |
Future<Void> |
AlbumService.NotImplementedAlbumService.createAlbum(UserId userId,
String appId,
Album album,
SecurityToken token) |
Future<Void> |
MediaItemService.createMediaItem(UserId userId,
String appId,
String albumId,
MediaItem mediaItem,
SecurityToken token) |
Future<Void> |
MediaItemService.NotImplementedMediaItemService.createMediaItem(UserId userId,
String appId,
String albumId,
MediaItem mediaItem,
SecurityToken token) |
Future<Void> |
MessageService.createMessage(UserId userId,
String appId,
String msgCollId,
Message message,
SecurityToken token)
Posts a message to the user's specified message collection, to be sent to the set of recipients specified in
the message.
|
Future<Void> |
MessageService.NotImplementedMessageService.createMessage(UserId userId,
String appId,
String msgCollId,
Message message,
SecurityToken token) |
Future<MessageCollection> |
MessageService.createMessageCollection(UserId userId,
MessageCollection msgCollection,
SecurityToken token)
Creates a new message collection for the given arguments
|
Future<MessageCollection> |
MessageService.NotImplementedMessageService.createMessageCollection(UserId userId,
MessageCollection msgCollection,
SecurityToken token) |
Future<Void> |
ActivityService.deleteActivities(UserId userId,
GroupId groupId,
String appId,
Set<String> activityIds,
SecurityToken token)
Deletes the activity for the passed in user and group that corresponds to the activityId.
|
Future<Void> |
AlbumService.deleteAlbum(UserId userId,
String appId,
String albumId,
SecurityToken token) |
Future<Void> |
AlbumService.NotImplementedAlbumService.deleteAlbum(UserId userId,
String appId,
String albumId,
SecurityToken token) |
Future<Void> |
MediaItemService.deleteMediaItem(UserId userId,
String appId,
String albumId,
String mediaItemId,
SecurityToken token) |
Future<Void> |
MediaItemService.NotImplementedMediaItemService.deleteMediaItem(UserId userId,
String appId,
String albumId,
String mediaItemId,
SecurityToken token) |
Future<Void> |
MessageService.deleteMessageCollection(UserId userId,
String msgCollId,
SecurityToken token)
Deletes a message collection for the given arguments
|
Future<Void> |
MessageService.NotImplementedMessageService.deleteMessageCollection(UserId userId,
String msgCollId,
SecurityToken token) |
Future<Void> |
MessageService.deleteMessages(UserId userId,
String msgCollId,
List<String> ids,
SecurityToken token)
Deletes a set of messages for a given user/message collection
|
Future<Void> |
MessageService.NotImplementedMessageService.deleteMessages(UserId userId,
String msgCollId,
List<String> ids,
SecurityToken token) |
Future<Void> |
AppDataService.deletePersonData(UserId userId,
GroupId groupId,
String appId,
Set<String> fields,
SecurityToken token)
Deletes data for the specified user and group.
|
Future<RestfulCollection<Activity>> |
ActivityService.getActivities(UserId userId,
GroupId groupId,
String appId,
Set<String> fields,
CollectionOptions options,
Set<String> activityIds,
SecurityToken token)
Returns a set of activities for the passed in user and group that corresponds to a list of
activityIds.
|
Future<Activity> |
ActivityService.getActivity(UserId userId,
GroupId groupId,
String appId,
Set<String> fields,
String activityId,
SecurityToken token)
Returns an activity for the passed in user and group that corresponds to a single
activityId.
|
Future<Album> |
AlbumService.getAlbum(UserId userId,
String appId,
Set<String> fields,
String albumId,
SecurityToken token) |
Future<Album> |
AlbumService.NotImplementedAlbumService.getAlbum(UserId userId,
String appId,
Set<String> fields,
String albumId,
SecurityToken token) |
Future<RestfulCollection<Album>> |
AlbumService.getAlbums(UserId userId,
String appId,
Set<String> fields,
CollectionOptions options,
Set<String> albumIds,
SecurityToken token) |
Future<RestfulCollection<Album>> |
AlbumService.NotImplementedAlbumService.getAlbums(UserId userId,
String appId,
Set<String> fields,
CollectionOptions options,
Set<String> albumIds,
SecurityToken token) |
Future<RestfulCollection<Group>> |
GroupService.getGroups(UserId userId,
CollectionOptions options,
Set<String> fields,
SecurityToken token) |
Future<MediaItem> |
MediaItemService.getMediaItem(UserId userId,
String appId,
String albumId,
String mediaItemId,
Set<String> fields,
SecurityToken token) |
Future<MediaItem> |
MediaItemService.NotImplementedMediaItemService.getMediaItem(UserId userId,
String appId,
String albumId,
String mediaItemId,
Set<String> fields,
SecurityToken token) |
Future<RestfulCollection<MediaItem>> |
MediaItemService.getMediaItems(UserId userId,
String appId,
String albumId,
Set<String> fields,
CollectionOptions options,
SecurityToken token) |
Future<RestfulCollection<MediaItem>> |
MediaItemService.NotImplementedMediaItemService.getMediaItems(UserId userId,
String appId,
String albumId,
Set<String> fields,
CollectionOptions options,
SecurityToken token) |
Future<RestfulCollection<MediaItem>> |
MediaItemService.getMediaItems(UserId userId,
String appId,
String albumId,
Set<String> mediaItemIds,
Set<String> fields,
CollectionOptions options,
SecurityToken token) |
Future<RestfulCollection<MediaItem>> |
MediaItemService.NotImplementedMediaItemService.getMediaItems(UserId userId,
String appId,
String albumId,
Set<String> mediaItemIds,
Set<String> fields,
CollectionOptions options,
SecurityToken token) |
Future<RestfulCollection<MessageCollection>> |
MessageService.getMessageCollections(UserId userId,
Set<String> fields,
CollectionOptions options,
SecurityToken token)
Returns a list of message collections corresponding to the given user
|
Future<RestfulCollection<MessageCollection>> |
MessageService.NotImplementedMessageService.getMessageCollections(UserId userId,
Set<String> fields,
CollectionOptions options,
SecurityToken token) |
Future<RestfulCollection<Message>> |
MessageService.getMessages(UserId userId,
String msgCollId,
Set<String> fields,
List<String> msgIds,
CollectionOptions options,
SecurityToken token)
Returns a list of messages that correspond to the passed in data
|
Future<RestfulCollection<Message>> |
MessageService.NotImplementedMessageService.getMessages(UserId userId,
String msgCollId,
Set<String> fields,
List<String> msgIds,
CollectionOptions options,
SecurityToken token) |
Future<Person> |
PersonService.getPerson(UserId id,
Set<String> fields,
SecurityToken token)
Returns a person that corresponds to the passed in person id.
|
Future<Void> |
MessageService.modifyMessage(UserId userId,
String msgCollId,
String messageId,
Message message,
SecurityToken token)
Modifies/Updates a specific message with new data
|
Future<Void> |
MessageService.NotImplementedMessageService.modifyMessage(UserId userId,
String msgCollId,
String messageId,
Message message,
SecurityToken token) |
Future<Void> |
MessageService.modifyMessageCollection(UserId userId,
MessageCollection msgCollection,
SecurityToken token)
Modifies/Updates a message collection for the given arguments
|
Future<Void> |
MessageService.NotImplementedMessageService.modifyMessageCollection(UserId userId,
MessageCollection msgCollection,
SecurityToken token) |
Future<Void> |
AlbumService.updateAlbum(UserId userId,
String appId,
Album album,
String albumId,
SecurityToken token) |
Future<Void> |
AlbumService.NotImplementedAlbumService.updateAlbum(UserId userId,
String appId,
Album album,
String albumId,
SecurityToken token) |
Future<Void> |
MediaItemService.updateMediaItem(UserId userId,
String appId,
String albumId,
String mediaItemId,
MediaItem mediaItem,
SecurityToken token) |
Future<Void> |
MediaItemService.NotImplementedMediaItemService.updateMediaItem(UserId userId,
String appId,
String albumId,
String mediaItemId,
MediaItem mediaItem,
SecurityToken token) |
Future<Void> |
AppDataService.updatePersonData(UserId userId,
GroupId groupId,
String appId,
Set<String> fields,
Map<String,String> values,
SecurityToken token)
Updates app data for the specified user and group with the new values.
|
| Modifier and Type | Method and Description |
|---|---|
Future<RestfulCollection<Activity>> |
ActivityService.getActivities(Set<UserId> userIds,
GroupId groupId,
String appId,
Set<String> fields,
CollectionOptions options,
SecurityToken token)
Returns a list of activities that correspond to the passed in users and group.
|
Future<RestfulCollection<Album>> |
AlbumService.getAlbums(Set<UserId> userIds,
GroupId groupId,
String appId,
Set<String> fields,
CollectionOptions options,
SecurityToken token) |
Future<RestfulCollection<Album>> |
AlbumService.NotImplementedAlbumService.getAlbums(Set<UserId> userIds,
GroupId groupId,
String appId,
Set<String> fields,
CollectionOptions options,
SecurityToken token) |
Future<RestfulCollection<MediaItem>> |
MediaItemService.getMediaItems(Set<UserId> userIds,
GroupId groupId,
String appId,
Set<String> fields,
CollectionOptions options,
SecurityToken token) |
Future<RestfulCollection<MediaItem>> |
MediaItemService.NotImplementedMediaItemService.getMediaItems(Set<UserId> userIds,
GroupId groupId,
String appId,
Set<String> fields,
CollectionOptions options,
SecurityToken token) |
Future<RestfulCollection<Person>> |
PersonService.getPeople(Set<UserId> userIds,
GroupId groupId,
CollectionOptions collectionOptions,
Set<String> fields,
SecurityToken token)
Returns a list of people that correspond to the passed in person ids.
|
Future<DataCollection> |
AppDataService.getPersonData(Set<UserId> userIds,
GroupId groupId,
String appId,
Set<String> fields,
SecurityToken token)
Retrives app data for the specified user list and group.
|
| Modifier and Type | Method and Description |
|---|---|
Future<Void> |
JsonDbOpensocialService.createActivity(UserId userId,
GroupId groupId,
String appId,
Set<String> fields,
Activity activity,
SecurityToken token)
Creates the passed in activity for the passed in user and group.
|
Future<Void> |
JsonDbOpensocialService.createAlbum(UserId userId,
String appId,
Album album,
SecurityToken token) |
Future<Void> |
JsonDbOpensocialService.createMediaItem(UserId userId,
String appId,
String albumId,
MediaItem mediaItem,
SecurityToken token) |
Future<Void> |
JsonDbOpensocialService.createMessage(UserId userId,
String appId,
String msgCollId,
Message message,
SecurityToken token)
Posts a message to the user's specified message collection, to be sent to the set of recipients specified in
the message.
|
Future<MessageCollection> |
JsonDbOpensocialService.createMessageCollection(UserId userId,
MessageCollection msgCollection,
SecurityToken token)
Creates a new message collection for the given arguments
|
Future<Void> |
JsonDbOpensocialService.deleteActivities(UserId userId,
GroupId groupId,
String appId,
Set<String> activityIds,
SecurityToken token)
Deletes the activity for the passed in user and group that corresponds to the activityId.
|
Future<Void> |
JsonDbOpensocialService.deleteAlbum(UserId userId,
String appId,
String albumId,
SecurityToken token) |
Future<Void> |
JsonDbOpensocialService.deleteMediaItem(UserId userId,
String appId,
String albumId,
String mediaItemId,
SecurityToken token) |
Future<Void> |
JsonDbOpensocialService.deleteMessageCollection(UserId userId,
String msgCollId,
SecurityToken token)
Deletes a message collection for the given arguments
|
Future<Void> |
JsonDbOpensocialService.deleteMessages(UserId userId,
String msgCollId,
List<String> ids,
SecurityToken token)
Deletes a set of messages for a given user/message collection
|
Future<Void> |
JsonDbOpensocialService.deletePersonData(UserId userId,
GroupId groupId,
String appId,
Set<String> fields,
SecurityToken token)
Deletes data for the specified user and group.
|
Future<RestfulCollection<Activity>> |
JsonDbOpensocialService.getActivities(UserId userId,
GroupId groupId,
String appId,
Set<String> fields,
CollectionOptions options,
Set<String> activityIds,
SecurityToken token)
Returns a set of activities for the passed in user and group that corresponds to a list of
activityIds.
|
Future<Activity> |
JsonDbOpensocialService.getActivity(UserId userId,
GroupId groupId,
String appId,
Set<String> fields,
String activityId,
SecurityToken token)
Returns an activity for the passed in user and group that corresponds to a single
activityId.
|
Future<Album> |
JsonDbOpensocialService.getAlbum(UserId userId,
String appId,
Set<String> fields,
String albumId,
SecurityToken token) |
Future<RestfulCollection<Album>> |
JsonDbOpensocialService.getAlbums(UserId userId,
String appId,
Set<String> fields,
CollectionOptions options,
Set<String> albumIds,
SecurityToken token) |
Future<RestfulCollection<Group>> |
JsonDbOpensocialService.getGroups(UserId userId,
CollectionOptions options,
Set<String> fields,
SecurityToken token) |
Future<MediaItem> |
JsonDbOpensocialService.getMediaItem(UserId userId,
String appId,
String albumId,
String mediaItemId,
Set<String> fields,
SecurityToken token) |
Future<RestfulCollection<MediaItem>> |
JsonDbOpensocialService.getMediaItems(UserId userId,
String appId,
String albumId,
Set<String> fields,
CollectionOptions options,
SecurityToken token) |
Future<RestfulCollection<MediaItem>> |
JsonDbOpensocialService.getMediaItems(UserId userId,
String appId,
String albumId,
Set<String> mediaItemIds,
Set<String> fields,
CollectionOptions options,
SecurityToken token) |
Future<RestfulCollection<MessageCollection>> |
JsonDbOpensocialService.getMessageCollections(UserId userId,
Set<String> fields,
CollectionOptions options,
SecurityToken token)
Returns a list of message collections corresponding to the given user
|
Future<RestfulCollection<Message>> |
JsonDbOpensocialService.getMessages(UserId userId,
String msgCollId,
Set<String> fields,
List<String> msgIds,
CollectionOptions options,
SecurityToken token)
Returns a list of messages that correspond to the passed in data
|
Future<Person> |
JsonDbOpensocialService.getPerson(UserId id,
Set<String> fields,
SecurityToken token)
Returns a person that corresponds to the passed in person id.
|
Future<Void> |
JsonDbOpensocialService.modifyMessage(UserId userId,
String msgCollId,
String messageId,
Message message,
SecurityToken token)
Modifies/Updates a specific message with new data
|
Future<Void> |
JsonDbOpensocialService.modifyMessageCollection(UserId userId,
MessageCollection msgCollection,
SecurityToken token)
Modifies/Updates a message collection for the given arguments
|
Future<Void> |
JsonDbOpensocialService.updateAlbum(UserId userId,
String appId,
Album album,
String albumId,
SecurityToken token) |
Future<Void> |
JsonDbOpensocialService.updateMediaItem(UserId userId,
String appId,
String albumId,
String mediaItemId,
MediaItem mediaItem,
SecurityToken token) |
Future<Void> |
JsonDbOpensocialService.updatePersonData(UserId userId,
GroupId groupId,
String appId,
Set<String> fields,
Map<String,String> values,
SecurityToken token)
Updates app data for the specified user and group with the new values.
|
| Modifier and Type | Method and Description |
|---|---|
Future<RestfulCollection<Activity>> |
JsonDbOpensocialService.getActivities(Set<UserId> userIds,
GroupId groupId,
String appId,
Set<String> fields,
CollectionOptions options,
SecurityToken token)
Returns a list of activities that correspond to the passed in users and group.
|
Future<RestfulCollection<Album>> |
JsonDbOpensocialService.getAlbums(Set<UserId> userIds,
GroupId groupId,
String appId,
Set<String> fields,
CollectionOptions options,
SecurityToken token) |
Set<String> |
JsonDbOpensocialService.getIdSet(Set<UserId> users,
GroupId group,
SecurityToken token)
Get the set of user id's for a set of users and a group
|
Future<RestfulCollection<MediaItem>> |
JsonDbOpensocialService.getMediaItems(Set<UserId> userIds,
GroupId groupId,
String appId,
Set<String> fields,
CollectionOptions options,
SecurityToken token) |
Future<RestfulCollection<Person>> |
JsonDbOpensocialService.getPeople(Set<UserId> userIds,
GroupId groupId,
CollectionOptions options,
Set<String> fields,
SecurityToken token)
Returns a list of people that correspond to the passed in person ids.
|
Future<DataCollection> |
JsonDbOpensocialService.getPersonData(Set<UserId> userIds,
GroupId groupId,
String appId,
Set<String> fields,
SecurityToken token)
Retrives app data for the specified user list and group.
|
Copyright © 2007-2012. All Rights Reserved.