Class DefaultDivisionService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDivisionService
- All Implemented Interfaces:
BatchService<DivisionServiceBatch>,DivisionService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDivisionService")
@Deprecated
public class DefaultDivisionService
extends Object
implements DivisionService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
The service contains division and division text nodes.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_DIVISION_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | SAP Analytics Cloud for Planning Integration(SAP_COM_0087) |
| Scope Items: | Import Connection setup with SAP Analytics Cloud(1YB) |
| Authentication Methods: | x509 |
| Business Object: | Division |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.DivisionService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingDivisionService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleDivisionentities.Deprecated.Fetch multipleDivisionTextentities.getDivisionByKey(String division) Deprecated.Fetch a singleDivisionentity using key fields.getDivisionTextByKey(String division, String language) Deprecated.Fetch a singleDivisionTextentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultDivisionService
public DefaultDivisionService()Deprecated.Creates a service usingDivisionService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:DivisionServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceDivisionService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<DivisionServiceBatch>
-
getAllDivision
Deprecated.Description copied from interface:DivisionServiceFetch multipleDivisionentities.- Specified by:
getAllDivisionin interfaceDivisionService- Returns:
- A fluent helper to fetch multiple
Divisionentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getDivisionByKey
Deprecated.Description copied from interface:DivisionServiceFetch a singleDivisionentity using key fields.- Specified by:
getDivisionByKeyin interfaceDivisionService- Parameters:
division- DivisionConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
Divisionentity 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 theexecutemethod on the fluent helper object.
-
getAllDivisionText
Deprecated.Description copied from interface:DivisionServiceFetch multipleDivisionTextentities.- Specified by:
getAllDivisionTextin interfaceDivisionService- Returns:
- A fluent helper to fetch multiple
DivisionTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getDivisionTextByKey
@Nonnull public DivisionTextByKeyFluentHelper getDivisionTextByKey(String division, String language) Deprecated.Description copied from interface:DivisionServiceFetch a singleDivisionTextentity using key fields.- Specified by:
getDivisionTextByKeyin interfaceDivisionService- Parameters:
division- DivisionConstraints: Not nullable, Maximum length: 2
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
DivisionTextentity 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 theexecutemethod on the fluent helper object.
-