Interface BusinessEventSubscriptionService
- All Superinterfaces:
BatchService<BusinessEventSubscriptionServiceBatch>
- All Known Implementing Classes:
DefaultBusinessEventSubscriptionService
This service enables the caller to create a subscription for business events for a given subscriber. A subscription is required to activate the events so they are delivered to the event queue where they can be read. The information sent in the request as a payload is used to maintain a business events subscription, make the appropriate checks for restricted values and authorizations. Once an event subscription is maintained, the system displays a success or failure message in the response. # .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CA_BEH_SUBSCRIPTION_SRV |
| API Version: | 1.2.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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptioncreateSubscriptionMaintain(SubscriptionMaintain subscriptionMaintain) Deprecated.Create a newSubscriptionMaintainentity and save it to the S/4HANA system.Deprecated.Fetch multipleSubscriptionMaintainentities.Deprecated.Fetch multipleSubscriptionReadentities.getSubscriptionMaintainByKey(String busEventSubscriberCode, String sAPObjectType, String sAPObjectTaskCode) Deprecated.Fetch a singleSubscriptionMaintainentity using key fields.getSubscriptionReadByKey(String busEventSubscriberCode, String sAPObjectType, String sAPObjectTaskCode) Deprecated.Fetch a singleSubscriptionReadentity using key fields.updateSubscriptionMaintain(SubscriptionMaintain subscriptionMaintain) Deprecated.Update an existingSubscriptionMaintainentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
getAllSubscriptionMaintain
Deprecated.Fetch multipleSubscriptionMaintainentities.- Returns:
- A fluent helper to fetch multiple
SubscriptionMaintainentities. 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.
-
getSubscriptionMaintainByKey
@Nonnull SubscriptionMaintainByKeyFluentHelper getSubscriptionMaintainByKey(String busEventSubscriberCode, String sAPObjectType, String sAPObjectTaskCode) Deprecated.Fetch a singleSubscriptionMaintainentity using key fields.- Parameters:
busEventSubscriberCode- Subscriber IDConstraints: Not nullable, Maximum length: 4
sAPObjectTaskCode- SAP Object Task CodeConstraints: Not nullable, Maximum length: 18
sAPObjectType- SAP Object TypeConstraints: Not nullable, Maximum length: 30
- Returns:
- A fluent helper to fetch a single
SubscriptionMaintainentity 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.
-
createSubscriptionMaintain
@Nonnull SubscriptionMaintainCreateFluentHelper createSubscriptionMaintain(@Nonnull SubscriptionMaintain subscriptionMaintain) Deprecated.Create a newSubscriptionMaintainentity and save it to the S/4HANA system.- Parameters:
subscriptionMaintain-SubscriptionMaintainentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
SubscriptionMaintainentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateSubscriptionMaintain
@Nonnull SubscriptionMaintainUpdateFluentHelper updateSubscriptionMaintain(@Nonnull SubscriptionMaintain subscriptionMaintain) Deprecated.Update an existingSubscriptionMaintainentity and save it to the S/4HANA system.- Parameters:
subscriptionMaintain-SubscriptionMaintainentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
SubscriptionMaintainentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllSubscriptionRead
Deprecated.Fetch multipleSubscriptionReadentities.- Returns:
- A fluent helper to fetch multiple
SubscriptionReadentities. 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.
-
getSubscriptionReadByKey
@Nonnull SubscriptionReadByKeyFluentHelper getSubscriptionReadByKey(String busEventSubscriberCode, String sAPObjectType, String sAPObjectTaskCode) Deprecated.Fetch a singleSubscriptionReadentity using key fields.- Parameters:
busEventSubscriberCode- Subscriber IDConstraints: Not nullable, Maximum length: 4
sAPObjectTaskCode- SAP Object Task CodeConstraints: Not nullable, Maximum length: 18
sAPObjectType- SAP Object TypeConstraints: Not nullable, Maximum length: 30
- Returns:
- A fluent helper to fetch a single
SubscriptionReadentity 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.
-