Package | Description |
---|---|
org.mule.module.hubspot | |
org.mule.module.hubspot.client | |
org.mule.module.hubspot.client.impl | |
org.mule.module.hubspot.credential |
Modifier and Type | Method and Description |
---|---|
HubSpotListAddContactToListResponse |
HubSpotConnector.addExistingContactInAList(String userId,
String listId,
String contactId)
Add a contact record that has already been created in the system to a contact list.
|
String |
HubSpotConnector.authenticate(String userId,
String callbackUrl,
String clientId,
String hubId,
String scope,
Map<String,Object> headers)
/** This process generates the URL required to authenticate against the service.
|
String |
HubSpotConnector.authenticateResponse(String inputRequest)
This process is the one that handles the response of the authentication process.
|
Contact |
HubSpotConnector.createContact(String userId,
ContactProperties contactProperties)
Create a new contact in HubSpot with a simple HTTP POST to the Contacts API.
|
HubSpotList |
HubSpotConnector.createContactList(String userId,
HubSpotNewList list,
List<HubSpotListFilters> filters)
Create a new list in a given HubSpot portal to populate with contacts.
|
CustomContactProperty |
HubSpotConnector.createCustomProperty(String userId,
CustomContactProperty contactProperty)
Create a new property in HubSpot.
|
CustomContactPropertyGroup |
HubSpotConnector.createCustomPropertyGroup(String userId,
CustomContactPropertyGroup customContactPropertyGroup)
For a given portal, create a new contact proprerty group.
|
ContactDeleted |
HubSpotConnector.deleteContact(String userId,
String contactId)
Archive an existing contact from a particular HubSpot portal.
|
void |
HubSpotConnector.deleteCustomProperty(String userId,
String contactPropertyName)
Delete an existing property in HubSpot.
|
void |
HubSpotConnector.deleteCustomPropertyGroup(String userId,
String groupName)
For a given portal, delete a contact property group based on the name of the group.
|
ContactList |
HubSpotConnector.getAllContacts(String userId,
String count,
String contactOffset)
For a given portal, return all contacts that have been created in the portal.
|
List<Contact> |
HubSpotConnector.getAllContactsUpdatedAfter(String userId,
String count,
Long waterMark)
This operation masks
getRecentContacts recursively filtering all the contacts that were updated after the waterMark |
List<CustomContactProperty> |
HubSpotConnector.getAllCustomProperties(String userId)
Properties in HubSpot are fields that have been created.
|
Contact |
HubSpotConnector.getContactByEmail(String userId,
String contactEmail)
For a given portal, return information about a single contact by its email address.
|
Contact |
HubSpotConnector.getContactById(String userId,
String contactId)
For a given portal, return information about a single contact by its ID.
|
Contact |
HubSpotConnector.getContactByUserToken(String userId,
String contactUserToken)
For a given portal, return information about a single contact by its User Token (hubspotutk)
|
HubSpotList |
HubSpotConnector.getContactListById(String userId,
String listId)
For a given portal, return a contact list by its unique ID.
|
ContactQuery |
HubSpotConnector.getContactsByQuery(String userId,
String query,
String count)
For a given portal, return contacts and some data associated with those contacts by the contact's email address or name.
|
ContactList |
HubSpotConnector.getContactsInAList(String userId,
String listId,
String count,
String property,
String offset)
For a given portal and a given list, identified by its unique ID, return a list of contacts that are in that list.
|
HubSpotListLists |
HubSpotConnector.getContactsLists(String userId,
String count,
String offset)
For a given portal, return a set of contact lists that you specify with the count parameter.
|
ContactStatistics |
HubSpotConnector.getContactStatistics(String userId)
For a given portal, return statistics about that portal's contacts.
|
CustomContactPropertyGroup |
HubSpotConnector.getCustomPropertyGroup(String userId,
String groupName)
For a given portal, return all contact property groups that have been created in the portal.
|
HubSpotListLists |
HubSpotConnector.getDynamicContactLists(String userId,
String count,
String offset)
For a given portal, return a set of dynamic contact lists that you specify with the count parameter.
|
EmailSubscription |
HubSpotConnector.getEmailSubscriptions(String userId,
String hubId)
For a given portal, return all email subscription types that have been created in the portal.
|
EmailSubscriptionStatus |
HubSpotConnector.getEmailSubscriptionStatus(String userId,
String hubId,
String email)
For a given portal, return all email subscription information for the given email address and portal.
|
ContactList |
HubSpotConnector.getRecentContacts(String userId,
String count,
String timeOffset,
String contactOffset)
For a given portal, return all contacts that have been recently updated or created.
|
Collection<Contact> |
HubSpotConnector.getRecentContactsPaginated(String userId,
String count)
This operation masks
getRecentContacts with an Iterator that handles the pagination. |
ContactProperties |
HubSpotConnector.updateContact(String userId,
String contactId,
ContactProperties contactProperties)
Update an existing contact in HubSpot.
|
CustomContactProperty |
HubSpotConnector.updateCustomProperty(String userId,
String propertyName,
CustomContactProperty contactProperty)
Update an existing property in HubSpot.
|
CustomContactPropertyGroup |
HubSpotConnector.updateCustomPropertyGroup(String userId,
String groupName,
CustomContactPropertyGroup customContactPropertyGroup)
For a given portal, update a contact property group.
|
EmailSubscriptionStatusResult |
HubSpotConnector.updateEmailSubscriptionStatus(String userId,
String hubId,
String email,
List<EmailSubscriptionStatusStatuses> statuses)
For a given email address and portal, update the email type subscription status.
|
EmailSubscriptionStatusResult |
HubSpotConnector.updateEmailSubscriptionStatusUnsubscribeFromAll(String userId,
String hubId,
String email)
For a given email address and portal, update the email type subscription unsuscribing from all emails NOTE: it is only possible to opt email addresses OUT of subscription
and there is NO UNDO for this operation.
|
Modifier and Type | Method and Description |
---|---|
HubSpotListAddContactToListResponse |
HubSpotClientImpl.addExistingContactInAList(String accessToken,
String userId,
String listId,
String contactId) |
Contact |
HubSpotClientImpl.createContact(String accessToken,
String userId,
ContactProperties contactProperties) |
HubSpotList |
HubSpotClientImpl.createContactList(String accessToken,
String userId,
HubSpotNewList list,
List<HubSpotListFilters> filters) |
CustomContactProperty |
HubSpotClientImpl.createCustomProperty(String accessToken,
String userId,
CustomContactProperty contactProperty) |
CustomContactPropertyGroup |
HubSpotClientImpl.createCustomPropertyGroup(String accessToken,
String userId,
CustomContactPropertyGroup customContactPropertyGroup) |
ContactDeleted |
HubSpotClientImpl.deleteContact(String accessToken,
String userId,
String contactId) |
void |
HubSpotClientImpl.deleteCustomProperty(String accessToken,
String userId,
String contactPropertyName) |
void |
HubSpotClientImpl.deleteCustomPropertyGroup(String accessToken,
String userId,
String groupName) |
ContactList |
HubSpotClientImpl.getAllContacts(String accessToken,
String userId,
String count,
String contactOffset) |
List<CustomContactProperty> |
HubSpotClientImpl.getAllCustomProperties(String accessToken,
String userId) |
Contact |
HubSpotClientImpl.getContactByEmail(String accessToken,
String userId,
String contactEmail) |
Contact |
HubSpotClientImpl.getContactById(String accessToken,
String userId,
String contactId) |
Contact |
HubSpotClientImpl.getContactByUserToken(String accessToken,
String userId,
String contactUserToken) |
HubSpotList |
HubSpotClientImpl.getContactListById(String accessToken,
String userId,
String listId) |
ContactQuery |
HubSpotClientImpl.getContactsByQuery(String accessToken,
String userId,
String query,
String count) |
ContactList |
HubSpotClientImpl.getContactsInAList(String accessToken,
String userId,
String listId,
String count,
String property,
String offset) |
HubSpotListLists |
HubSpotClientImpl.getContactsLists(String accessToken,
String userId,
String count,
String offset) |
ContactStatistics |
HubSpotClientImpl.getContactStatistics(String accessToken,
String userId) |
CustomContactPropertyGroup |
HubSpotClientImpl.getCustomPropertyGroup(String accessToken,
String userId,
String groupName) |
HubSpotListLists |
HubSpotClientImpl.getDynamicContactLists(String accessToken,
String userId,
String count,
String offset) |
EmailSubscription |
HubSpotClientImpl.getEmailSubscriptions(String accessToken,
String userId,
String hubId) |
EmailSubscriptionStatus |
HubSpotClientImpl.getEmailSubscriptionStatus(String accessToken,
String userId,
String hubId,
String email) |
ContactList |
HubSpotClientImpl.getRecentContacts(String accessToken,
String userId,
String count,
String timeOffset,
String contactOffset) |
void |
HubSpotClientImpl.refreshToken(HubSpotCredentialsManager objectStoreCredentials,
String userId) |
void |
HubSpotClientImpl.updateContact(String accessToken,
String userId,
String contactId,
ContactProperties contactProperties) |
CustomContactProperty |
HubSpotClientImpl.updateCustomProperty(String accessToken,
String userId,
String propertyName,
CustomContactProperty contactProperty) |
CustomContactPropertyGroup |
HubSpotClientImpl.updateCustomPropertyGroup(String accessToken,
String userId,
String groupName,
CustomContactPropertyGroup customContactPropertyGroup) |
EmailSubscriptionStatusResult |
HubSpotClientImpl.updateEmailSubscriptionStatus(String accessToken,
String userId,
String hubId,
String email,
List<EmailSubscriptionStatusStatuses> statuses) |
EmailSubscriptionStatusResult |
HubSpotClientImpl.updateEmailSubscriptionStatusUnsubscribeFromAll(String accessToken,
String userId,
String hubId,
String email) |
Modifier and Type | Method and Description |
---|---|
OAuthCredentials |
HubSpotCredentialsManager.getCredentials(String userId)
Return the credentials corresponding to a user
|
String |
HubSpotCredentialsManager.getCredentialsAccessToken(String userId)
Return the accessToken in the credentials corresponding to a user
|
String |
HubSpotCredentialsManager.getCredentialsClientId(String userId)
Retrieves the clientId from the credentials for the tenant
|
String |
HubSpotCredentialsManager.getCredentialsHubId(String userId) |
Boolean |
HubSpotCredentialsManager.getCredentialsOfflineScope(String userId) |
Copyright © 2010–2016. All rights reserved.