Package com.sforce.soap.partner
Class PartnerConnection
- java.lang.Object
-
- com.sforce.soap.partner.PartnerConnection
-
public class PartnerConnection extends Object
This is a generated class for the SObject Enterprise API. Do not edit this file, as your changes will be lost.
-
-
Constructor Summary
Constructors Constructor Description PartnerConnection(ConnectorConfig config)
-
Method Summary
-
-
-
Constructor Detail
-
PartnerConnection
public PartnerConnection(ConnectorConfig config) throws ConnectionException
- Throws:
ConnectionException
-
-
Method Detail
-
getConfig
public ConnectorConfig getConfig()
-
setQueryOptions
public void setQueryOptions(int batchSize)
-
clearQueryOptions
public void clearQueryOptions()
-
getQueryOptions
public QueryOptions_element getQueryOptions()
-
__setQueryOptions
public void __setQueryOptions(QueryOptions_element __header)
-
setAssignmentRuleHeader
public void setAssignmentRuleHeader(String assignmentRuleId, Boolean useDefaultRule)
-
clearAssignmentRuleHeader
public void clearAssignmentRuleHeader()
-
getAssignmentRuleHeader
public AssignmentRuleHeader_element getAssignmentRuleHeader()
-
__setAssignmentRuleHeader
public void __setAssignmentRuleHeader(AssignmentRuleHeader_element __header)
-
setDisableFeedTrackingHeader
public void setDisableFeedTrackingHeader(boolean disableFeedTracking)
-
clearDisableFeedTrackingHeader
public void clearDisableFeedTrackingHeader()
-
getDisableFeedTrackingHeader
public DisableFeedTrackingHeader_element getDisableFeedTrackingHeader()
-
__setDisableFeedTrackingHeader
public void __setDisableFeedTrackingHeader(DisableFeedTrackingHeader_element __header)
-
setConditionalRequestHeader
public void setConditionalRequestHeader(Calendar ifModifiedBefore, Calendar ifModifiedSince)
-
clearConditionalRequestHeader
public void clearConditionalRequestHeader()
-
getConditionalRequestHeader
public ConditionalRequestHeader_element getConditionalRequestHeader()
-
__setConditionalRequestHeader
public void __setConditionalRequestHeader(ConditionalRequestHeader_element __header)
-
setEmailHeader
public void setEmailHeader(boolean triggerAutoResponseEmail, boolean triggerOtherEmail, boolean triggerUserEmail)
-
clearEmailHeader
public void clearEmailHeader()
-
getEmailHeader
public EmailHeader_element getEmailHeader()
-
__setEmailHeader
public void __setEmailHeader(EmailHeader_element __header)
-
setLocaleOptions
public void setLocaleOptions(String language, boolean localizeErrors)
-
clearLocaleOptions
public void clearLocaleOptions()
-
getLocaleOptions
public LocaleOptions_element getLocaleOptions()
-
__setLocaleOptions
public void __setLocaleOptions(LocaleOptions_element __header)
-
setDebuggingHeader
public void setDebuggingHeader(LogInfo[] categories, DebugLevel debugLevel)
-
clearDebuggingHeader
public void clearDebuggingHeader()
-
getDebuggingHeader
public DebuggingHeader_element getDebuggingHeader()
-
__setDebuggingHeader
public void __setDebuggingHeader(DebuggingHeader_element __header)
-
setOwnerChangeOptions
public void setOwnerChangeOptions(OwnerChangeOption[] options)
-
clearOwnerChangeOptions
public void clearOwnerChangeOptions()
-
getOwnerChangeOptions
public OwnerChangeOptions_element getOwnerChangeOptions()
-
__setOwnerChangeOptions
public void __setOwnerChangeOptions(OwnerChangeOptions_element __header)
-
setAllowFieldTruncationHeader
public void setAllowFieldTruncationHeader(boolean allowFieldTruncation)
-
clearAllowFieldTruncationHeader
public void clearAllowFieldTruncationHeader()
-
getAllowFieldTruncationHeader
public AllowFieldTruncationHeader_element getAllowFieldTruncationHeader()
-
__setAllowFieldTruncationHeader
public void __setAllowFieldTruncationHeader(AllowFieldTruncationHeader_element __header)
-
setLimitInfoHeader
public void setLimitInfoHeader(LimitInfo[] limitInfo)
-
clearLimitInfoHeader
public void clearLimitInfoHeader()
-
getLimitInfoHeader
public LimitInfoHeader_element getLimitInfoHeader()
-
__setLimitInfoHeader
public void __setLimitInfoHeader(LimitInfoHeader_element __header)
-
setDebuggingInfo
public void setDebuggingInfo(String debugLog)
-
clearDebuggingInfo
public void clearDebuggingInfo()
-
getDebuggingInfo
public DebuggingInfo_element getDebuggingInfo()
-
__setDebuggingInfo
public void __setDebuggingInfo(DebuggingInfo_element __header)
-
setPackageVersionHeader
public void setPackageVersionHeader(PackageVersion[] packageVersions)
-
clearPackageVersionHeader
public void clearPackageVersionHeader()
-
getPackageVersionHeader
public PackageVersionHeader_element getPackageVersionHeader()
-
__setPackageVersionHeader
public void __setPackageVersionHeader(PackageVersionHeader_element __header)
-
setAllOrNoneHeader
public void setAllOrNoneHeader(boolean allOrNone)
-
clearAllOrNoneHeader
public void clearAllOrNoneHeader()
-
getAllOrNoneHeader
public AllOrNoneHeader_element getAllOrNoneHeader()
-
__setAllOrNoneHeader
public void __setAllOrNoneHeader(AllOrNoneHeader_element __header)
-
setMruHeader
public void setMruHeader(boolean updateMru)
-
clearMruHeader
public void clearMruHeader()
-
getMruHeader
public MruHeader_element getMruHeader()
-
__setMruHeader
public void __setMruHeader(MruHeader_element __header)
-
setSessionHeader
public void setSessionHeader(String sessionId)
-
clearSessionHeader
public void clearSessionHeader()
-
getSessionHeader
public SessionHeader_element getSessionHeader()
-
__setSessionHeader
public void __setSessionHeader(SessionHeader_element __header)
-
clearCallOptions
public void clearCallOptions()
-
getCallOptions
public CallOptions_element getCallOptions()
-
__setCallOptions
public void __setCallOptions(CallOptions_element __header)
-
setStreamingEnabledHeader
public void setStreamingEnabledHeader(boolean streamingEnabled)
-
clearStreamingEnabledHeader
public void clearStreamingEnabledHeader()
-
getStreamingEnabledHeader
public StreamingEnabledHeader_element getStreamingEnabledHeader()
-
__setStreamingEnabledHeader
public void __setStreamingEnabledHeader(StreamingEnabledHeader_element __header)
-
clearLoginScopeHeader
public void clearLoginScopeHeader()
-
getLoginScopeHeader
public LoginScopeHeader_element getLoginScopeHeader()
-
__setLoginScopeHeader
public void __setLoginScopeHeader(LoginScopeHeader_element __header)
-
setUserTerritoryDeleteHeader
public void setUserTerritoryDeleteHeader(String transferToUserId)
-
clearUserTerritoryDeleteHeader
public void clearUserTerritoryDeleteHeader()
-
getUserTerritoryDeleteHeader
public UserTerritoryDeleteHeader_element getUserTerritoryDeleteHeader()
-
__setUserTerritoryDeleteHeader
public void __setUserTerritoryDeleteHeader(UserTerritoryDeleteHeader_element __header)
-
setDuplicateRuleHeader
public void setDuplicateRuleHeader(boolean allowSave, boolean includeRecordDetails, boolean runAsCurrentUser)
-
clearDuplicateRuleHeader
public void clearDuplicateRuleHeader()
-
getDuplicateRuleHeader
public DuplicateRuleHeader_element getDuplicateRuleHeader()
-
__setDuplicateRuleHeader
public void __setDuplicateRuleHeader(DuplicateRuleHeader_element __header)
-
describeAllTabs
public DescribeTab[] describeAllTabs() throws ConnectionException
- Throws:
ConnectionException
-
describeDataCategoryGroupStructures
public DescribeDataCategoryGroupStructureResult[] describeDataCategoryGroupStructures(DataCategoryGroupSobjectTypePair[] pairs, boolean topCategoriesOnly) throws ConnectionException
- Throws:
ConnectionException
-
describeDataCategoryGroups
public DescribeDataCategoryGroupResult[] describeDataCategoryGroups(String[] sObjectType) throws ConnectionException
- Throws:
ConnectionException
-
findDuplicates
public FindDuplicatesResult[] findDuplicates(SObject[] sObjects) throws ConnectionException
- Throws:
ConnectionException
-
process
public ProcessResult[] process(ProcessRequest[] actions) throws ConnectionException
- Throws:
ConnectionException
-
describeGlobal
public DescribeGlobalResult describeGlobal() throws ConnectionException
- Throws:
ConnectionException
-
getUserInfo
public GetUserInfoResult getUserInfo() throws ConnectionException
- Throws:
ConnectionException
-
describeGlobalTheme
public DescribeGlobalTheme describeGlobalTheme() throws ConnectionException
- Throws:
ConnectionException
-
describeApprovalLayout
public DescribeApprovalLayoutResult describeApprovalLayout(String sObjectType, String[] approvalProcessNames) throws ConnectionException
- Throws:
ConnectionException
-
describePrimaryCompactLayouts
public DescribeCompactLayout[] describePrimaryCompactLayouts(String[] sObjectTypes) throws ConnectionException
- Throws:
ConnectionException
-
queryMore
public QueryResult queryMore(String queryLocator) throws ConnectionException
- Throws:
ConnectionException
-
describeSearchableEntities
public DescribeSearchableEntityResult[] describeSearchableEntities(boolean includeOnlyEntitiesWithTabs) throws ConnectionException
- Throws:
ConnectionException
-
describeLayout
public DescribeLayoutResult describeLayout(String sObjectType, String layoutName, String[] recordTypeIds) throws ConnectionException
- Throws:
ConnectionException
-
describeAppMenu
public DescribeAppMenuResult describeAppMenu(AppMenuType appMenuType, String networkId) throws ConnectionException
- Throws:
ConnectionException
-
describeLookupLayouts
public DescribeLookupLayoutResult[] describeLookupLayouts(String[] sObjectType) throws ConnectionException
- Throws:
ConnectionException
-
convertLead
public LeadConvertResult[] convertLead(LeadConvert[] leadConverts) throws ConnectionException
- Throws:
ConnectionException
-
describeSObjectListViews
public DescribeSoqlListViewResult describeSObjectListViews(String sObjectType, boolean recentsOnly, ListViewIsSoqlCompatible isSoqlCompatible, int limit, int offset) throws ConnectionException
- Throws:
ConnectionException
-
delete
public DeleteResult[] delete(String[] ids) throws ConnectionException
- Throws:
ConnectionException
-
login
public LoginResult login(String username, String password) throws ConnectionException
- Throws:
ConnectionException
-
queryAll
public QueryResult queryAll(String queryString) throws ConnectionException
- Throws:
ConnectionException
-
update
public SaveResult[] update(SObject[] sObjects) throws ConnectionException
- Throws:
ConnectionException
-
emptyRecycleBin
public EmptyRecycleBinResult[] emptyRecycleBin(String[] ids) throws ConnectionException
- Throws:
ConnectionException
-
describeCompactLayouts
public DescribeCompactLayoutsResult describeCompactLayouts(String sObjectType, String[] recordTypeIds) throws ConnectionException
- Throws:
ConnectionException
-
changeOwnPassword
public ChangeOwnPasswordResult changeOwnPassword(String oldPassword, String newPassword) throws ConnectionException
- Throws:
ConnectionException
-
describeSoqlListViews
public DescribeSoqlListViewResult describeSoqlListViews(DescribeSoqlListViewsRequest request) throws ConnectionException
- Throws:
ConnectionException
-
describePathAssistants
public DescribePathAssistantsResult describePathAssistants(String sObjectType, String picklistValue, String[] recordTypeIds) throws ConnectionException
- Throws:
ConnectionException
-
describeAvailableQuickActions
public DescribeAvailableQuickActionResult[] describeAvailableQuickActions(String contextType) throws ConnectionException
- Throws:
ConnectionException
-
getDeleted
public GetDeletedResult getDeleted(String sObjectType, Calendar startDate, Calendar endDate) throws ConnectionException
- Throws:
ConnectionException
-
describeTabs
public DescribeTabSetResult[] describeTabs() throws ConnectionException
- Throws:
ConnectionException
-
retrieveMassQuickActionTemplates
public QuickActionTemplateResult[] retrieveMassQuickActionTemplates(String quickActionName, String[] contextIds) throws ConnectionException
- Throws:
ConnectionException
-
search
public SearchResult search(String searchString) throws ConnectionException
- Throws:
ConnectionException
-
sendEmail
public SendEmailResult[] sendEmail(Email[] messages) throws ConnectionException
- Throws:
ConnectionException
-
getUpdated
public GetUpdatedResult getUpdated(String sObjectType, Calendar startDate, Calendar endDate) throws ConnectionException
- Throws:
ConnectionException
-
sendEmailMessage
public SendEmailResult[] sendEmailMessage(String[] ids) throws ConnectionException
- Throws:
ConnectionException
-
describeQuickActionsForRecordType
public DescribeQuickActionResult[] describeQuickActionsForRecordType(String[] quickActions, String recordTypeId) throws ConnectionException
- Throws:
ConnectionException
-
renderEmailTemplate
public RenderEmailTemplateResult[] renderEmailTemplate(RenderEmailTemplateRequest[] renderRequests) throws ConnectionException
- Throws:
ConnectionException
-
upsert
public UpsertResult[] upsert(String externalIDFieldName, SObject[] sObjects) throws ConnectionException
- Throws:
ConnectionException
-
query
public QueryResult query(String queryString) throws ConnectionException
- Throws:
ConnectionException
-
describeQuickActions
public DescribeQuickActionResult[] describeQuickActions(String[] quickActions) throws ConnectionException
- Throws:
ConnectionException
-
performQuickActions
public PerformQuickActionResult[] performQuickActions(PerformQuickActionRequest[] quickActions) throws ConnectionException
- Throws:
ConnectionException
-
describeSObjects
public DescribeSObjectResult[] describeSObjects(String[] sObjectType) throws ConnectionException
- Throws:
ConnectionException
-
describeKnowledgeSettings
public KnowledgeSettings describeKnowledgeSettings() throws ConnectionException
- Throws:
ConnectionException
-
undelete
public UndeleteResult[] undelete(String[] ids) throws ConnectionException
- Throws:
ConnectionException
-
retrieve
public SObject[] retrieve(String fieldList, String sObjectType, String[] ids) throws ConnectionException
- Throws:
ConnectionException
-
describeTheme
public DescribeThemeResult describeTheme(String[] sobjectType) throws ConnectionException
- Throws:
ConnectionException
-
deleteByExample
public DeleteByExampleResult[] deleteByExample(SObject[] sObjects) throws ConnectionException
- Throws:
ConnectionException
-
describeNouns
public DescribeNounResult[] describeNouns(String[] nouns, boolean onlyRenamed, boolean includeFields) throws ConnectionException
- Throws:
ConnectionException
-
findDuplicatesByIds
public FindDuplicatesResult[] findDuplicatesByIds(String[] ids) throws ConnectionException
- Throws:
ConnectionException
-
executeListView
public ExecuteListViewResult executeListView(ExecuteListViewRequest request) throws ConnectionException
- Throws:
ConnectionException
-
renderStoredEmailTemplate
public RenderStoredEmailTemplateResult renderStoredEmailTemplate(RenderStoredEmailTemplateRequest request) throws ConnectionException
- Throws:
ConnectionException
-
describeVisualForce
public DescribeVisualForceResult describeVisualForce(boolean includeAllDetails, String namespacePrefix) throws ConnectionException
- Throws:
ConnectionException
-
describeSObject
public DescribeSObjectResult describeSObject(String sObjectType) throws ConnectionException
- Throws:
ConnectionException
-
getServerTimestamp
public GetServerTimestampResult getServerTimestamp() throws ConnectionException
- Throws:
ConnectionException
-
retrieveQuickActionTemplates
public QuickActionTemplateResult[] retrieveQuickActionTemplates(String[] quickActionNames, String contextId) throws ConnectionException
- Throws:
ConnectionException
-
setPassword
public SetPasswordResult setPassword(String userId, String password) throws ConnectionException
- Throws:
ConnectionException
-
resetPassword
public ResetPasswordResult resetPassword(String userId) throws ConnectionException
- Throws:
ConnectionException
-
describeSoftphoneLayout
public DescribeSoftphoneLayoutResult describeSoftphoneLayout() throws ConnectionException
- Throws:
ConnectionException
-
create
public SaveResult[] create(SObject[] sObjects) throws ConnectionException
- Throws:
ConnectionException
-
describeSearchLayouts
public DescribeSearchLayoutResult[] describeSearchLayouts(String[] sObjectType) throws ConnectionException
- Throws:
ConnectionException
-
merge
public MergeResult[] merge(MergeRequest[] request) throws ConnectionException
- Throws:
ConnectionException
-
invalidateSessions
public InvalidateSessionsResult[] invalidateSessions(String[] sessionIds) throws ConnectionException
- Throws:
ConnectionException
-
describeListViews
public DescribeListViewResult[] describeListViews(String[] sObjectType) throws ConnectionException
- Throws:
ConnectionException
-
describeDataCategoryMappings
public DescribeDataCategoryMappingResult[] describeDataCategoryMappings() throws ConnectionException
- Throws:
ConnectionException
-
logout
public void logout() throws ConnectionException- Throws:
ConnectionException
-
describeSearchScopeOrder
public DescribeSearchScopeOrderResult[] describeSearchScopeOrder(boolean includeRealTimeEntities) throws ConnectionException
- Throws:
ConnectionException
-
removeExtraHeader
public void removeExtraHeader(QName __headerName)
-
clearExtraHeaders
public void clearExtraHeaders()
-
-