A B C D E F G H I J M N O P R S T U V Y 

A

ActivitiesService - Class in org.opensocial.services
OpenSocial API class for activity requests; contains static methods for fetching and creating activities.
ActivitiesService() - Constructor for class org.opensocial.services.ActivitiesService
 
Activity - Class in org.opensocial.models
OpenSocial model class representing an activity.
Activity() - Constructor for class org.opensocial.models.Activity
 
addComponent(String, String) - Method in class org.opensocial.Request
Sets the request component with the specified name to the specified value.
addMediaItem(MediaItem) - Method in class org.opensocial.models.myspace.Notification
Adds the passed media item to the list of media items (i.e. images) to post with the notification.
addParameter(String, String) - Method in class org.opensocial.Request
Adds an extended request parameter, e.g. count or startIndex, to be passed as query parameters in the URL if executed using REST or in the request body if executed via a RPC.
addParameters(Map<String, String>) - Method in class org.opensocial.Request
Adds extended request parameters for each name-value pair in the passed Map.
addRecipient(String) - Method in class org.opensocial.models.myspace.Notification
Adds the specified user to the list of users that will receive the notification.
addRequestTokenParameter(String, String) - Method in class org.opensocial.providers.Provider
 
addRestPayloadParameter(String, Object) - Method in class org.opensocial.Request
Adds a new parameter with the specified name and value to the set of parameters used by the Client to generate the JSON payload for a REST request; this method should not be called by clients directly unless custom requests are being executed.
addRestPayloadParameters(T) - Method in class org.opensocial.Request
For each property in the passed model object, adds a new parameter to the set of parameters used by the Client to generate the JSON payload for a REST request ; this method should not be called by clients directly unless custom requests are being executed.
addRestQueryStringParameter(String, String) - Method in class org.opensocial.Request
Adds a new parameter with the specified name and value to the set of parameters used by the Client to generate the query string that gets appended to the RESTful URL; this method should not be called by clients directly unless custom requests are being executed.
addRpcPayloadParameter(String, Object) - Method in class org.opensocial.Request
Adds a new parameter with the specified name and value to the set of parameters used by the Client to generate the JSON payload for a RPC request; this method should not be called by clients directly unless custom requests are being executed.
addRpcQueryStringParameter(String, String) - Method in class org.opensocial.Request
Adds a new parameter with the specified name and value to the set of parameters used by the Client to generate the query string that gets appended to the RPC endpoint; this method should not be called by clients directly unless custom requests are being executed.
addTemplateParameter(String, String) - Method in class org.opensocial.models.Model
Adds a new template parameter with the specified name and value.
addToListField(String, Object) - Method in class org.opensocial.models.Model
Adds the passed Object to the list field with the specified name.
Album - Class in org.opensocial.models
OpenSocial model class representing an album, a collection of media items.
Album() - Constructor for class org.opensocial.models.Album
 
ALBUM_ID - Static variable in class org.opensocial.models.MediaItem
 
ALBUM_ID - Static variable in class org.opensocial.Request
 
AlbumsService - Class in org.opensocial.services
OpenSocial API class for album requests; contains static methods for fetching, creating, updating and deleting albums (collections of media items).
AlbumsService() - Constructor for class org.opensocial.services.AlbumsService
 
APP - Static variable in class org.opensocial.services.Service
 
APP_ID - Static variable in class org.opensocial.Request
 
AppData - Class in org.opensocial.models
OpenSocial model class representing AppData, uninterpreted key/value pairs.
AppData() - Constructor for class org.opensocial.models.AppData
 
AppDataService - Class in org.opensocial.services
OpenSocial API class for AppData (persistent storage) requests; contains static methods for fetching, updating, and deleting AppData.
AppDataService() - Constructor for class org.opensocial.services.AppDataService
 
AuthScheme - Interface in org.opensocial.auth
 

B

byteArrayToStream(byte[]) - Method in class org.opensocial.auth.SecurityTokenScheme
 

C

CAPTION - Static variable in class org.opensocial.models.MediaItem
 
Client - Class in org.opensocial
OpenSocial RESTful client supporting both the RPC and REST protocols defined in the OpenSocial specification as well as two- and three-legged OAuth for authentication.
Client(Provider, AuthScheme) - Constructor for class org.opensocial.Client
Creates and returns a new Client associated with the passed Provider and AuthScheme.
Client(Provider, AuthScheme, HttpClient) - Constructor for class org.opensocial.Client
Creates and returns a new Client associated with the passed Provider and AuthScheme.
Comment - Class in org.opensocial.models.myspace
MySpace OpenSocial model class representing a MySpace profile comment.
Comment() - Constructor for class org.opensocial.models.myspace.Comment
 
createActivity(Activity) - Static method in class org.opensocial.services.ActivitiesService
Returns a new Request instance which, when submitted, generates a new activity for the current application associated with the current viewer.
createAlbum(Album) - Static method in class org.opensocial.services.AlbumsService
Returns a new Request instance which, when submitted, creates a new album in the current viewer's library.
createMediaItem(MediaItem) - Static method in class org.opensocial.services.MediaItemsService
Returns a new Request instance which, when submitted, creates a new media item in the specified viewer album.
createMessage(Message) - Static method in class org.opensocial.services.MessagesService
Returns a new Request instance which, when submitted, generates a new message for the current application associated with the current viewer.
createMessageCollection(MessageCollection) - Static method in class org.opensocial.services.MessagesService
Returns a new Request instance which, when submitted, generates a new messageCollection for the current application associated with the current viewer.
createNotification(Notification) - Static method in class org.opensocial.services.myspace.NotificationsService
Returns a new Request instance which, when submitted, creates a new MySpace notification to the recipients specified in the passed object.

