GoogleContactEntry
|
addGroup(GoogleContactEntry contact, String groupId)
Adds a group to a given contact
|
List<BatchResult>
|
batchContacts(String batchId, List<NestedProcessor> operations)
This tag encloses a series of nested processors that perform operations on contacts entities
|
void
|
batchDelete(MuleMessage message, String operationId, Collection<GoogleContactBaseEntity> entries)
The function of this sub processor is to add updated operations into the current batch for the given entries
This processor is intended to be used nested inside batch-contacts or batch-groups, although there's no syntactic
validation inside the connector's XSD enforcing that.
|
List<BatchResult>
|
batchGroups(String batchId, List<NestedProcessor> operations)
This tag encloses a series of nested processors that perform operations on group entities.
|
void
|
batchInsert(MuleMessage message, String operationId, Collection<GoogleContactBaseEntity> entries)
The function of this sub processor is to add insert operations into the current batch for the given entries
This processor is intended to be used nested inside batch-contacts or batch-groups, although there's no syntactic
validation inside the connector's XSD enforcing that.
|
void
|
batchUpdate(MuleMessage message, String operationId, Collection<GoogleContactBaseEntity> entries)
The function of this sub processor is to add updated operations into the current batch for the given entries
This processor is intended to be used nested inside batch-contacts or batch-groups, although there's no syntactic
validation inside the connector's XSD enforcing that.
|
GoogleContactGroupEntry
|
createGroup(GoogleContactGroupEntry group)
|
void
|
deleteContact(GoogleContactEntry contact)
|
void
|
deleteContactById(String contactId)
Deletes a contact signaled by its id
|
void
|
deleteContactPhoto(GoogleContactEntry contact)
Deletes the photo associated to a given contact
|
void
|
deleteContactPhotoById(String contactId)
Deletes the photo of a contact signaled by its id
|
void
|
deleteGroup(GoogleContactGroupEntry group)
|
void
|
deleteGroupById(String groupId)
Deletes a group signaled by its id
|
InputStream
|
downloadPhoto(GoogleContactEntry contact)
Downloads the photo of a given contact
|
InputStream
|
downloadPhotoById(String id)
Downloads the photo of a contact signaled by its id contact and returns it as an input stream
|
String
|
getAccessToken()
|
String
|
getApplicationName()
|
Object
|
getClient()
|
String
|
getConsumerKey()
|
String
|
getConsumerSecret()
|
GoogleContactEntry
|
getContactById(String id)
Retrieves a contact by id
|
ProviderAwarePagingDelegate<GoogleContactEntry, AbstractGoogleOAuthConnector>
|
getContacts(String updatedMin, String updatedMax, String datetimeFormat, String fullTextQuery, ContactQuery.SortOrder sortOrder, Boolean showDeleted, ContactQuery.OrderBy orderBy, String groupId, PagingConfiguration pagingConfiguration)
Retrieves all the contacts matching the given criterias.
|
GoogleContactGroupEntry
|
getGroupById(String id)
|
GoogleContactGroupEntry
|
getGroupByName(String groupName)
Retrieves a group with the given name
|
ProviderAwarePagingDelegate<GoogleContactGroupEntry, AbstractGoogleOAuthConnector>
|
getGroups(String updatedMin, String updatedMax, String datetimeFormat, PagingConfiguration pagingConfiguration)
Returns all the groups the authenticated user has access to
|
String
|
getScope()
|
final
ContactsService
|
getService()
|
void
|
init()
|
GoogleContactEntry
|
insertContact(GoogleContactEntry contact)
|
void
|
postAuth()
|
void
|
setAccessToken(String accessToken)
|
void
|
setApplicationName(String applicationName)
|
void
|
setConsumerKey(String consumerKey)
|
void
|
setConsumerSecret(String consumerSecret)
|
void
|
setScope(String scope)
|
void
|
setService(ContactsService contactsService)
|
GoogleContactEntry
|
updateContact(GoogleContactEntry contact)
|
void
|
updateContactPhoto(String contactId, InputStream in)
Updates the photo of a contact signaled by its id taken a java.io.InputStream as an input
|
GoogleContactGroupEntry
|
updateGroup(GoogleContactGroupEntry group)
Updates the state of a group
|