public class DefaultDataHubOutboundClient extends java.lang.Object implements DataHubOutboundClient
| Modifier | Constructor and Description |
|---|---|
|
DefaultDataHubOutboundClient()
Instantiates this client.
|
protected |
DefaultDataHubOutboundClient(Client cl) |
|
DefaultDataHubOutboundClient(ClientConfiguration cfg) |
| Modifier and Type | Method and Description |
|---|---|
ResultData |
deleteByFeed(java.lang.String feedName,
java.lang.String rawItemType)
Deletes all items originating from the data feed and raw item type specified
|
ResultData |
deleteByFeed(java.lang.String feedName,
java.lang.String rawItemType,
java.util.Map<java.lang.String,java.lang.Object> keyFields)
Deletes item with an integration key comprised of the specified primary keys, originating from the data feed and
raw item type specified
|
ResultData |
deleteItem(java.lang.String poolName,
java.lang.String canonicalItemType,
java.util.Map<java.lang.String,java.lang.String> keyFields)
Deletes item with an integration key comprised of the specified primary keys, of the type specified, in the pool
specified on the Data Hub server
|
ResultData |
exportData(java.lang.String[] csvContent,
java.lang.String dataFeed,
java.lang.String rawItemType) |
void |
setDataHubUrl(java.lang.String dataHubUrl)
Specifies DataHub location.
|
void |
setRetryTemplate(RetryTemplate retryTemplate) |
public DefaultDataHubOutboundClient()
protected DefaultDataHubOutboundClient(Client cl)
public DefaultDataHubOutboundClient(ClientConfiguration cfg)
public ResultData exportData(java.lang.String[] csvContent, java.lang.String dataFeed, java.lang.String rawItemType) throws DataHubCommunicationException
exportData in interface DataHubOutboundClientcsvContent - the CSV contentdataFeed - the name of the data feedrawItemType - the raw item typeDataHubCommunicationException - if communication with the Data Hub server failedpublic ResultData deleteItem(java.lang.String poolName, java.lang.String canonicalItemType, java.util.Map<java.lang.String,java.lang.String> keyFields) throws DataHubCommunicationException
DataHubOutboundClientdeleteItem in interface DataHubOutboundClientpoolName - name of the data pool the item to be deleted resides incanonicalItemType - type code for the canonical item to deletekeyFields - map of primary key attribute names and values to uniquely identify the item to be deletedDataHubCommunicationException - if communication with the Data Hub server failedpublic ResultData deleteByFeed(java.lang.String feedName, java.lang.String rawItemType) throws DataHubCommunicationException
DataHubOutboundClientdeleteByFeed in interface DataHubOutboundClientfeedName - Name of the data feed the items originated fromrawItemType - Name of the raw item type the items originated fromDataHubCommunicationException - if communication with the Data Hub server failedpublic ResultData deleteByFeed(java.lang.String feedName, java.lang.String rawItemType, java.util.Map<java.lang.String,java.lang.Object> keyFields) throws DataHubCommunicationException
DataHubOutboundClientdeleteByFeed in interface DataHubOutboundClientfeedName - Name of the data feed the items originated fromrawItemType - Name of the raw item type the items originated fromkeyFields - Map of primary key attribute names and values to uniquely identify the item to be deletedDataHubCommunicationException - if communication with the Data Hub server failedpublic void setRetryTemplate(RetryTemplate retryTemplate)
public void setDataHubUrl(java.lang.String dataHubUrl)
dataHubUrl - URL for the DataHub server to exchange data with.Copyright © 2018 SAP SE. All Rights Reserved.