@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultFunctionalAreaService") public class DefaultFunctionalAreaService extends Object implements FunctionalAreaService
It contains functional area and functional area text nodes. This service is based on the OData protocol and can be consumed in Fiori apps and on other user interfaces..
Reference: SAP API Business Hub
OData Service: | OP_API_FUNCTIONALAREA_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Functional Area |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultFunctionalAreaService()
Creates a service using
FunctionalAreaService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultFunctionalAreaServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
FunctionalAreaFluentHelper |
getAllFunctionalArea()
Fetch multiple
FunctionalArea entities. |
FunctionalAreaTextFluentHelper |
getAllFunctionalAreaText()
Fetch multiple
FunctionalAreaText entities. |
FunctionalAreaByKeyFluentHelper |
getFunctionalAreaByKey(String functionalArea)
Fetch a single
FunctionalArea entity using key fields. |
FunctionalAreaTextByKeyFluentHelper |
getFunctionalAreaTextByKey(String language,
String functionalArea)
Fetch a single
FunctionalAreaText entity using key fields. |
DefaultFunctionalAreaService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultFunctionalAreaService()
FunctionalAreaService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultFunctionalAreaService withServicePath(@Nonnull String servicePath)
FunctionalAreaService
withServicePath
in interface FunctionalAreaService
servicePath
- Service path that will override the default.@Nonnull public DefaultFunctionalAreaServiceBatch batch()
batch
in interface BatchService<FunctionalAreaServiceBatch>
@Nonnull public FunctionalAreaFluentHelper getAllFunctionalArea()
FunctionalAreaService
FunctionalArea
entities.getAllFunctionalArea
in interface FunctionalAreaService
FunctionalArea
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 FunctionalAreaByKeyFluentHelper getFunctionalAreaByKey(String functionalArea)
FunctionalAreaService
FunctionalArea
entity using key fields.getFunctionalAreaByKey
in interface FunctionalAreaService
functionalArea
- Functional Area
Constraints: Not nullable, Maximum length: 16
FunctionalArea
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 FunctionalAreaTextFluentHelper getAllFunctionalAreaText()
FunctionalAreaService
FunctionalAreaText
entities.getAllFunctionalAreaText
in interface FunctionalAreaService
FunctionalAreaText
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 FunctionalAreaTextByKeyFluentHelper getFunctionalAreaTextByKey(String language, String functionalArea)
FunctionalAreaService
FunctionalAreaText
entity using key fields.getFunctionalAreaTextByKey
in interface FunctionalAreaService
language
- Language Key
Constraints: Not nullable, Maximum length: 2
functionalArea
- Functional Area
Constraints: Not nullable, Maximum length: 16
FunctionalAreaText
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.