| Package | Description |
|---|---|
| com.sforce.soap.tooling |
| Modifier and Type | Method and Description |
|---|---|
SessionHeader |
ObjectFactory.createSessionHeader()
Create an instance of
SessionHeader |
| Modifier and Type | Method and Description |
|---|---|
List<SaveResult> |
ToolingConnection.create(List<SObject> sObjects,
SessionHeader sessionHeader,
MetadataWarningsHeader metadataWarningsHeader,
AllOrNoneHeader allOrNoneHeader,
CallOptions callOptions)
Create a set of new sObjects
|
List<DeleteResult> |
ToolingConnection.delete(List<String> ids,
SessionHeader sessionHeader,
MetadataWarningsHeader metadataWarningsHeader,
AllOrNoneHeader allOrNoneHeader,
CallOptions callOptions)
Delete a set of sObjects based on object id
|
DescribeGlobalResult |
ToolingConnection.describeGlobal(SessionHeader sessionHeader)
Describe the Global state
|
DescribeLayoutResult |
ToolingConnection.describeLayout(String type,
String layoutName,
List<String> recordTypeIds,
SessionHeader sessionHeader)
Describe the layout of the given sObject or the given actionable global page.
|
DescribeSObjectResult |
ToolingConnection.describeSObject(String type,
SessionHeader sessionHeader)
Describe an sObject
|
List<DescribeSObjectResult> |
ToolingConnection.describeSObjects(List<String> types,
SessionHeader sessionHeader)
Describe multiple sObjects (upto 100)
|
DescribeValueTypeResult |
ToolingConnection.describeValueType(String type,
SessionHeader sessionHeader)
Describe a complex value type
|
List<DescribeWorkitemActionResult> |
ToolingConnection.describeWorkitemActions(List<String> workitemIds,
SessionHeader sessionHeader)
Determine which actions are available for the given workitem
|
ExecuteAnonymousResult |
ToolingConnection.executeAnonymous(String string,
SessionHeader sessionHeader,
DebuggingHeader debuggingHeader,
PackageVersionHeader packageVersionHeader,
CallOptions callOptions,
AllowFieldTruncationHeader allowFieldTruncationHeader,
DisableFeedTrackingHeader disableFeedTrackingHeader,
Holder<DebuggingInfo> debuggingInfo)
Execute an anonymous Apex code block
|
GetDeletedResult |
ToolingConnection.getDeleted(String sObjectType,
XMLGregorianCalendar start,
XMLGregorianCalendar end,
SessionHeader sessionHeader)
Get the IDs for deleted sObjects
|
GetServerTimestampResult |
ToolingConnection.getServerTimestamp(SessionHeader sessionHeader)
Gets server timestamp
|
GetUpdatedResult |
ToolingConnection.getUpdated(String sObjectType,
XMLGregorianCalendar start,
XMLGregorianCalendar end,
SessionHeader sessionHeader)
Get the IDs for updated sObjects
|
GetUserInfoResult |
ToolingConnection.getUserInfo(SessionHeader sessionHeader)
Returns standard information relevant to the current user
|
void |
ToolingConnection.logout(SessionHeader sessionHeader)
Logout the current user, invalidating the current session.
|
QueryResult |
ToolingConnection.query(String queryString,
SessionHeader sessionHeader,
CallOptions callOptions)
Create a Query Cursor
|
QueryResult |
ToolingConnection.queryAll(String queryString,
SessionHeader sessionHeader,
CallOptions callOptions)
Create a Query Cursor, including deleted sObjects
|
QueryResult |
ToolingConnection.queryMore(String queryLocator,
SessionHeader sessionHeader,
CallOptions callOptions)
Gets the next batch of sObjects from a query
|
List<SObject> |
ToolingConnection.retrieve(String select,
String type,
List<String> ids,
SessionHeader sessionHeader,
CallOptions callOptions)
Get a set of sObjects
|
RunTestsResult |
ToolingConnection.runTests(RunTestsRequest runTestsRequest,
SessionHeader sessionHeader,
DebuggingHeader debuggingHeader,
CallOptions callOptions,
Holder<DebuggingInfo> debuggingInfo)
Execute test methods
|
String |
ToolingConnection.runTestsAsynchronous(String string,
SessionHeader sessionHeader,
DebuggingHeader debuggingHeader,
CallOptions callOptions,
Holder<DebuggingInfo> debuggingInfo)
Execute asynchronous runTests
|
SearchResult |
ToolingConnection.search(String searchString,
SessionHeader sessionHeader,
CallOptions callOptions)
Search for sObjects
|
SetPasswordResult |
ToolingConnection.setPassword(String userId,
String password,
SessionHeader sessionHeader)
Set a user's password
|
List<SaveResult> |
ToolingConnection.update(List<SObject> sObjects,
SessionHeader sessionHeader,
MetadataWarningsHeader metadataWarningsHeader,
AllOrNoneHeader allOrNoneHeader,
CallOptions callOptions)
Update a set of sObjects
|
List<UpsertResult> |
ToolingConnection.upsert(String fieldName,
List<SObject> entities,
SessionHeader sessionHeader,
MetadataWarningsHeader metadataWarningsHeader,
AllOrNoneHeader allOrNoneHeader,
CallOptions callOptions)
Update or insert a set of sObjects based on object id
|
Copyright © 2016. All rights reserved.