@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultDistributionChannelService") public class DefaultDistributionChannelService extends Object implements DistributionChannelService
It contains the distribution channel and distribution channel text nodes. This service is based on the OData protocol and can be consumed in Fiori apps and on other user interfaces..
Reference: SAP API Business Hub
OData Service: | OP_API_DISTRIBUTIONCHANNEL_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Distribution Channel |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultDistributionChannelService()
Creates a service using
DistributionChannelService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultDistributionChannelServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
DistributionChannelFluentHelper |
getAllDistributionChannel()
Fetch multiple
DistributionChannel entities. |
DistributionChannelTextFluentHelper |
getAllDistributionChannelText()
Fetch multiple
DistributionChannelText entities. |
DistributionChannelByKeyFluentHelper |
getDistributionChannelByKey(String distributionChannel)
Fetch a single
DistributionChannel entity using key fields. |
DistributionChannelTextByKeyFluentHelper |
getDistributionChannelTextByKey(String distributionChannel,
String language)
Fetch a single
DistributionChannelText entity using key fields. |
DefaultDistributionChannelService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultDistributionChannelService()
DistributionChannelService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultDistributionChannelService withServicePath(@Nonnull String servicePath)
DistributionChannelService
withServicePath
in interface DistributionChannelService
servicePath
- Service path that will override the default.@Nonnull public DefaultDistributionChannelServiceBatch batch()
batch
in interface BatchService<DistributionChannelServiceBatch>
@Nonnull public DistributionChannelFluentHelper getAllDistributionChannel()
DistributionChannelService
DistributionChannel
entities.getAllDistributionChannel
in interface DistributionChannelService
DistributionChannel
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 DistributionChannelByKeyFluentHelper getDistributionChannelByKey(String distributionChannel)
DistributionChannelService
DistributionChannel
entity using key fields.getDistributionChannelByKey
in interface DistributionChannelService
distributionChannel
- Distribution Channel
Constraints: Not nullable, Maximum length: 2
DistributionChannel
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 DistributionChannelTextFluentHelper getAllDistributionChannelText()
DistributionChannelService
DistributionChannelText
entities.getAllDistributionChannelText
in interface DistributionChannelService
DistributionChannelText
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 DistributionChannelTextByKeyFluentHelper getDistributionChannelTextByKey(String distributionChannel, String language)
DistributionChannelService
DistributionChannelText
entity using key fields.getDistributionChannelTextByKey
in interface DistributionChannelService
distributionChannel
- Distribution Channel
Constraints: Not nullable, Maximum length: 2
language
- Language Key
Constraints: Not nullable, Maximum length: 2
DistributionChannelText
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 © 2021 SAP SE. All rights reserved.