D

deleteAlbum(String) - Static method in class org.opensocial.services.AlbumsService
Returns a new Request instance which, when submitted, deletes an existing album from the current viewer's library.
deleteAppData(String) - Static method in class org.opensocial.services.AppDataService
Returns a new Request which, when submitted, deletes the specified key and its associated value in the current viewer's AppData.
deleteAppData(String[]) - Static method in class org.opensocial.services.AppDataService
Returns a new Request which, when submitted, deletes the specified keys and their associated values in the current viewer's AppData.
deleteAppData(List<String>) - Static method in class org.opensocial.services.AppDataService
Returns a new Request which, when submitted, deletes the specified keys and their associated values in the current viewer's AppData.
deleteMediaItem(String, String) - Static method in class org.opensocial.services.MediaItemsService
Returns a new Request instance which, when submitted, deletes an existing media item from the specified viewer album.
DESCRIPTION - Static variable in class org.opensocial.models.MediaItem
 

E

execute(HttpMessage) - Method in interface org.opensocial.http.HttpClient
 
execute(HttpMessage) - Method in class org.opensocial.http.HttpClientImpl
 
execute(HttpMessage, Map<String, Object>) - Method in class org.opensocial.http.HttpClientImpl
 

F

FCAuthScheme - Class in org.opensocial.auth
Authentication class that uses a security token to authenticate Google Friend Connect requests specifically by appending ?
FCAuthScheme(String) - Constructor for class org.opensocial.auth.FCAuthScheme
 
FRIEND_ID - Static variable in class org.opensocial.Request
 
FriendConnectProvider - Class in org.opensocial.providers
 
FriendConnectProvider() - Constructor for class org.opensocial.providers.FriendConnectProvider
 
FriendConnectProvider(boolean) - Constructor for class org.opensocial.providers.FriendConnectProvider
 
FRIENDS - Static variable in class org.opensocial.services.Service
 

G

getAccessToken() - Method in class org.opensocial.auth.OAuth3LeggedScheme
Returns the access token for which the original request token was exchanged or null if the exchange hasn't occurred and no access token is associated with the current instance.
getAccessTokenUrl() - Method in class org.opensocial.providers.Provider
 
getActivities() - Static method in class org.opensocial.services.ActivitiesService
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.
getActivities(String) - Static method in class org.opensocial.services.ActivitiesService
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.
getAlbum(String) - Static method in class org.opensocial.services.AlbumsService
Returns a new Request instance which, when submitted, fetches the specified album and makes this data available as an Album object.
getAlbumId() - Method in class org.opensocial.models.MediaItem
Returns the identifier of the album to which the media item belongs.
getAlbums() - Static method in class org.opensocial.services.AlbumsService
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.
getAppData() - Static method in class org.opensocial.services.AppDataService
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.
getAppData(String) - Static method in class org.opensocial.services.AppDataService
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.
getAuthorId() - Method in class org.opensocial.models.myspace.Comment
Returns the OpenSocial ID of the user who published the comment.
getAuthorizationUrl(String) - Method in class org.opensocial.auth.OAuth3LeggedScheme
Sends a signed request to the associated provider to retrieve an initial request token.
getAuthorizeUrl() - Method in class org.opensocial.providers.Provider
 
getAuthScheme() - Method in class org.opensocial.Client
Returns the associated AuthScheme.
getBody() - Method in class org.opensocial.models.Activity
Returns the activity's body, a string specifying an optional expanded version of an activity.
getBody() - Method in class org.opensocial.models.Message
Returns the message's body, a string specifying an optional expanded version of an message.
getBody() - Method in class org.opensocial.models.myspace.Comment
Returns the profile comment's body or text.
getBodyId() - Method in class org.opensocial.models.Activity
Returns the activity's body ID, a string specifying the body template message ID in the accompanying gadget specification.
getBodyId() - Method in class org.opensocial.models.Message
Returns the message's body ID, a string specifying the body template message ID in the accompanying gadget specification.
getCaption() - Method in class org.opensocial.models.Album
Returns the album's caption or title.
getCaption() - Method in class org.opensocial.models.MediaItem
Returns the media item's caption if set.
getComments() - Static method in class org.opensocial.services.myspace.ProfileCommentsService
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.
getComponent(String) - Method in class org.opensocial.Request
Returns the request component with the specified name, e.g. guid or groupId, or null if no request component with the specified name exists.
getContentType() - Method in class org.opensocial.providers.Provider
 
