Package com.sforce.soap.partner
Class PartnerConnection
java.lang.Object
com.sforce.soap.partner.PartnerConnection
This is a generated class for the SObject Enterprise API.
Do not edit this file, as your changes will be lost.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid__setAllOrNoneHeader(AllOrNoneHeader_element __header) voidvoidvoid__setCallOptions(CallOptions_element __header) voidvoid__setDebuggingHeader(DebuggingHeader_element __header) void__setDebuggingInfo(DebuggingInfo_element __header) voidvoidvoid__setEmailHeader(EmailHeader_element __header) void__setLimitInfoHeader(LimitInfoHeader_element __header) void__setLocaleOptions(LocaleOptions_element __header) voidvoid__setMruHeader(MruHeader_element __header) voidvoidvoid__setQueryOptions(QueryOptions_element __header) void__setSessionHeader(SessionHeader_element __header) voidvoidvoidaddExtraHeader(QName __headerName, XMLizable __value) changeOwnPassword(String oldPassword, String newPassword) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidconvertLead(LeadConvert[] leadConverts) deleteByExample(SObject[] sObjects) describeAppMenu(AppMenuType appMenuType, String networkId) describeApprovalLayout(String sObjectType, String[] approvalProcessNames) describeAvailableQuickActions(String contextType) describeCompactLayouts(String sObjectType, String[] recordTypeIds) describeDataCategoryGroups(String[] sObjectType) describeDataCategoryGroupStructures(DataCategoryGroupSobjectTypePair[] pairs, boolean topCategoriesOnly) describeLayout(String sObjectType, String layoutName, String[] recordTypeIds) describeListViews(String[] sObjectType) describeLookupLayouts(String[] sObjectType) describeNouns(String[] nouns, boolean onlyRenamed, boolean includeFields) describePathAssistants(String sObjectType, String picklistValue, String[] recordTypeIds) describePrimaryCompactLayouts(String[] sObjectTypes) describeQuickActions(String[] quickActions) describeQuickActionsForRecordType(String[] quickActions, String recordTypeId) describeSearchableEntities(boolean includeOnlyEntitiesWithTabs) describeSearchLayouts(String[] sObjectType) describeSearchScopeOrder(boolean includeRealTimeEntities) describeSObject(String sObjectType) describeSObjectListViews(String sObjectType, boolean recentsOnly, ListViewIsSoqlCompatible isSoqlCompatible, int limit, int offset) describeSObjects(String[] sObjectType) describeTheme(String[] sobjectType) describeVisualForce(boolean includeAllDetails, String namespacePrefix) emptyRecycleBin(String[] ids) executeListView(ExecuteListViewRequest request) findDuplicates(SObject[] sObjects) findDuplicatesByIds(String[] ids) getDeleted(String sObjectType, Calendar startDate, Calendar endDate) getExtraHeader(QName __headerName) getUpdated(String sObjectType, Calendar startDate, Calendar endDate) invalidateSessions(String[] sessionIds) voidlogout()merge(MergeRequest[] request) performQuickActions(PerformQuickActionRequest[] quickActions) process(ProcessRequest[] actions) voidremoveExtraHeader(QName __headerName) renderEmailTemplate(RenderEmailTemplateRequest[] renderRequests) resetPassword(String userId) SObject[]retrieveMassQuickActionTemplates(String quickActionName, String[] contextIds) retrieveQuickActionTemplates(String[] quickActionNames, String contextId) sendEmailMessage(String[] ids) voidsetAllOrNoneHeader(boolean allOrNone) voidsetAllowFieldTruncationHeader(boolean allowFieldTruncation) voidsetAssignmentRuleHeader(String assignmentRuleId, Boolean useDefaultRule) voidsetCallOptions(String client, String defaultNamespace) voidsetConditionalRequestHeader(Calendar ifModifiedBefore, Calendar ifModifiedSince) voidsetDebuggingHeader(LogInfo[] categories, DebugLevel debugLevel) voidsetDebuggingInfo(String debugLog) voidsetDisableFeedTrackingHeader(boolean disableFeedTracking) voidsetDuplicateRuleHeader(boolean allowSave, boolean includeRecordDetails, boolean runAsCurrentUser) voidsetEmailHeader(boolean triggerAutoResponseEmail, boolean triggerOtherEmail, boolean triggerUserEmail) voidsetLimitInfoHeader(LimitInfo[] limitInfo) voidsetLocaleOptions(String language, boolean localizeErrors) voidsetLoginScopeHeader(String organizationId, String portalId) voidsetMruHeader(boolean updateMru) voidsetOwnerChangeOptions(OwnerChangeOption[] options) voidsetPackageVersionHeader(PackageVersion[] packageVersions) setPassword(String userId, String password) voidsetQueryOptions(int batchSize) voidsetSessionHeader(String sessionId) voidsetStreamingEnabledHeader(boolean streamingEnabled) voidsetUserTerritoryDeleteHeader(String transferToUserId)
-
Constructor Details
-
PartnerConnection
- Throws:
ConnectionException
-
-
Method Details
-
getConfig
-
setQueryOptions
public void setQueryOptions(int batchSize) -
clearQueryOptions
public void clearQueryOptions() -
getQueryOptions
-
__setQueryOptions
-
setAssignmentRuleHeader
-
clearAssignmentRuleHeader
public void clearAssignmentRuleHeader() -
getAssignmentRuleHeader
-
__setAssignmentRuleHeader
-
setDisableFeedTrackingHeader
public void setDisableFeedTrackingHeader(boolean disableFeedTracking) -
clearDisableFeedTrackingHeader
public void clearDisableFeedTrackingHeader() -
getDisableFeedTrackingHeader
-
__setDisableFeedTrackingHeader
-
setConditionalRequestHeader
-
clearConditionalRequestHeader
public void clearConditionalRequestHeader() -
getConditionalRequestHeader
-
__setConditionalRequestHeader
-
setEmailHeader
public void setEmailHeader(boolean triggerAutoResponseEmail, boolean triggerOtherEmail, boolean triggerUserEmail) -
clearEmailHeader
public void clearEmailHeader() -
getEmailHeader
-
__setEmailHeader
-
setLocaleOptions
-
clearLocaleOptions
public void clearLocaleOptions() -
getLocaleOptions
-
__setLocaleOptions
-
setDebuggingHeader
-
clearDebuggingHeader
public void clearDebuggingHeader() -
getDebuggingHeader
-
__setDebuggingHeader
-
setOwnerChangeOptions
-
clearOwnerChangeOptions
public void clearOwnerChangeOptions() -
getOwnerChangeOptions
-
__setOwnerChangeOptions
-
setAllowFieldTruncationHeader
public void setAllowFieldTruncationHeader(boolean allowFieldTruncation) -
clearAllowFieldTruncationHeader
public void clearAllowFieldTruncationHeader() -
getAllowFieldTruncationHeader
-
__setAllowFieldTruncationHeader
-
setLimitInfoHeader
-
clearLimitInfoHeader
public void clearLimitInfoHeader() -
getLimitInfoHeader
-
__setLimitInfoHeader
-
setDebuggingInfo
-
clearDebuggingInfo
public void clearDebuggingInfo() -
getDebuggingInfo
-
__setDebuggingInfo
-
setPackageVersionHeader
-
clearPackageVersionHeader
public void clearPackageVersionHeader() -
getPackageVersionHeader
-
__setPackageVersionHeader
-
setAllOrNoneHeader
public void setAllOrNoneHeader(boolean allOrNone) -
clearAllOrNoneHeader
public void clearAllOrNoneHeader() -
getAllOrNoneHeader
-
__setAllOrNoneHeader
-
setMruHeader
public void setMruHeader(boolean updateMru) -
clearMruHeader
public void clearMruHeader() -
getMruHeader
-
__setMruHeader
-
setSessionHeader
-
clearSessionHeader
public void clearSessionHeader() -
getSessionHeader
-
__setSessionHeader
-
setCallOptions
-
clearCallOptions
public void clearCallOptions() -
getCallOptions
-
__setCallOptions
-
setStreamingEnabledHeader
public void setStreamingEnabledHeader(boolean streamingEnabled) -
clearStreamingEnabledHeader
public void clearStreamingEnabledHeader() -
getStreamingEnabledHeader
-
__setStreamingEnabledHeader
-
setLoginScopeHeader
-
clearLoginScopeHeader
public void clearLoginScopeHeader() -
getLoginScopeHeader
-
__setLoginScopeHeader
-
setUserTerritoryDeleteHeader
-
clearUserTerritoryDeleteHeader
public void clearUserTerritoryDeleteHeader() -
getUserTerritoryDeleteHeader
-
__setUserTerritoryDeleteHeader
-
setDuplicateRuleHeader
public void setDuplicateRuleHeader(boolean allowSave, boolean includeRecordDetails, boolean runAsCurrentUser) -
clearDuplicateRuleHeader
public void clearDuplicateRuleHeader() -
getDuplicateRuleHeader
-
__setDuplicateRuleHeader
-
describeAllTabs
- 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
- Throws:
ConnectionException
-
process
- Throws:
ConnectionException
-
describeGlobal
- Throws:
ConnectionException
-
getUserInfo
- Throws:
ConnectionException
-
describeGlobalTheme
- 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
- 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
- Throws:
ConnectionException
-
describeSObjectListViews
public DescribeSoqlListViewResult describeSObjectListViews(String sObjectType, boolean recentsOnly, ListViewIsSoqlCompatible isSoqlCompatible, int limit, int offset) throws ConnectionException - Throws:
ConnectionException
-
delete
- Throws:
ConnectionException
-
login
- Throws:
ConnectionException
-
queryAll
- Throws:
ConnectionException
-
update
- Throws:
ConnectionException
-
emptyRecycleBin
- 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
- Throws:
ConnectionException
-
retrieveMassQuickActionTemplates
public QuickActionTemplateResult[] retrieveMassQuickActionTemplates(String quickActionName, String[] contextIds) throws ConnectionException - Throws:
ConnectionException
-
search
- Throws:
ConnectionException
-
sendEmail
- Throws:
ConnectionException
-
getUpdated
public GetUpdatedResult getUpdated(String sObjectType, Calendar startDate, Calendar endDate) throws ConnectionException - Throws:
ConnectionException
-
sendEmailMessage
- 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
- Throws:
ConnectionException
-
describeQuickActions
public DescribeQuickActionResult[] describeQuickActions(String[] quickActions) throws ConnectionException - Throws:
ConnectionException
-
performQuickActions
public PerformQuickActionResult[] performQuickActions(PerformQuickActionRequest[] quickActions) throws ConnectionException - Throws:
ConnectionException
-
describeSObjects
- Throws:
ConnectionException
-
describeKnowledgeSettings
- Throws:
ConnectionException
-
undelete
- Throws:
ConnectionException
-
retrieve
public SObject[] retrieve(String fieldList, String sObjectType, String[] ids) throws ConnectionException - Throws:
ConnectionException
-
describeTheme
- Throws:
ConnectionException
-
deleteByExample
- Throws:
ConnectionException
-
describeNouns
public DescribeNounResult[] describeNouns(String[] nouns, boolean onlyRenamed, boolean includeFields) throws ConnectionException - Throws:
ConnectionException
-
findDuplicatesByIds
- 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
- Throws:
ConnectionException
-
getServerTimestamp
- Throws:
ConnectionException
-
retrieveQuickActionTemplates
public QuickActionTemplateResult[] retrieveQuickActionTemplates(String[] quickActionNames, String contextId) throws ConnectionException - Throws:
ConnectionException
-
setPassword
- Throws:
ConnectionException
-
resetPassword
- Throws:
ConnectionException
-
describeSoftphoneLayout
- Throws:
ConnectionException
-
create
- Throws:
ConnectionException
-
describeSearchLayouts
public DescribeSearchLayoutResult[] describeSearchLayouts(String[] sObjectType) throws ConnectionException - Throws:
ConnectionException
-
merge
- Throws:
ConnectionException
-
invalidateSessions
public InvalidateSessionsResult[] invalidateSessions(String[] sessionIds) throws ConnectionException - Throws:
ConnectionException
-
describeListViews
- Throws:
ConnectionException
-
describeDataCategoryMappings
public DescribeDataCategoryMappingResult[] describeDataCategoryMappings() throws ConnectionException- Throws:
ConnectionException
-
logout
- Throws:
ConnectionException
-
describeSearchScopeOrder
public DescribeSearchScopeOrderResult[] describeSearchScopeOrder(boolean includeRealTimeEntities) throws ConnectionException - Throws:
ConnectionException
-
addExtraHeader
-
removeExtraHeader
-
getExtraHeader
-
clearExtraHeaders
public void clearExtraHeaders()
-