@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSalesDistrictService") public class DefaultSalesDistrictService extends Object implements SalesDistrictService
The service contains sales district and sales district text nodes.
Reference: SAP API Business Hub
OData Service: | API_SALESDISTRICT_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 |
---|
DefaultSalesDistrictService()
Creates a service using
SalesDistrictService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultSalesDistrictServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
SalesDistrictFluentHelper |
getAllSalesDistrict()
Fetch multiple
SalesDistrict entities. |
SalesDistrictTextFluentHelper |
getAllSalesDistrictText()
Fetch multiple
SalesDistrictText entities. |
SalesDistrictByKeyFluentHelper |
getSalesDistrictByKey(String salesDistrict)
Fetch a single
SalesDistrict entity using key fields. |
SalesDistrictTextByKeyFluentHelper |
getSalesDistrictTextByKey(String salesDistrict,
String language)
Fetch a single
SalesDistrictText entity using key fields. |
DefaultSalesDistrictService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultSalesDistrictService()
SalesDistrictService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultSalesDistrictService withServicePath(@Nonnull String servicePath)
SalesDistrictService
withServicePath
in interface SalesDistrictService
servicePath
- Service path that will override the default.@Nonnull public DefaultSalesDistrictServiceBatch batch()
batch
in interface BatchService<SalesDistrictServiceBatch>
@Nonnull public SalesDistrictFluentHelper getAllSalesDistrict()
SalesDistrictService
SalesDistrict
entities.getAllSalesDistrict
in interface SalesDistrictService
SalesDistrict
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 SalesDistrictByKeyFluentHelper getSalesDistrictByKey(String salesDistrict)
SalesDistrictService
SalesDistrict
entity using key fields.getSalesDistrictByKey
in interface SalesDistrictService
salesDistrict
- A geographical sales district or region.
Constraints: Not nullable, Maximum length: 6
SalesDistrict
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 SalesDistrictTextFluentHelper getAllSalesDistrictText()
SalesDistrictService
SalesDistrictText
entities.getAllSalesDistrictText
in interface SalesDistrictService
SalesDistrictText
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 SalesDistrictTextByKeyFluentHelper getSalesDistrictTextByKey(String salesDistrict, String language)
SalesDistrictService
SalesDistrictText
entity using key fields.getSalesDistrictTextByKey
in interface SalesDistrictService
salesDistrict
- A geographical sales district or region.
Constraints: Not nullable, Maximum length: 6
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
SalesDistrictText
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.