getContentType() - Method in class org.opensocial.Request
Returns the request's custom content (MIME) type if provided; if null, the Client will set the Content-Type request header to a default type specified in the Provider class passed into it, usually application/json.
getCustomPayload() - Method in class org.opensocial.Request
Returns the request's custom payload if provided; if not null, this value overrides the JSON payload generated by the Client.
getDataForUser(String, String) - Method in class org.opensocial.models.AppData
Returns the value of the specified AppData key for the specified user.
getDescription() - Method in class org.opensocial.models.Album
Returns the album's description.
getDescription() - Method in class org.opensocial.models.Group
Returns the group's description
getDescription() - Method in class org.opensocial.models.MediaItem
Returns the media item's description if set.
getDisplayName() - Method in class org.opensocial.models.Person
Returns the user's display name or nickname
getEmail() - Method in class org.opensocial.models.Person
 
getEntries() - Method in class org.opensocial.Response
Returns a List of all entry objects (e.g. people, activities) parsed from the provider's response; if the raw response contained no entry objects, an empty list is returned.
getEntry() - Method in class org.opensocial.Response
Returns a single entry object (e.g. person, activity) parsed from the response or null if the response contained no entry objects.
getFamliyName() - Method in class org.opensocial.models.Person
Returns the user's family name
getField(String) - Method in class org.opensocial.models.Model
Returns the value of the specified field as an Object.
getFieldAsList(String) - Method in class org.opensocial.models.Model
Returns the value of the specified field as a List.
getFieldAsMap(String) - Method in class org.opensocial.models.Model
Returns the value of the specified field as a Map.
getFieldAsString(String) - Method in class org.opensocial.models.Model
Returns the value of the specified field as a String.
getFieldNames() - Method in class org.opensocial.models.Model
Returns the complete set of properties associated with the model instance.
getFieldNamesForUser(String) - Method in class org.opensocial.models.AppData
Returns the complete set of AppData keys set for the specified user.
getFormattedName() - Method in class org.opensocial.models.Person
 
getFriendActivities(String) - Static method in class org.opensocial.services.ActivitiesService
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.
getFriendAppData(String) - Static method in class org.opensocial.services.AppDataService
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.
getFriends() - Static method in class org.opensocial.services.PeopleService
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.
getFriends(String) - Static method in class org.opensocial.services.PeopleService
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.
getFriendStatuses(String) - Static method in class org.opensocial.services.myspace.StatusMoodsService
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.
getFriendStatusHistories() - Static method in class org.opensocial.services.myspace.StatusMoodsService
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.
getFriendStatusHistory(String) - Static method in class org.opensocial.services.myspace.StatusMoodsService
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.
getGivenName() - Method in class org.opensocial.models.Person
Returns the user's given name
getGroups() - Static method in class org.opensocial.services.GroupsService
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.
getGroups(String) - Static method in class org.opensocial.services.GroupsService
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.
getHttpMessage(Provider, String, String, Map<String, String>, byte[]) - Method in interface org.opensocial.auth.AuthScheme
 
getHttpMessage(Provider, String, String, Map<String, String>, byte[]) - Method in class org.opensocial.auth.OAuth2LeggedScheme
 
getHttpMessage(Provider, String, String, Map<String, String>, byte[]) - Method in class org.opensocial.auth.OAuth3LeggedScheme
 
getHttpMessage(Provider, String, String, Map<String, String>, byte[], Collection<? extends Map.Entry>) - Method in class org.opensocial.auth.OAuth3LeggedScheme
 
getHttpMessage(Provider, String, String, Map<String, String>, byte[]) - Method in class org.opensocial.auth.SecurityTokenScheme
 
getId() - Method in class org.opensocial.models.Activity
Returns the activity's unique identifier.
getId() - Method in class org.opensocial.models.Album
Returns the album's unique identifier.
getId() - Method in class org.opensocial.models.Group
Returns the group's unique identifier.
getId() - Method in class org.opensocial.models.MediaItem
Returns the media item's associated ID.
getId() - Method in class org.opensocial.models.Message
Returns the message's unique identifier.
getId() - Method in class org.opensocial.models.MessageCollection
Returns the messageCollection's unique identifier.
getId() - Method in class org.opensocial.models.myspace.Comment
Returns the profile comment's associated ID.
getId() - Method in class org.opensocial.models.Person
Returns the user's OpenSocial ID.
getItemsPerPage() - Method in class org.opensocial.Response
 
getMediaItem(String, String) - Static method in class org.opensocial.services.MediaItemsService
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.
getMediaItems(String) - Static method in class org.opensocial.services.MediaItemsService
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.
getMessages() - Static method in class org.opensocial.services.MessagesService
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.
getMessages(String) - Static method in class org.opensocial.services.MessagesService
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.
getMethod() - Method in class org.opensocial.http.HttpResponseMessage
 
getMimeType() - Method in class org.opensocial.models.MediaItem
Returns the MIME type of the media item's content.
getModelClass() - Method in class org.opensocial.Request
Returns the model class that developers use to access response data after a request has been successfully executed.
getMoodId() - Method in class org.opensocial.models.myspace.StatusMood
Returns the integer value of the mood associated with the status.
getMoodName() - Method in class org.opensocial.models.myspace.StatusMood
Returns the label of the mood associated with the status, e.g.
getName() - Method in class org.opensocial.providers.Provider
 
