public class SFAsyncOperationsEntity extends SFEntitiesBase
client| Constructor and Description |
|---|
SFAsyncOperationsEntity(ISFApiClient client) |
| Modifier and Type | Method and Description |
|---|---|
ISFQuery<SFAsyncOperation> |
cancel(java.net.URI url)
Cancel AsyncOperation
Cancels a single Async operation record
|
ISFQuery<SFODataFeed<SFAsyncOperation>> |
cancelBatch(java.lang.String id)
Cancel an Operation Batch
Cancel an Async Operation batch - all unfinished Async Operation records in that batch
will be moved to Cancelled state.
|
ISFQuery<SFAsyncOperation> |
create(SFAsyncOperation asyncOp) |
ISFQuery |
delete(java.net.URI url)
Delete AsyncOperation
Cancels a single Async operation record (same as /Cancel)
|
ISFQuery<SFAsyncOperation> |
get(java.net.URI url)
Get AsyncOperation by ID
Retrieve a single Async Op record by ID
|
ISFQuery<SFAsyncOperation> |
getBatch(java.lang.String id)
Get the progress of the AsyncOperations by Opertaion Batch ID
|
ISFQuery<SFODataFeed<SFAsyncOperation>> |
getByBatch(java.lang.String id)
Get List of AsyncOperations by Operation Batch ID
Retrieves all AsyncOperations on the specified batch
|
ISFQuery<SFODataFeed<SFAsyncOperation>> |
getByFolder(java.lang.String id)
Get List of AsyncOperations by Folder
Retrieves all AsyncOperations associated with the calling user and the Item ID
|
ISFQuery<SFAsyncOperation> |
update(java.net.URI url,
SFAsyncOperation newAsyncOp)
Changes the state of an AsyncOperation
{ "State": "..." }
Only the State parameter is updated, other fields are ignored
|
getEntitypublic SFAsyncOperationsEntity(ISFApiClient client)
public ISFQuery<SFAsyncOperation> get(java.net.URI url) throws InvalidOrMissingParameterException
url - InvalidOrMissingParameterExceptionpublic ISFQuery<SFODataFeed<SFAsyncOperation>> getByBatch(java.lang.String id) throws InvalidOrMissingParameterException
id - InvalidOrMissingParameterExceptionpublic ISFQuery<SFAsyncOperation> getBatch(java.lang.String id) throws InvalidOrMissingParameterException
id - InvalidOrMissingParameterExceptionpublic ISFQuery<SFODataFeed<SFAsyncOperation>> getByFolder(java.lang.String id) throws InvalidOrMissingParameterException
id - InvalidOrMissingParameterExceptionpublic ISFQuery<SFAsyncOperation> create(SFAsyncOperation asyncOp) throws InvalidOrMissingParameterException
public ISFQuery<SFAsyncOperation> cancel(java.net.URI url) throws InvalidOrMissingParameterException
url - InvalidOrMissingParameterExceptionpublic ISFQuery delete(java.net.URI url) throws InvalidOrMissingParameterException
url - InvalidOrMissingParameterExceptionpublic ISFQuery<SFODataFeed<SFAsyncOperation>> cancelBatch(java.lang.String id) throws InvalidOrMissingParameterException
id - InvalidOrMissingParameterExceptionpublic ISFQuery<SFAsyncOperation> update(java.net.URI url, SFAsyncOperation newAsyncOp) throws InvalidOrMissingParameterException
url - newAsyncOp - InvalidOrMissingParameterException