| Package | Description |
|---|---|
| org.opensocial | |
| org.opensocial.models | |
| org.opensocial.models.myspace | |
| org.opensocial.parsers |
| Modifier and Type | Method and Description |
|---|---|
<T extends Model> |
Request.addRestPayloadParameters(T modelObject)
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. |
<T extends Model> |
Response.getEntries()
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. |
<T extends Model> |
Response.getEntry()
Returns a single entry object (e.g. person, activity) parsed from the
response or null if the response contained no entry objects.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Model> |
Request.getModelClass()
Returns the model class that developers use to access response data after
a request has been successfully executed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Request.setModelClass(Class<? extends Model> modelClass)
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Activity
OpenSocial model class representing an activity.
|
class |
Album
OpenSocial model class representing an album, a collection of media items.
|
class |
AppData
OpenSocial model class representing AppData, uninterpreted key/value pairs.
|
class |
Group
OpenSocial model class representing a group, which is used to tag or
categorize people and their relationships.
|
class |
MediaItem
OpenSocial model class representing a media item (image, movie, or audio).
|
class |
Message
OpenSocial model class representing an message.
|
class |
MessageCollection
OpenSocial model class representing an messageCollection.
|
class |
Person
OpenSocial model class representing a person/user.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Comment
MySpace OpenSocial model class representing a MySpace profile comment.
|
class |
Notification
MySpace OpenSocial model class representing a MySpace notification.
|
class |
StatusMood
MySpace OpenSocial model class representing a MySpace status.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Response> |
Parser.getResponseMap(String in,
Map<String,Class<? extends Model>> modelClasses,
String version) |
Map<String,Response> |
JsonParser.getResponseMap(String json,
Map<String,Class<? extends Model>> modelClasses,
String version) |
Response |
Parser.getResponseObject(String in,
Class<? extends Model> modelClass,
String version) |
Response |
JsonParser.getResponseObject(String json,
Class<? extends Model> modelClass,
String version) |
Copyright © 2012. All Rights Reserved.