| Package | Description |
|---|---|
| org.opensocial | |
| org.opensocial.providers | |
| org.opensocial.services | |
| org.opensocial.services.myspace |
| Modifier and Type | Method and Description |
|---|---|
Response |
Client.send(Request request)
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Response> |
Client.send(Map<String,Request> requests)
|
| Modifier and Type | Method and Description |
|---|---|
void |
Provider.postRequest(Request request,
Response response) |
void |
Provider.preRequest(Request request) |
void |
PlaxoProvider.preRequest(Request request) |
| Modifier and Type | Method and Description |
|---|---|
static Request |
ActivitiesService.createActivity(Activity activity)
Returns a new Request instance which, when submitted, generates a new
activity for the current application associated with the current viewer.
|
static Request |
AlbumsService.createAlbum(Album album)
Returns a new Request instance which, when submitted, creates a new
album in the current viewer's library.
|
static Request |
MediaItemsService.createMediaItem(MediaItem item)
Returns a new Request instance which, when submitted, creates a new
media item in the specified viewer album.
|
static Request |
MessagesService.createMessage(Message message)
Returns a new Request instance which, when submitted, generates a new
message for the current application associated with the current viewer.
|
static Request |
MessagesService.createMessageCollection(MessageCollection messageCollection)
Returns a new Request instance which, when submitted, generates a new
messageCollection for the current application associated with the current viewer.
|
static Request |
AlbumsService.deleteAlbum(String albumId)
Returns a new Request instance which, when submitted, deletes an existing
album from the current viewer's library.
|
static Request |
AppDataService.deleteAppData(List<String> keys)
Returns a new Request which, when submitted, deletes the specified keys
and their associated values in the current viewer's AppData.
|
static Request |
AppDataService.deleteAppData(String key)
Returns a new Request which, when submitted, deletes the specified key and
its associated value in the current viewer's AppData.
|
static Request |
AppDataService.deleteAppData(String[] keys)
Returns a new Request which, when submitted, deletes the specified keys
and their associated values in the current viewer's AppData.
|
static Request |
MediaItemsService.deleteMediaItem(String itemId,
String albumId)
Returns a new Request instance which, when submitted, deletes an existing
media item from the specified viewer album.
|
static Request |
ActivitiesService.getActivities()
Returns a new Request instance which, when submitted, fetches the current
viewer's activities previously generated by the current application and
makes this data available as a List of Activity objects.
|
static Request |
ActivitiesService.getActivities(String guid)
Returns a new Request instance which, when submitted, fetches the specified
user's activities previously generated by the current application and makes
this data available as a List of Activity objects.
|
static Request |
AlbumsService.getAlbum(String albumId)
Returns a new Request instance which, when submitted, fetches the
specified album and makes this data available as an Album object.
|
static Request |
AlbumsService.getAlbums()
Returns a new Request instance which, when submitted, fetches the current
viewer's albums and makes this data available as a List of Album objects.
|
static Request |
AppDataService.getAppData()
Returns a new Request instance which, when submitted, fetches the current
viewer's persistent AppData (set of key/value strings) associated with the
current application and makes this available as an AppData object.
|
static Request |
AppDataService.getAppData(String guid)
Returns a new Request instance which, when submitted, fetches the
specified user's AppData (set of key/value strings) associated with the
current application and makes this available as an AppData object.
|
static Request |
ActivitiesService.getFriendActivities(String guid)
Returns a new Request instance which, when submitted, fetches the
activities previously generated by the current application for the
specified user's friends and makes this data available as a List of
Activity objects.
|
static Request |
AppDataService.getFriendAppData(String guid)
Returns a new Request instance which, when submitted, fetches the AppData
(set of key/value strings) associated with the current application for the
specified user's friends and makes this available as an AppData object.
|
static Request |
PeopleService.getFriends()
Returns a new Request instance which, when submitted, fetches the profile
information of the current viewer's friends and makes this data available
as a List of Person objects.
|
static Request |
PeopleService.getFriends(String guid)
Returns a new Request instance which, when submitted, fetches the profile
information of the specified user's friends and makes this data available
as a List of Person objects.
|
static Request |
GroupsService.getGroups()
Returns a new Request instance which, when submitted, fetches the current
viewer's groups and makes this data available as a List of Group objects.
|
static Request |
GroupsService.getGroups(String guid)
Returns a new Request instance which, when submitted, fetches the
specified user's groups and makes this data available as a List of Group
objects.
|
static Request |
MediaItemsService.getMediaItem(String itemId,
String albumId)
Returns a new Request instance which, when submitted, fetches the
specified media item from the specified album and makes this data
available as a MediaItem object.
|
static Request |
MediaItemsService.getMediaItems(String albumId)
Returns a new Request instance which, when submitted, fetches the current
viewer's media items from the specified album and makes this data
available as a List of MediaItem objects.
|
static Request |
MessagesService.getMessages()
Returns a new Request instance which, when submitted, fetches the current
viewer's activities previously generated by the current application and
makes this data available as a List of Message objects.
|
static Request |
MessagesService.getMessages(String guid)
Returns a new Request instance which, when submitted, fetches the specified
user's activities previously generated by the current application and makes
this data available as a List of Message objects.
|
static Request |
MediaItemsService.getSupportedVideoCategories()
Returns a new Request instance which, when submitted, fetches all video
categories supported by the container and makes this data available as a
JSON array of JSON objects; currently works with MySpace only.
|
static Request |
PeopleService.getUser(String guid)
Returns a new Request instance which, when submitted, fetches the profile
information of the user with the specified ID and makes this data
available as a Person object.
|
static Request |
PeopleService.getViewer()
Returns a new Request instance which, when submitted, fetches the current
viewer's profile information and makes this data available as a Person
object.
|
static Request |
AlbumsService.updateAlbum(Album album)
Returns a new Request instance which, when submitted, updates an existing
album in the current viewer's library.
|
static Request |
AppDataService.updateAppData(Map<String,String> data)
Returns a new Request instance which, when submitted, updates the current
viewer's AppData with the key/value strings in the passed Map.
|
static Request |
AppDataService.updateAppData(String key,
String value)
Returns a new Request instance which, when submitted, updates the current
viewer's AppData by either adding the specified key if it doesn't already
exist or updating the associated value if it does exist.
|
static Request |
MediaItemsService.updateMediaItem(MediaItem item)
Returns a new Request instance which, when submitted, updates an existing
media item contained within the specified viewer album.
|
static Request |
MediaItemsService.uploadImage(MediaItem item,
File content)
Returns a new Request instance which, when submitted, uploads the
specified image file as a new media item in the specified viewer album.
|
static Request |
MediaItemsService.uploadVideo(MediaItem item,
File content)
Returns a new Request instance which, when submitted, uploads the
specified video file as a new media item in the specified viewer album
("@videos" for MySpace).
|
| Modifier and Type | Method and Description |
|---|---|
static Request |
NotificationsService.createNotification(Notification notification)
Returns a new Request instance which, when submitted, creates a new
MySpace notification to the recipients specified in the passed object.
|
static Request |
ProfileCommentsService.getComments()
Returns a new Request instance which, when submitted, fetches the current
viewer's profile comments and makes this data available as a List of
Comment objects.
|
static Request |
StatusMoodsService.getFriendStatuses(String guid)
Returns a new Request instance which, when submitted, fetches the status
and mood of all of the specified user's friends and makes this data
available as a List of StatusMood objects.
|
static Request |
StatusMoodsService.getFriendStatusHistories()
Returns a new Request instance which, when submitted, fetches the previous
statuses and moods for all of the current viewer's friends and makes this
data available as a List of StatusMood objects.
|
static Request |
StatusMoodsService.getFriendStatusHistory(String friendId)
Returns a new Request instance which, when submitted, fetches the previous
statuses and moods for the specified friend and makes this data available
as a List of StatusMood objects.
|
static Request |
StatusMoodsService.getStatus()
Returns a new Request instance which, when submitted, fetches the current
viewer's status and mood and makes this data available as a StatusMood
object.
|
static Request |
StatusMoodsService.getStatus(String guid)
Returns a new Request instance which, when submitted, fetches the
specified user's status and mood and makes this data available as a
StatusMood object.
|
static Request |
StatusMoodsService.getStatusHistory()
Returns a new Request instance which, when submitted, fetches the current
viewer's previous statuses and moods and makes this data available as a
List of StatusMood objects.
|
static Request |
StatusMoodsService.getSupportedMood(long moodId)
Returns a new Request instance which, when submitted, fetches the
specified mood and makes this data available as a StatusMood object.
|
static Request |
StatusMoodsService.getSupportedMoods()
Returns a new Request instance which, when submitted, fetches all moods
supported by and available on MySpace and makes this data available as a
List of StatusMood objects.
|
static Request |
StatusMoodsService.updateStatus(StatusMood statusMood)
Returns a new Request instance which, when submitted, updates the current
viewer's status and/or mood.
|
Copyright © 2012. All Rights Reserved.