getOwnerId() - Method in class org.opensocial.models.Album
Returns the OpenSocial ID of the album's owner.
getPostedDate() - Method in class org.opensocial.models.myspace.Comment
Returns the date that the comment was published as a string.
getProvider() - Method in class org.opensocial.auth.OAuth3LeggedScheme
Returns the associated provider.
getProvider() - Method in class org.opensocial.Client
Returns the associated Provider.
getRequesterId() - Method in class org.opensocial.auth.OAuth2LeggedScheme
 
getRequestToken() - Method in class org.opensocial.auth.OAuth3LeggedScheme
Returns the request token previously retrieved from the provider when getAuthorizationUrl was executed or null if no request token is associated with the current instance.
getRequestTokenParameters() - Method in class org.opensocial.providers.Provider
 
getRequestTokenUrl() - Method in class org.opensocial.providers.Provider
 
getResponse() - Method in class org.opensocial.http.HttpResponseMessage
 
getResponseMap(String, Map<String, Class<? extends Model>>, String) - Method in class org.opensocial.parsers.JsonParser
 
getResponseMap(String, Map<String, Class<? extends Model>>, String) - Method in interface org.opensocial.parsers.Parser
 
getResponseObject(String, Class<? extends Model>, String) - Method in class org.opensocial.parsers.JsonParser
 
getResponseObject(String, Class<? extends Model>, String) - Method in interface org.opensocial.parsers.Parser
 
getRestEndpoint() - Method in class org.opensocial.providers.Provider
 
getRestMethod() - Method in class org.opensocial.Request
Returns the associated HTTP method for REST requests, e.g.
getRestPayloadParameters() - Method in class org.opensocial.Request
Returns the set of name-value pairs used by the Client to generate the JSON payload for a RESTful request; guaranteed not to be null.
getRestQueryStringParameters() - Method in class org.opensocial.Request
Returns the set of name-value pairs used by the Client to generate the query string that gets appended to the RESTful URL; guaranteed not to be null.
getRestUrlTemplate() - Method in class org.opensocial.Request
Returns the RESTful URL template for the requested resource type, e.g.
getRpcEndpoint() - Method in class org.opensocial.providers.Provider
 
getRpcMethod() - Method in class org.opensocial.Request
Returns the associated RPC method name, e.g. people.get.
getRpcPayloadParameters() - Method in class org.opensocial.Request
Returns the set of name-value pairs used by the Client to generate the JSON payload for a RPC request; guaranteed not to be null.
getRpcQueryStringParameters() - Method in class org.opensocial.Request
Returns the set of name-value pairs used by the Client to generate the query string that gets appended to the RPC endpoint; guaranteed not to be null.
getSignBodyHash() - Method in class org.opensocial.providers.Provider
 
getStartIndex() - Method in class org.opensocial.Response
Returns the value of the "startIndex" field contained within the provider's response or null if no such property was returned.
getStatus() - Method in class org.opensocial.models.myspace.StatusMood
Returns the status text.
getStatus() - Static method in class org.opensocial.services.myspace.StatusMoodsService
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.
getStatus(String) - Static method in class org.opensocial.services.myspace.StatusMoodsService
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.
getStatusCode() - Method in class org.opensocial.http.HttpResponseMessage
 
getStatusHistory() - Static method in class org.opensocial.services.myspace.StatusMoodsService
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.
getStatusLink() - Method in class org.opensocial.Response
Returns the value of the "statusLink" field contained within the provider's response or null if no such property was returned.
getSupportedMood(long) - Static method in class org.opensocial.services.myspace.StatusMoodsService
Returns a new Request instance which, when submitted, fetches the specified mood and makes this data available as a StatusMood object.
getSupportedMoods() - Static method in class org.opensocial.services.myspace.StatusMoodsService
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.
getSupportedVideoCategories() - Static method in class org.opensocial.services.MediaItemsService
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.
getTemplateParameter(String) - Method in class org.opensocial.models.Model
Returns the template parameter with the specified name.
getThumbnailUrl() - Method in class org.opensocial.models.Album
Returns the album cover's thumbnail URL as a string.
getThumbnailUrl() - Method in class org.opensocial.models.MediaItem
Returns the URL of the media item's thumbnail image as a string.
getThumbnailUrl() - Method in class org.opensocial.models.Person
Returns the user's photo thumbnail URL as a string.
getTitle() - Method in class org.opensocial.models.Activity
Returns the activity's title, a string specifying the primary text of an activity.
getTitle() - Method in class org.opensocial.models.Group
Returns the group's title or user-defined name.
getTitle() - Method in class org.opensocial.models.Message
Returns the message's title, a string specifying the primary text of an message.
getTitle() - Method in class org.opensocial.models.MessageCollection
Returns the messageCollection's title, a string specifying the primary text of an activity.
getTitleId() - Method in class org.opensocial.models.Activity
Returns the activity's title ID, a string specifying the title template message ID in the accompanying gadget specification.
getTitleId() - Method in class org.opensocial.models.Message
Returns the message's title ID, a string specifying the title template message ID in the accompanying gadget specification.
getTotalResults() - Method in class org.opensocial.Response
Returns the value of the "totalResults" field contained within the provider's response or null if no such property was returned.
getType() - Method in class org.opensocial.models.MediaItem
Returns the media item's type, one of 'audio', 'image', or 'video'.
getUrl() - Method in class org.opensocial.http.HttpResponseMessage
 
