@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBusinessEventSubscriptionService") public class DefaultBusinessEventSubscriptionService extends Object implements BusinessEventSubscriptionService
Business Events - Subscription Service.
Reference: SAP API Business Hub
OData Service: | CA_BEH_SUBSCRIPTION_SRV |
API Version: | 1 |
Communication Scenario: | Business Event Handling Integration (SAP_COM_0121) |
Scope Items: | Business Object Event Handling (1NN) |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultBusinessEventSubscriptionService()
Creates a service using
BusinessEventSubscriptionService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultBusinessEventSubscriptionService()
BusinessEventSubscriptionService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultBusinessEventSubscriptionService withServicePath(@Nonnull String servicePath)
BusinessEventSubscriptionService
withServicePath
in interface BusinessEventSubscriptionService
servicePath
- Service path that will override the default.@Nonnull public SubscriptionMaintainFluentHelper getAllSubscriptionMaintain()
BusinessEventSubscriptionService
SubscriptionMaintain
entities.getAllSubscriptionMaintain
in interface BusinessEventSubscriptionService
SubscriptionMaintain
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SubscriptionMaintainByKeyFluentHelper getSubscriptionMaintainByKey(String busEventSubscriberCode, String sAPObjectType, String sAPObjectTaskCode)
BusinessEventSubscriptionService
SubscriptionMaintain
entity using key fields.getSubscriptionMaintainByKey
in interface BusinessEventSubscriptionService
busEventSubscriberCode
- Indicates the unique identification that you use to maintain the business object subscriptions
Constraints: Not nullable, Maximum length: 4
sAPObjectType
- Indicates the name of the business object type.
Constraints: Not nullable, Maximum length: 30
sAPObjectTaskCode
- SAP Object Task Code
Constraints: Not nullable, Maximum length: 18
SubscriptionMaintain
entity 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 the
execute
method on the fluent helper object.@Nonnull public SubscriptionMaintainCreateFluentHelper createSubscriptionMaintain(@Nonnull SubscriptionMaintain subscriptionMaintain)
BusinessEventSubscriptionService
SubscriptionMaintain
entity and save it to the S/4HANA system.createSubscriptionMaintain
in interface BusinessEventSubscriptionService
subscriptionMaintain
- SubscriptionMaintain
entity object that will be created in the S/4HANA system.SubscriptionMaintain
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SubscriptionMaintainUpdateFluentHelper updateSubscriptionMaintain(@Nonnull SubscriptionMaintain subscriptionMaintain)
BusinessEventSubscriptionService
SubscriptionMaintain
entity and save it to the S/4HANA system.updateSubscriptionMaintain
in interface BusinessEventSubscriptionService
subscriptionMaintain
- SubscriptionMaintain
entity object that will be updated in the S/4HANA system.SubscriptionMaintain
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SubscriptionReadFluentHelper getAllSubscriptionRead()
BusinessEventSubscriptionService
SubscriptionRead
entities.getAllSubscriptionRead
in interface BusinessEventSubscriptionService
SubscriptionRead
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SubscriptionReadByKeyFluentHelper getSubscriptionReadByKey(String busEventSubscriberCode, String sAPObjectType, String sAPObjectTaskCode)
BusinessEventSubscriptionService
SubscriptionRead
entity using key fields.getSubscriptionReadByKey
in interface BusinessEventSubscriptionService
busEventSubscriberCode
- Indicates the unique identification that you use to maintain the business object subscriptions
Constraints: Not nullable, Maximum length: 4
sAPObjectType
- Indicates the name of the business object type.
Constraints: Not nullable, Maximum length: 30
sAPObjectTaskCode
- SAP Object Task Code
Constraints: Not nullable, Maximum length: 18
SubscriptionRead
entity 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 the
execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.