public class SalesforceLeadSearch
extends java.lang.Object
SalesforceLeadSearch component is used to search leads on salesforce and return back the data
as JSON| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACCESS_TOKEN |
static java.lang.String |
APPLICATION_JSON |
static java.lang.String |
CUSTOMER_KEY |
static java.lang.String |
CUSTOMER_SECRET |
static java.lang.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 java.lang.String CUSTOMER_KEY
public static final java.lang.String CUSTOMER_SECRET
public static final java.lang.String REFRESH_TOKEN
public static final java.lang.String APPLICATION_JSON
public static final java.lang.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 - 2020 Adobe Systems Incorporated. All Rights Reserved"