@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDistributionChannelService") public class DefaultDistributionChannelService extends Object implements DistributionChannelService
The service contains the distribution channel and distribution channel text nodes.
Reference: SAP API Business Hub
OData Service: | API_DISTRIBUTIONCHANNEL_SRV |
API Version: | 1 |
Communication Scenario: | SAP Analytics Cloud for Planning Integration (SAP_COM_0087) |
Scope Items: | Import Connection setup with SAP Analytics Cloud (1YB) |
Authentication Methods: | Basic, x509 |
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
- The way in which products or services reach the customer. Typical examples of distribution channels
are wholesale, retail, or direct sales.
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
- The way in which products or services reach the customer. Typical examples of distribution channels
are wholesale, retail, or direct sales.
Constraints: Not nullable, Maximum length: 2
language
- The language key indicates
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.