getUrl() - Method in class org.opensocial.models.MediaItem
Returns the URL where the media can be found as a string.
getUser(String) - Static method in class org.opensocial.services.PeopleService
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.
getVersion() - Method in class org.opensocial.providers.Provider
 
getViewer() - Static method in class org.opensocial.services.PeopleService
Returns a new Request instance which, when submitted, fetches the current viewer's profile information and makes this data available as a Person object.
getVootMembershipRole() - Method in class org.opensocial.models.Person
 
GoogleProvider - Class in org.opensocial.providers
 
GoogleProvider() - Constructor for class org.opensocial.providers.GoogleProvider
 
GoogleProvider(boolean) - Constructor for class org.opensocial.providers.GoogleProvider
 
Group - Class in org.opensocial.models
OpenSocial model class representing a group, which is used to tag or categorize people and their relationships.
Group() - Constructor for class org.opensocial.models.Group
 
GROUP_ID - Static variable in class org.opensocial.Request
 
GroupsService - Class in org.opensocial.services
OpenSocial API class for group requests; contains static methods for fetching groups used to tag or categorize people and their relationships.
GroupsService() - Constructor for class org.opensocial.services.GroupsService
 
GUID - Static variable in class org.opensocial.Request
 

H

hasField(String) - Method in class org.opensocial.models.Model
Returns true if a value is associated with the specified field name, false otherwise.
Hi5Provider - Class in org.opensocial.providers
 
Hi5Provider() - Constructor for class org.opensocial.providers.Hi5Provider
 
Hi5Provider(boolean) - Constructor for class org.opensocial.providers.Hi5Provider
 
HISTORY - Static variable in class org.opensocial.Request
 
HttpClient - Interface in org.opensocial.http
 
HttpClientImpl - Class in org.opensocial.http
 
HttpClientImpl() - Constructor for class org.opensocial.http.HttpClientImpl
 
HttpResponseMessage - Class in org.opensocial.http
 
HttpResponseMessage(String, URL, int) - Constructor for class org.opensocial.http.HttpResponseMessage
 
HttpResponseMessage(String, URL, int, InputStream) - Constructor for class org.opensocial.http.HttpResponseMessage
 

I

ID - Static variable in class org.opensocial.models.MediaItem
 
isFieldMultikeyed(String) - Method in class org.opensocial.models.Model
Returns true if the value of the specified field implements Map, false otherwise.
isFieldMultivalued(String) - Method in class org.opensocial.models.Model
Returns true if the value of the specified field implements List, false otherwise.
isFiltered() - Method in class org.opensocial.Response
Returns the value of the "isFiltered" field contained within the provider's response or null if no such property was returned.
isGuest() - Method in class org.opensocial.models.Person
Returns the guest status of the Person
ITEM_ID - Static variable in class org.opensocial.Request
 

J

JsonParser - Class in org.opensocial.parsers
 
JsonParser() - Constructor for class org.opensocial.parsers.JsonParser
 

M

ME - Static variable in class org.opensocial.services.Service
 
MediaItem - Class in org.opensocial.models
OpenSocial model class representing a media item (image, movie, or audio).
MediaItem() - Constructor for class org.opensocial.models.MediaItem
 
MediaItemsService - Class in org.opensocial.services
OpenSocial API class for media item requests; contains static methods for fetching, creating, updating and deleting media items (video, image, or sound files).
MediaItemsService() - Constructor for class org.opensocial.services.MediaItemsService
 
Message - Class in org.opensocial.models
OpenSocial model class representing an message.
Message() - Constructor for class org.opensocial.models.Message
 
MessageCollection - Class in org.opensocial.models
OpenSocial model class representing an messageCollection.
MessageCollection() - Constructor for class org.opensocial.models.MessageCollection
 
MessagesService - Class in org.opensocial.services
OpenSocial API class for message requests; contains static methods for fetching and creating messages.
MessagesService() - Constructor for class org.opensocial.services.MessagesService
 
MIME_TYPE - Static variable in class org.opensocial.models.MediaItem
 
Model - Class in org.opensocial.models
Generic OpenSocial model class.
Model() - Constructor for class org.opensocial.models.Model
 
MOOD_ID - Static variable in class org.opensocial.Request
 
MySpaceProvider - Class in org.opensocial.providers
 
MySpaceProvider() - Constructor for class org.opensocial.providers.MySpaceProvider
 

N

Notification - Class in org.opensocial.models.myspace
MySpace OpenSocial model class representing a MySpace notification.
Notification() - Constructor for class org.opensocial.models.myspace.Notification
 
NotificationsService - Class in org.opensocial.services.myspace
OpenSocial API class for MySpace notification requests; contains static methods for creating MySpace notifications.
NotificationsService() - Constructor for class org.opensocial.services.myspace.NotificationsService
 

O

