@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultControllingAreaService") public class DefaultControllingAreaService extends Object implements ControllingAreaService
It contains the controlling area node. 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_CONTROLLINGAREA_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | ControllingArea |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultControllingAreaService()
Creates a service using
ControllingAreaService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultControllingAreaServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
ControllingAreaFluentHelper |
getAllControllingArea()
Fetch multiple
ControllingArea entities. |
ControllingAreaByKeyFluentHelper |
getControllingAreaByKey(String controllingArea)
Fetch a single
ControllingArea entity using key fields. |
DefaultControllingAreaService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultControllingAreaService()
ControllingAreaService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultControllingAreaService withServicePath(@Nonnull String servicePath)
ControllingAreaService
withServicePath
in interface ControllingAreaService
servicePath
- Service path that will override the default.@Nonnull public DefaultControllingAreaServiceBatch batch()
batch
in interface BatchService<ControllingAreaServiceBatch>
@Nonnull public ControllingAreaFluentHelper getAllControllingArea()
ControllingAreaService
ControllingArea
entities.getAllControllingArea
in interface ControllingAreaService
ControllingArea
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 ControllingAreaByKeyFluentHelper getControllingAreaByKey(String controllingArea)
ControllingAreaService
ControllingArea
entity using key fields.getControllingAreaByKey
in interface ControllingAreaService
controllingArea
- Controlling Area
Constraints: Not nullable, Maximum length: 4
ControllingArea
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.