@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDivisionService") public class DefaultDivisionService extends Object implements DivisionService
The service contains division and division text nodes.
Reference: SAP API Business Hub
OData Service: | API_DIVISION_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 |
---|
DefaultDivisionService()
Creates a service using
DivisionService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultDivisionServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
DivisionFluentHelper |
getAllDivision()
Fetch multiple
Division entities. |
DivisionTextFluentHelper |
getAllDivisionText()
Fetch multiple
DivisionText
entities. |
DivisionByKeyFluentHelper |
getDivisionByKey(String division)
Fetch a single
Division entity
using key fields. |
DivisionTextByKeyFluentHelper |
getDivisionTextByKey(String division,
String language)
Fetch a single
DivisionText
entity using key fields. |
DefaultDivisionService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultDivisionService()
DivisionService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultDivisionService withServicePath(@Nonnull String servicePath)
DivisionService
withServicePath
in interface DivisionService
servicePath
- Service path that will override the default.@Nonnull public DefaultDivisionServiceBatch batch()
batch
in interface BatchService<DivisionServiceBatch>
@Nonnull public DivisionFluentHelper getAllDivision()
DivisionService
Division
entities.getAllDivision
in interface DivisionService
Division
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 DivisionByKeyFluentHelper getDivisionByKey(String division)
DivisionService
Division
entity
using key fields.getDivisionByKey
in interface DivisionService
division
- A way of grouping materials, products, or services. The system uses divisions to determine the sales
areas and the business areas for a material, product, or service.
Constraints: Not nullable, Maximum length: 2
Division
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 DivisionTextFluentHelper getAllDivisionText()
DivisionService
DivisionText
entities.getAllDivisionText
in interface DivisionService
DivisionText
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 DivisionTextByKeyFluentHelper getDivisionTextByKey(String division, String language)
DivisionService
DivisionText
entity using key fields.getDivisionTextByKey
in interface DivisionService
division
- A way of grouping materials, products, or services. The system uses divisions to determine the sales
areas and the business areas for a material, product, or service.
Constraints: Not nullable, Maximum length: 2
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
DivisionText
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 © 2020 SAP SE. All rights reserved.