OAuth2LeggedScheme - Class in org.opensocial.auth
Authentication class that uses 2-Legged OAuth to digitally sign requests using a shared secret; this scheme is also known as Signed Fetch and Phone Home.
OAuth2LeggedScheme(String, String) - Constructor for class org.opensocial.auth.OAuth2LeggedScheme
Creates and returns a new OAuth2LeggedScheme configured with the passed key and secret, leaving the requester ID field null.
OAuth2LeggedScheme(String, String, String) - Constructor for class org.opensocial.auth.OAuth2LeggedScheme
Creates and returns a new OAuth2LeggedScheme configured with the passed key, secret, and requester ID.
OAuth3LeggedScheme - Class in org.opensocial.auth
Authentication class that exposes methods for retrieving request and access tokens and an appropriate authorization URL for the 3-Legged OAuth "dance."
OAuth3LeggedScheme() - Constructor for class org.opensocial.auth.OAuth3LeggedScheme
 
OAuth3LeggedScheme(Provider, String, String) - Constructor for class org.opensocial.auth.OAuth3LeggedScheme
Creates and returns a new OAuth3LeggedScheme configured with the passed Provider, key, and secret.
OAuth3LeggedScheme(Provider, String, String, HttpClient) - Constructor for class org.opensocial.auth.OAuth3LeggedScheme
Creates and returns a new OAuth3LeggedScheme configured with the passed Provider, key, secret, and HttpClient.
OAuth3LeggedScheme.Token - Class in org.opensocial.auth
 
OAuth3LeggedScheme.Token() - Constructor for class org.opensocial.auth.OAuth3LeggedScheme.Token
 
OAuth3LeggedScheme.Token(String, String) - Constructor for class org.opensocial.auth.OAuth3LeggedScheme.Token
 
openBody() - Method in class org.opensocial.http.HttpResponseMessage
OAuth needs the response as InputStream.
org.opensocial - package org.opensocial
 
org.opensocial.auth - package org.opensocial.auth
 
org.opensocial.http - package org.opensocial.http
 
org.opensocial.models - package org.opensocial.models
 
org.opensocial.models.myspace - package org.opensocial.models.myspace
 
org.opensocial.parsers - package org.opensocial.parsers
 
org.opensocial.providers - package org.opensocial.providers
 
org.opensocial.services - package org.opensocial.services
 
org.opensocial.services.myspace - package org.opensocial.services.myspace
 
OrkutProvider - Class in org.opensocial.providers
 
OrkutProvider() - Constructor for class org.opensocial.providers.OrkutProvider
 
OrkutProvider(boolean) - Constructor for class org.opensocial.providers.OrkutProvider
 
OrkutSandboxProvider - Class in org.opensocial.providers
 
OrkutSandboxProvider() - Constructor for class org.opensocial.providers.OrkutSandboxProvider
 
OrkutSandboxProvider(boolean) - Constructor for class org.opensocial.providers.OrkutSandboxProvider
 

P

P_ID - Static variable in class org.opensocial.Request
 
Parser - Interface in org.opensocial.parsers
 
PartuzaProvider - Class in org.opensocial.providers
 
PartuzaProvider() - Constructor for class org.opensocial.providers.PartuzaProvider
 
PeopleService - Class in org.opensocial.services
OpenSocial API class for people requests; contains static methods for fetching profile information.
PeopleService() - Constructor for class org.opensocial.services.PeopleService
 
Person - Class in org.opensocial.models
OpenSocial model class representing a person/user.
Person() - Constructor for class org.opensocial.models.Person
 
PlaxoProvider - Class in org.opensocial.providers
 
PlaxoProvider() - Constructor for class org.opensocial.providers.PlaxoProvider
 
postRequest(Request, Response) - Method in class org.opensocial.providers.Provider
 
preRequest(Request) - Method in class org.opensocial.providers.PlaxoProvider
 
preRequest(Request) - Method in class org.opensocial.providers.Provider
 
ProfileCommentsService - Class in org.opensocial.services.myspace
OpenSocial API class for MySpace profile comment requests; contains static methods for fetching MySpace profile comments.
ProfileCommentsService() - Constructor for class org.opensocial.services.myspace.ProfileCommentsService
 
Provider - Class in org.opensocial.providers
 
Provider() - Constructor for class org.opensocial.providers.Provider
 

R

Request - Class in org.opensocial
OpenSocial data request; encapsulates all information required to execute a request including RESTful URL template, RPC method name, and any parameters required by the provider.
Request(String, String, String) - Constructor for class org.opensocial.Request
Creates and returns a new Request configured with the passed RESTful URL template, RPC method name, and HTTP method.
requestAccessToken(String) - Method in class org.opensocial.auth.OAuth3LeggedScheme
Sends a signed request to the associated provider to exchange the passed request token for an access token; if successfully exchanged, this token can then be accessed using getAccessToken().
requestAccessToken(String, String) - Method in class org.opensocial.auth.OAuth3LeggedScheme
Sends a signed request to the associated provider to exchange the passed request token for an access token; if successfully exchanged, this token can then be accessed using getAccessToken().
RequestException - Exception in org.opensocial
 
RequestException(String) - Constructor for exception org.opensocial.RequestException
 
Response - Class in org.opensocial
OpenSocial data response; encapsulates all information returned by a provider after processing a data request sent from a Client.
Response() - Constructor for class org.opensocial.Response
Creates and returns a new Response.

S

secret - Variable in class org.opensocial.auth.OAuth3LeggedScheme.Token
 
