Class DefaultBusinessEventQueueService
- All Implemented Interfaces:
BatchService<BusinessEventQueueServiceBatch>,BusinessEventQueueService
The service reads business events from a queue for a given subscriber. The business event contains the type and the key of the object triggering the event and the action. There are appropriate checks for restricted values and authorizations. The system displays a failure message in the response if the entry is invalid..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | C_BEHQUEUEDATA_CDS |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | OpenText Business Event Integration(SAP_COM_0007), Business Event Handling Integration (Obsolete)(SAP_COM_0121) |
| Scope Items: | Business Event Handling(1NN) |
| Authentication Methods: | x509 |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.BusinessEventQueueService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingBusinessEventQueueService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleBehqueuedataentities.Deprecated.Fetch multipleBusinessObjectKeysentities.Deprecated.Fetch multipleBusObjectsentities.getBehqueuedataByKey(UUID businessEvent) Deprecated.Fetch a singleBehqueuedataentity using key fields.getBusinessObjectKeysByKey(String sAPObjectType) Deprecated.Fetch a singleBusinessObjectKeysentity using key fields.getBusObjectsByKey(String sAPObjectType, String sAPObjectTypeName, String sAPObjectTaskCode, String sAPObjectTaskTypeName) Deprecated.Fetch a singleBusObjectsentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultBusinessEventQueueService
public DefaultBusinessEventQueueService()Deprecated.Creates a service usingBusinessEventQueueService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:BusinessEventQueueServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceBusinessEventQueueService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<BusinessEventQueueServiceBatch>
-
getAllBehqueuedata
Deprecated.Description copied from interface:BusinessEventQueueServiceFetch multipleBehqueuedataentities.- Specified by:
getAllBehqueuedatain interfaceBusinessEventQueueService- Returns:
- A fluent helper to fetch multiple
Behqueuedataentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBehqueuedataByKey
Deprecated.Description copied from interface:BusinessEventQueueServiceFetch a singleBehqueuedataentity using key fields.- Specified by:
getBehqueuedataByKeyin interfaceBusinessEventQueueService- Parameters:
businessEvent- GUID of an EventConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
Behqueuedataentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllBusinessObjectKeys
Deprecated.Description copied from interface:BusinessEventQueueServiceFetch multipleBusinessObjectKeysentities.- Specified by:
getAllBusinessObjectKeysin interfaceBusinessEventQueueService- Returns:
- A fluent helper to fetch multiple
BusinessObjectKeysentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBusinessObjectKeysByKey
@Nonnull public BusinessObjectKeysByKeyFluentHelper getBusinessObjectKeysByKey(String sAPObjectType) Deprecated.Description copied from interface:BusinessEventQueueServiceFetch a singleBusinessObjectKeysentity using key fields.- Specified by:
getBusinessObjectKeysByKeyin interfaceBusinessEventQueueService- Parameters:
sAPObjectType- SAP Object TypeConstraints: Not nullable, Maximum length: 30
- Returns:
- A fluent helper to fetch a single
BusinessObjectKeysentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllBusObjects
Deprecated.Description copied from interface:BusinessEventQueueServiceFetch multipleBusObjectsentities.- Specified by:
getAllBusObjectsin interfaceBusinessEventQueueService- Returns:
- A fluent helper to fetch multiple
BusObjectsentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBusObjectsByKey
@Nonnull public BusObjectsByKeyFluentHelper getBusObjectsByKey(String sAPObjectType, String sAPObjectTypeName, String sAPObjectTaskCode, String sAPObjectTaskTypeName) Deprecated.Description copied from interface:BusinessEventQueueServiceFetch a singleBusObjectsentity using key fields.- Specified by:
getBusObjectsByKeyin interfaceBusinessEventQueueService- Parameters:
sAPObjectType- SAP Object TypeConstraints: Not nullable, Maximum length: 30
sAPObjectTypeName- SAP Object Type NameConstraints: Not nullable, Maximum length: 80
sAPObjectTaskCode- Business Event TypeConstraints: Not nullable, Maximum length: 18
sAPObjectTaskTypeName- SAP Object Task Type NameConstraints: Not nullable, Maximum length: 80
- Returns:
- A fluent helper to fetch a single
BusObjectsentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-