public class SalesForceDataSource extends AbstractDataSource
| Modifier and Type | Class and Description |
|---|---|
class |
SalesForceDataSource.SalesForceDataSourceNode |
AbstractDataSource.AbstractDataSourceNode| Modifier and Type | Field and Description |
|---|---|
com.sforce.soap.partner.PartnerConnection |
connection |
rootNode, SynTaxmode| Constructor and Description |
|---|
SalesForceDataSource(DataSourceProvider toCopy,
boolean logoutWhenDone) |
SalesForceDataSource(com.sforce.soap.partner.PartnerConnection connection,
boolean logoutWhenDone) |
SalesForceDataSource(java.lang.String username,
java.lang.String password,
java.lang.String securitytoken,
boolean logoutWhenDone) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Clean up resources.
|
com.sforce.soap.partner.PartnerConnection |
getConnection() |
java.lang.String |
getDatasourceName()
returns the name of this type in the form "sql", "xml", etc.
|
DataSourceQueryHelper |
getQueryHelper()
Gets the query helper from the subclass.
|
int |
getQueryMode(java.lang.String query,
BaseTag tag)
Gets the query mode of a select.
|
void |
logout() |
approveDenyModifySelect, getMap, getParamMode, getRootNode, getTagAttributes, populateDatasourceException, returnfirstattribute, returnValue, setDatasets, setMap, setParamMode, validateTagconvertToInputStreampublic SalesForceDataSource(java.lang.String username,
java.lang.String password,
java.lang.String securitytoken,
boolean logoutWhenDone)
throws DataConnectionException
DataConnectionExceptionpublic SalesForceDataSource(com.sforce.soap.partner.PartnerConnection connection,
boolean logoutWhenDone)
throws DataConnectionException
DataConnectionExceptionpublic SalesForceDataSource(DataSourceProvider toCopy, boolean logoutWhenDone) throws DataSourceException, DataConnectionException
public DataSourceQueryHelper getQueryHelper()
AbstractDataSourcepublic java.lang.String getDatasourceName()
public com.sforce.soap.partner.PartnerConnection getConnection()
public void logout()
public void close()
AbstractDataSourceclose in interface DataSourceProviderclose in class AbstractDataSourcepublic int getQueryMode(java.lang.String query,
BaseTag tag)
throws DataSourceException
AbstractDataSourcegetQueryMode in interface DataSourceProvidergetQueryMode in class AbstractDataSourcequery - The querytag - The tag this select is for. This may be null.DataSourceExceptionCopyright © 2017 Windward Reports - All Rights Reserved. We are java reporting software