SecurityTokenScheme - Class in org.opensocial.auth
Authentication class that uses a security token to authenticate requests by appending ?
SecurityTokenScheme(String) - Constructor for class org.opensocial.auth.SecurityTokenScheme
 
SecurityTokenScheme(String, String) - Constructor for class org.opensocial.auth.SecurityTokenScheme
 
SELECTOR - Static variable in class org.opensocial.Request
 
SELF - Static variable in class org.opensocial.services.Service
 
send(Request) - Method in class org.opensocial.Client
Submits the passed Request to the associated Provider and returns the container's response data as a Response object.
send(Map<String, Request>) - Method in class org.opensocial.Client
Submits the passed Map of Requests to the associated Provider and returns the container's response data as a Map of Response objects mapped to the same IDs as the passed requests.
Service - Class in org.opensocial.services
 
Service() - Constructor for class org.opensocial.services.Service
 
setAccessToken(OAuth3LeggedScheme.Token) - Method in class org.opensocial.auth.OAuth3LeggedScheme
Associates the specified access token with the current instance.
setAccessTokenUrl(String) - Method in class org.opensocial.providers.Provider
 
setAlbumId(String) - Method in class org.opensocial.models.MediaItem
Sets the identifier of the album to which the media item belongs.
setAppId(String) - Method in class org.opensocial.Request
Sets the request's appid component which is passed as a parameter when the request is executed.
setAuthorizeUrl(String) - Method in class org.opensocial.providers.Provider
 
setBody(String) - Method in class org.opensocial.models.Activity
Sets the activity's body, a string specifying an optional expanded version of an activity
setBody(String) - Method in class org.opensocial.models.Message
Sets the message's body, a string specifying an optional expanded version of an message
setBodyId(String) - Method in class org.opensocial.models.Activity
Sets the activity's body ID, a string specifying the body template message ID in the accompanying gadget specification.
setBodyId(String) - Method in class org.opensocial.models.Message
Sets the message's body ID, a string specifying the body template message ID in the accompanying gadget specification.
setCaption(String) - Method in class org.opensocial.models.Album
Sets the album's caption or title.
setCaption(String) - Method in class org.opensocial.models.MediaItem
Sets the media item's caption/title.
setContent(String) - Method in class org.opensocial.models.myspace.Notification
Sets the notification's content as a template parameter; the passed string can contain tokens such as ${recipient} which are substituted for appropriate values when the content is rendered.
setContentType(String) - Method in class org.opensocial.providers.Provider
 
setContentType(String) - Method in class org.opensocial.Request
Sets a custom content (MIME) type which is later used as the value of the Content-Type request header when the request is executed; leave null except when passing a custom payload such as binary image data.
setCountParameter(int) - Method in class org.opensocial.Request
Sets the "count" extended request parameter to the specified value; used to specify the page size for a paged collection.
setCustomPayload(byte[]) - Method in class org.opensocial.Request
Sets the payload to pass in the corresponding HTTP request's body as POST data when the request is executed, overriding the JSON payload generated by the Client; leave null except when uploading special content, e.g. binary image data, and make sure to call setContentType as well.
setDescription(String) - Method in class org.opensocial.models.Album
Sets the album's description.
setDescription(String) - Method in class org.opensocial.models.MediaItem
Sets the media item's description.
setField(String, Object) - Method in class org.opensocial.models.Model
Sets the value of the specified field to the passed Object.
setFieldsParameter(String[]) - Method in class org.opensocial.Request
Sets the "fields" extended request parameter to the specified value; used to specify which field names to include in the representation or in the members of a collection.
setGroupId(String) - Method in class org.opensocial.Request
Sets the request's groupId component which is passed as a parameter when the request is executed.
setGuid(String) - Method in class org.opensocial.Request
Sets the request's guid component which is passed as a parameter when the request is executed.
setId(String) - Method in class org.opensocial.models.Album
Sets the album's unique identifier.
setId(String) - Method in class org.opensocial.models.MediaItem
Sets the media item's unique identifier.
setIsFiltered(Object) - Method in class org.opensocial.Response
Parses the passed Object as a Boolean if necessary, then sets this as the value of the isFiltered field; this method is required by the response parser and should not be called by clients directly.
setItemsPerPage(Object) - Method in class org.opensocial.Response
Parses the passed Object as a Long if necessary, then sets this as the value of the itemsPerPage field; this method is required by the response parser and should not be called by clients directly.
setMessageCollectionId(String) - Method in class org.opensocial.models.Message
 
setMimeType(String) - Method in class org.opensocial.models.MediaItem
Sets the MIME type of the media item's content.
setModelClass(Class<? extends Model>) - Method in class org.opensocial.Request
Sets the model class that developers will use to access response data after a request has been successfully executed; this method should not be called by clients directly unless custom requests are being executed.
setMoodId(long) - Method in class org.opensocial.models.myspace.StatusMood
Sets the integer value of the mood to associate with the status.
setName(String) - Method in class org.opensocial.providers.Provider
 
setPId(String) - Method in class org.opensocial.Request
Sets the request's pId (person ID) component which is passed as a parameter when the request is executed.
setRecipient(String) - Method in class org.opensocial.models.Message
 
