|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vodafone360.people.service.io.api.Contacts
public class Contacts
Implementation of People server APIs associated with handling of Contacts
| Field Summary | |
|---|---|
private static java.lang.String |
FUNCTION_BULK_UPDATE_CONTACTS
|
private static java.lang.String |
FUNCTION_DELETE_CONTACT_DETAILS
|
private static java.lang.String |
FUNCTION_DELETE_CONTACTS
|
private static java.lang.String |
FUNCTION_GET_CONTACT_CHANGES
|
private static java.lang.String |
FUNCTION_GET_ME
|
private static java.lang.String |
FUNCTION_GET_MY_CHANGES
|
private static java.lang.String |
FUNCTION_SET_ME
|
| Constructor Summary | |
|---|---|
Contacts()
|
|
| Method Summary | |
|---|---|
static int |
bulkUpdateContacts(BaseEngine engine,
java.util.List<Contact> contactlist)
Implementation of contacts/bulkupdatecontacts API. |
static int |
deleteContactDetails(BaseEngine engine,
java.lang.Long contactid,
java.util.List<ContactDetail> detaillist)
Implementation of contacts/deletecontactdetails API. |
static int |
deleteContacts(BaseEngine engine,
java.util.List<java.lang.Long> contactidlist)
Implementation of contacts/deletecontacts API. |
static int |
getContactsChanges(BaseEngine engine,
java.lang.Integer pagenumber,
java.lang.Integer maxpagesize,
java.lang.Long fromrevision,
java.lang.Long torevision,
boolean batchRequest)
Implementation of contacts/getcontactschanges API. |
static int |
getMe(BaseEngine engine)
Implementation of contacts/getme API. |
static int |
getMyChanges(BaseEngine engine,
java.lang.Long fromrevision)
Implementation of contacts/getmychanges. |
static int |
setMe(BaseEngine engine,
java.util.List<ContactDetail> detaillist,
java.lang.String aboutme,
java.lang.Integer gender)
Implementation of contacts/setme API. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String FUNCTION_BULK_UPDATE_CONTACTS
private static final java.lang.String FUNCTION_DELETE_CONTACT_DETAILS
private static final java.lang.String FUNCTION_DELETE_CONTACTS
private static final java.lang.String FUNCTION_GET_CONTACT_CHANGES
private static final java.lang.String FUNCTION_GET_ME
private static final java.lang.String FUNCTION_GET_MY_CHANGES
private static final java.lang.String FUNCTION_SET_ME
| Constructor Detail |
|---|
public Contacts()
| Method Detail |
|---|
public static int deleteContactDetails(BaseEngine engine,
java.lang.Long contactid,
java.util.List<ContactDetail> detaillist)
engine - Handle to ContactSync enginecontactid - detaillist -
public static int deleteContacts(BaseEngine engine,
java.util.List<java.lang.Long> contactidlist)
engine - Handle to ContactSync enginecontactidlist - List of contact ids to be deleted.
public static int bulkUpdateContacts(BaseEngine engine,
java.util.List<Contact> contactlist)
engine - Handle to ContactSync enginecontactlist - List containing the contacts to be updated on server.
public static int getContactsChanges(BaseEngine engine,
java.lang.Integer pagenumber,
java.lang.Integer maxpagesize,
java.lang.Long fromrevision,
java.lang.Long torevision,
boolean batchRequest)
engine - Handle to ContactSync enginepagenumber - Page number to request contact changes for.maxpagesize - Maximum number of contacts retrieved per page.fromrevision - Starting revision number.torevision - Final revision number.batchRequest - If true, this API call will not send the request
until the connection thread is kicked. This allows batching of
requests.
public static int getMe(BaseEngine engine)
engine - Handle to ContactSync engine
public static int getMyChanges(BaseEngine engine,
java.lang.Long fromrevision)
engine - Handle to ContactSync enginefromrevision - Start revision.
public static int setMe(BaseEngine engine,
java.util.List<ContactDetail> detaillist,
java.lang.String aboutme,
java.lang.Integer gender)
engine - Handle to ContactSync enginedetaillist - List of ContactDetails for the Me profile.aboutme - AboutMe string.gender - - gender.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
JavaDoc