@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDistributionChannelService") public class DefaultDistributionChannelService extends Object implements DistributionChannelService
This service enables you to display distribution channel master data to be consumed in SAP Fiori apps and on other user interfaces.
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: | Integration between SAP S/4HANA Cloud and 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 |
---|---|
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 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 ChannelConstraints: 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 ChannelConstraints: Not nullable, Maximum length: 2
language
- Language KeyConstraints: 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 © 2018 SAP SE. All rights reserved.