setRequestToken(OAuth3LeggedScheme.Token) - Method in class org.opensocial.auth.OAuth3LeggedScheme
Associates the specified request token with the current instance.
setRequestTokenParameters(Map<String, String>) - Method in class org.opensocial.providers.Provider
 
setRequestTokenUrl(String) - Method in class org.opensocial.providers.Provider
 
setRestEndpoint(String) - Method in class org.opensocial.providers.Provider
 
setRestUrlTemplate(String) - Method in class org.opensocial.Request
Sets the REST URL template for this request.
setRpcEndpoint(String) - Method in class org.opensocial.providers.Provider
 
setSelector(String) - Method in class org.opensocial.Request
Sets the request's selector component which is passed as a parameter when the request is executed.
setSignBodyHash(boolean) - Method in class org.opensocial.providers.Provider
 
setStartIndex(Object) - Method in class org.opensocial.Response
Parses the passed Object as a Long if necessary, then sets this as the value of the startIndex field; this method is required by the response parser and should not be called by clients directly.
setStartIndexParameter(int) - Method in class org.opensocial.Request
Sets the "startIndex" extended request parameter to the specified value; used to specify the index into a paged collection.
setStatus(String) - Method in class org.opensocial.models.myspace.StatusMood
Sets the status text.
setStatusLink(Object) - Method in class org.opensocial.Response
Casts the passed Object as a String and sets this as the value of the statusLink field; this method is required by the response parser and should not be called by clients directly.
setThumbnailUrl(String) - Method in class org.opensocial.models.Album
Sets the album cover's thumbnail URL.
setThumbnailUrl(String) - Method in class org.opensocial.models.MediaItem
Sets the URL of the media item's thumbnail image as a string.
setTitle(String) - Method in class org.opensocial.models.Activity
Sets the activity's title, a string specifying the primary text of an activity.
setTitle(String) - Method in class org.opensocial.models.Message
Sets the message's title, a string specifying the primary text of an message.
setTitle(String) - Method in class org.opensocial.models.MessageCollection
Sets the messageCollection's title, a string specifying the primary text of an activity.
setTitleId(String) - Method in class org.opensocial.models.Activity
Sets the activity's title ID, a string specifying the title template message ID in the accompanying gadget specification.
setTitleId(String) - Method in class org.opensocial.models.Message
Sets the message's title ID, a string specifying the title template message ID in the accompanying gadget specification.
setTotalResults(Object) - Method in class org.opensocial.Response
Parses the passed Object as a Long if necessary, then sets this as the value of the totalResults field; this method is required by the response parser and should not be called by clients directly.
setType(String) - Method in class org.opensocial.models.MediaItem
Sets the media item's type.
setUrl(String) - Method in class org.opensocial.models.MediaItem
Sets the URL where the media can be found.
setVersion(String) - Method in class org.opensocial.providers.Provider
 
ShindigProvider - Class in org.opensocial.providers
 
ShindigProvider() - Constructor for class org.opensocial.providers.ShindigProvider
 
ShindigProvider(boolean) - Constructor for class org.opensocial.providers.ShindigProvider
 
StatusMood - Class in org.opensocial.models.myspace
MySpace OpenSocial model class representing a MySpace status.
StatusMood() - Constructor for class org.opensocial.models.myspace.StatusMood
 
StatusMoodsService - Class in org.opensocial.services.myspace
OpenSocial API class for MySpace status and mood requests; contains static methods for fetching and updating MySpace statuses and for fetching supported moods and mood history.
StatusMoodsService() - Constructor for class org.opensocial.services.myspace.StatusMoodsService
 

T

THUMBNAIL_URL - Static variable in class org.opensocial.models.MediaItem
 
token - Variable in class org.opensocial.auth.OAuth3LeggedScheme.Token
 
TYPE - Static variable in class org.opensocial.models.MediaItem
 

U

updateAlbum(Album) - Static method in class org.opensocial.services.AlbumsService
Returns a new Request instance which, when submitted, updates an existing album in the current viewer's library.
updateAppData(String, String) - Static method in class org.opensocial.services.AppDataService
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.
updateAppData(Map<String, String>) - Static method in class org.opensocial.services.AppDataService
Returns a new Request instance which, when submitted, updates the current viewer's AppData with the key/value strings in the passed Map.
updateMediaItem(MediaItem) - Static method in class org.opensocial.services.MediaItemsService
Returns a new Request instance which, when submitted, updates an existing media item contained within the specified viewer album.
updateStatus(StatusMood) - Static method in class org.opensocial.services.myspace.StatusMoodsService
Returns a new Request instance which, when submitted, updates the current viewer's status and/or mood.
uploadImage(MediaItem, File) - Static method in class org.opensocial.services.MediaItemsService
Returns a new Request instance which, when submitted, uploads the specified image file as a new media item in the specified viewer album.
uploadVideo(MediaItem, File) - Static method in class org.opensocial.services.MediaItemsService
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).
URL - Static variable in class org.opensocial.models.MediaItem
 

V

VIEWER - Static variable in class org.opensocial.services.Service
 

Y

YahooProvider - Class in org.opensocial.providers
 
YahooProvider() - Constructor for class org.opensocial.providers.YahooProvider
 
A B C D E F G H I J M N O P R S T U V Y 

Copyright © 2012. All Rights Reserved.