Class DefaultBusinessAreaService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBusinessAreaService
- All Implemented Interfaces:
BatchService<BusinessAreaServiceBatch>,BusinessAreaService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBusinessAreaService")
@Deprecated
public class DefaultBusinessAreaService
extends Object
implements BusinessAreaService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
The service enables you to retrieve business areas and their names in the respective language..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_BUSINESSAREA_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | SAP Analytics Cloud for Planning Integration(SAP_COM_0087), Finance - Cloud Consolidation Data Collection Integration(SAP_COM_0241) |
| Scope Items: | Import Connection setup with SAP Analytics Cloud(1YB), Group Reporting - Data from SAP Group Reporting Data Collection(287) |
| Authentication Methods: | x509 |
| Business Object: | BusinessArea |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.BusinessAreaService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingBusinessAreaService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleBusinessAreaentities.Deprecated.Fetch multipleBusinessAreaTextentities.getBusinessAreaByKey(String businessArea) Deprecated.Fetch a singleBusinessAreaentity using key fields.getBusinessAreaTextByKey(String businessArea, String language) Deprecated.Fetch a singleBusinessAreaTextentity 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
-
DefaultBusinessAreaService
public DefaultBusinessAreaService()Deprecated.Creates a service usingBusinessAreaService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:BusinessAreaServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceBusinessAreaService- 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<BusinessAreaServiceBatch>
-
getAllBusinessArea
Deprecated.Description copied from interface:BusinessAreaServiceFetch multipleBusinessAreaentities.- Specified by:
getAllBusinessAreain interfaceBusinessAreaService- Returns:
- A fluent helper to fetch multiple
BusinessAreaentities. 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.
-
getBusinessAreaByKey
Deprecated.Description copied from interface:BusinessAreaServiceFetch a singleBusinessAreaentity using key fields.- Specified by:
getBusinessAreaByKeyin interfaceBusinessAreaService- Parameters:
businessArea- Business AreaConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
BusinessAreaentity 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.
-
getAllBusinessAreaText
Deprecated.Description copied from interface:BusinessAreaServiceFetch multipleBusinessAreaTextentities.- Specified by:
getAllBusinessAreaTextin interfaceBusinessAreaService- Returns:
- A fluent helper to fetch multiple
BusinessAreaTextentities. 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.
-
getBusinessAreaTextByKey
@Nonnull public BusinessAreaTextByKeyFluentHelper getBusinessAreaTextByKey(String businessArea, String language) Deprecated.Description copied from interface:BusinessAreaServiceFetch a singleBusinessAreaTextentity using key fields.- Specified by:
getBusinessAreaTextByKeyin interfaceBusinessAreaService- Parameters:
businessArea- Business AreaConstraints: Not nullable, Maximum length: 4
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
BusinessAreaTextentity 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.
-