|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.gadgets.client.osapi.people.PeopleService
public class PeopleService
A class representing a service object, which maps to opensocial People Service.
| Method Summary | |
|---|---|
static PeopleService |
getInstance()
Returns an instance of PeopleService. |
GetPeopleRequestBuilder |
newGetGroupByIdRequestBuilder(java.lang.String userId,
java.lang.String groupId)
Returns an instance of GetPeopleRequestBuilder requesting specific
group of the specific user. |
GetPersonRequestBuilder |
newGetOwnerRequestBuilder()
Returns an instance of GetPersonRequestBuilder requesting an owner
of the gadget. |
GetPeopleRequestBuilder |
newGetOwnersAllRequestBuilder()
Returns an instance of GetPeopleRequestBuilder requesting all
contacts of the owner of the gadget. |
GetPeopleRequestBuilder |
newGetOwnersFriendsRequestBuilder()
Returns an instance of GetPeopleRequestBuilder requesting friends
of the owner of the gadget. |
GetPersonRequestBuilder |
newGetPersonByIdRequestBuilder(java.lang.String userId)
Returns an instance of GetPersonRequestBuilder requesting a person
with given id. |
GetPersonRequestBuilder |
newGetViewerRequestBuilder()
Returns an instance of GetPersonRequestBuilder requesting a viewer
of the gadget. |
GetPeopleRequestBuilder |
newGetViewersAllRequestBuilder()
Returns an instance of GetPeopleRequestBuilder requesting all
contacts of the viewer of the gadget. |
GetPeopleRequestBuilder |
newGetViewersFriendsRequestBuilder()
Returns an instance of GetPeopleRequestBuilder requesting friends
of the viewer of the gadget. |
void |
setDefaultFields(java.lang.String... fields)
Convenience method to define a default set of fields to request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PeopleService getInstance()
PeopleService. Note that this class is a
singleton and all instances returned by this method are identical.
PeopleService.
public GetPeopleRequestBuilder newGetGroupByIdRequestBuilder(java.lang.String userId,
java.lang.String groupId)
GetPeopleRequestBuilder requesting specific
group of the specific user.
GetPeopleRequestBuilder requesting specific
group of the specific user.public GetPersonRequestBuilder newGetOwnerRequestBuilder()
GetPersonRequestBuilder requesting an owner
of the gadget.
GetPersonRequestBuilder requesting an owner
of the gadget.public GetPeopleRequestBuilder newGetOwnersAllRequestBuilder()
GetPeopleRequestBuilder requesting all
contacts of the owner of the gadget.
GetPersonRequestBuilder requesting all
contacts of the owner of the gadget.public GetPeopleRequestBuilder newGetOwnersFriendsRequestBuilder()
GetPeopleRequestBuilder requesting friends
of the owner of the gadget.
GetPersonRequestBuilder requesting friends
of the owner of the gadget.public GetPersonRequestBuilder newGetPersonByIdRequestBuilder(java.lang.String userId)
GetPersonRequestBuilder requesting a person
with given id.
userId -
GetPersonRequestBuilder requesting a person
with given id.public GetPersonRequestBuilder newGetViewerRequestBuilder()
GetPersonRequestBuilder requesting a viewer
of the gadget.
GetPersonRequestBuilder requesting a viewer
of the gadget.public GetPeopleRequestBuilder newGetViewersAllRequestBuilder()
GetPeopleRequestBuilder requesting all
contacts of the viewer of the gadget.
GetPersonRequestBuilder requesting all
contacts of the viewer of the gadget.public GetPeopleRequestBuilder newGetViewersFriendsRequestBuilder()
GetPeopleRequestBuilder requesting friends
of the viewer of the gadget.
GetPersonRequestBuilder requesting friends
of the viewer of the gadget.public void setDefaultFields(java.lang.String... fields)
fields - Default set of fields to request.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||