Package org.teiid.spring.data.salesforce
Class SalesforceConnectionImpl
- java.lang.Object
-
- org.teiid.salesforce.BaseSalesforceConnection<SalesforceConfiguration>
-
- org.teiid.spring.data.salesforce.SalesforceConnectionImpl
-
- All Implemented Interfaces:
org.teiid.resource.api.Connection
,org.teiid.translator.salesforce.SalesforceConnection
public class SalesforceConnectionImpl extends org.teiid.salesforce.BaseSalesforceConnection<SalesforceConfiguration> implements org.teiid.translator.salesforce.SalesforceConnection
-
-
Constructor Summary
Constructors Constructor Description SalesforceConnectionImpl(SalesforceConfiguration sfc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid()
protected void
login(SalesforceConfiguration sfc)
-
Methods inherited from class org.teiid.salesforce.BaseSalesforceConnection
addBatch, addBatch, cancelBulkJob, close, closeJob, create, createBulkJob, delete, getBatchQueryResults, getBulkResults, getCardinality, getDeleted, getObjectMetaData, getObjects, getUpdated, getVersion, isAlive, query, queryMore, retrieve, toUpdateSObject, update, upsert
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.teiid.translator.salesforce.SalesforceConnection
addBatch, addBatch, cancelBulkJob, closeJob, create, createBulkJob, delete, getBatchQueryResults, getBulkResults, getCardinality, getDeleted, getObjectMetaData, getObjects, getUpdated, getVersion, query, queryMore, retrieve, update, upsert
-
-
-
-
Constructor Detail
-
SalesforceConnectionImpl
public SalesforceConnectionImpl(SalesforceConfiguration sfc) throws Exception
- Throws:
Exception
-
-
Method Detail
-
login
protected void login(SalesforceConfiguration sfc) throws com.sforce.ws.ConnectionException
- Specified by:
login
in classorg.teiid.salesforce.BaseSalesforceConnection<SalesforceConfiguration>
- Throws:
com.sforce.ws.ConnectionException
-
isValid
public boolean isValid()
- Specified by:
isValid
in interfaceorg.teiid.translator.salesforce.SalesforceConnection
- Overrides:
isValid
in classorg.teiid.salesforce.BaseSalesforceConnection<SalesforceConfiguration>
-
-