public class SalesforceLeadSearch extends Object
SalesforceLeadSearch component is used to search leads on salesforce and return back the data
as JSON| Modifier and Type | Field and Description |
|---|---|
static String |
ACCESS_TOKEN |
static String |
APPLICATION_JSON |
static String |
CUSTOMER_KEY |
static String |
CUSTOMER_SECRET |
static String |
REFRESH_TOKEN |
| Constructor and Description |
|---|
SalesforceLeadSearch() |
| Modifier and Type | Method and Description |
|---|---|
JSONObject |
search(Configuration cloudConfig,
SalesforceSearchParameters parameters,
ResourceResolver resolver)
Uses the
to search leads |
public static final String CUSTOMER_KEY
public static final String CUSTOMER_SECRET
public static final String REFRESH_TOKEN
public static final String APPLICATION_JSON
public static final String ACCESS_TOKEN
public JSONObject search(Configuration cloudConfig, SalesforceSearchParameters parameters, ResourceResolver resolver) throws SalesforceException
SalesforceClient to search leadscloudConfig - Salesforce Cloud Service Configuration used for identifying Salesforce Account.parameters - Search Parameters used via searchingresolver - The current ResourceResolver object used if the access token expires during the search
and we need to save the new access token in the configuration.SalesforceException"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"