| Package | Description |
|---|---|
| org.apache.shindig.social.core.model |
Core Social Model
Default implementations of the Social Model.
|
| org.apache.shindig.social.opensocial.model |
The Social Model API package
Model interfaces that are used throughout the Social Component to transfer the model.
|
| 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 |
|---|---|
GroupId |
GroupImpl.getId() |
| Modifier and Type | Method and Description |
|---|---|
void |
GroupImpl.setId(GroupId groupId)
Set the default group id
|
| Modifier and Type | Method and Description |
|---|---|
GroupId |
Group.getId() |
| Modifier and Type | Method and Description |
|---|---|
void |
Group.setId(GroupId id)
Set the default group id
|
| Modifier and Type | Method and Description |
|---|---|
GroupId |
SocialRequestItem.getGroup() |
| Modifier and Type | Method and Description |
|---|---|
static GroupId |
GroupId.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> |
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> |
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(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<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<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.
|
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<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.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.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(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<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<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.
|
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.
|
Copyright © 2007-2012. All Rights Reserved.