public abstract class SalesforcePagingDelegate extends org.mule.streaming.ProviderAwarePagingDelegate<Map<String,Object>,SalesforceConnector>
Constructor and Description |
---|
SalesforcePagingDelegate(String query,
Map<SalesforceHeader,Object> headers,
SalesforceConnector salesforceConnector,
org.mule.streaming.PagingConfiguration pagingConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected abstract com.sforce.soap.partner.QueryResult |
doQuery(com.sforce.soap.partner.PartnerConnection connection,
String query) |
List<Map<String,Object>> |
getPage(SalesforceConnector connector) |
int |
getTotalResults(SalesforceConnector connector) |
public SalesforcePagingDelegate(String query, Map<SalesforceHeader,Object> headers, SalesforceConnector salesforceConnector, org.mule.streaming.PagingConfiguration pagingConfiguration) throws SalesforceException
SalesforceException
public List<Map<String,Object>> getPage(SalesforceConnector connector) throws Exception
getPage
in class org.mule.streaming.ProviderAwarePagingDelegate<Map<String,Object>,SalesforceConnector>
Exception
protected abstract com.sforce.soap.partner.QueryResult doQuery(com.sforce.soap.partner.PartnerConnection connection, String query) throws com.sforce.ws.ConnectionException
com.sforce.ws.ConnectionException
public void close()
public int getTotalResults(@NotNull SalesforceConnector connector) throws Exception
getTotalResults
in class org.mule.streaming.ProviderAwarePagingDelegate<Map<String,Object>,SalesforceConnector>
Exception
Copyright © 2010–2020. All rights reserved.