public class SFConfig extends Object
| Constructor and Description |
|---|
SFConfig(String username,
String password,
String loginURL,
String apiVersion) |
SFConfig(String username,
String password,
String loginURL,
String apiVersion,
Integer batchSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection() |
String |
getApiVersion() |
Integer |
getBatchSize() |
String |
getLoginURL() |
Integer |
getMaxRetry() |
com.sforce.soap.partner.PartnerConnection |
getPartnerConnection() |
String |
getPassword() |
URI |
getRequestURI(com.sforce.soap.partner.PartnerConnection connection,
String path) |
URI |
getRequestURI(com.sforce.soap.partner.PartnerConnection connection,
String path,
String query) |
String |
getSessionId() |
String |
getSessionId(com.sforce.soap.partner.PartnerConnection connection) |
String |
getUsername() |
void |
setApiVersion(String apiVersion) |
void |
setBatchSize(Integer batchSize) |
void |
setLoginURL(String loginURL) |
void |
setMaxRetry(Integer maxRetry) |
void |
setPassword(String password) |
void |
setUsername(String username) |
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public String getLoginURL()
public void setLoginURL(String loginURL)
public String getApiVersion()
public void setApiVersion(String apiVersion)
public Integer getBatchSize()
public void setBatchSize(Integer batchSize)
public Integer getMaxRetry()
public void setMaxRetry(Integer maxRetry)
public com.sforce.soap.partner.PartnerConnection getPartnerConnection()
throws Exception
Exceptionpublic String getSessionId(com.sforce.soap.partner.PartnerConnection connection)
public URI getRequestURI(com.sforce.soap.partner.PartnerConnection connection, String path) throws URISyntaxException
URISyntaxExceptionpublic URI getRequestURI(com.sforce.soap.partner.PartnerConnection connection, String path, String query) throws URISyntaxException
URISyntaxExceptionpublic void closeConnection()
Copyright © 2019. All rights reserved.