public class AnalyticsTransactionManagerImpl extends Object implements TransactionManager
| Constructor and Description |
|---|
AnalyticsTransactionManagerImpl(SalesforceAnalyticsConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit(String parentId)
Tells to system that sending of data part was finished and the process of data sent should be started.
|
String |
create(String edgemartAlias,
String metadataJson,
String format,
DataSetConnectorOperation operation,
String edgemartContainer,
DataSetConnectorNotificationSent notificationSent,
String notificationEmail,
DataSetMode mode)
Creates a data set into salesforce system.
|
void |
delete(String dataSetId)
Tells to the system to delete the specified dataset
|
void |
sendDataPart(String parentId,
byte[] dataPart,
int dataPartNo,
org.mule.runtime.api.store.ObjectStore<Integer> simpleMemoryObjectStore)
Uploads a data part object (InsightsExternalDataPart) into salesforce system and associates it to an instance of parent object created by
|
public AnalyticsTransactionManagerImpl(SalesforceAnalyticsConnection connection)
public String create(String edgemartAlias, String metadataJson, String format, DataSetConnectorOperation operation, String edgemartContainer, DataSetConnectorNotificationSent notificationSent, String notificationEmail, DataSetMode mode)
create in interface TransactionManageredgemartAlias - - Alias of an data set, which must be unique across an organization.metadataJson - - json string containing metadata regarding data being sendformat - - format of data transferredoperation - - Indicates which database operation to use when loading data into the EdgeMart. Can be Append, Upsert, Overwrite, or Delete.edgemartContainer - - The name of the app that contains the dataset.notificationSent - - Indicates when to send notifications about the upload.notificationEmail - - The email address to send notifications to.public void sendDataPart(String parentId, byte[] dataPart, int dataPartNo, org.mule.runtime.api.store.ObjectStore<Integer> simpleMemoryObjectStore) throws IOException
sendDataPart in interface TransactionManagerparentId - - identifier of the parent to associate withdataPart - - data content in bytesdataPartNo - - current number of data partIOExceptionpublic void commit(String parentId)
commit in interface TransactionManagerparentId - - identifier of the parent object to be processedpublic void delete(String dataSetId)
delete in interface TransactionManagerdataSetId - - identifier of the dataset to be deletedCopyright © 2025 MuleSoft, Inc.. All rights reserved.