@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultProductGroupService") public class DefaultProductGroupService extends Object implements ProductGroupService
It contains product group and product group 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_PRODUCTGROUP_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultProductGroupService()
Creates a service using
ProductGroupService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultProductGroupServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
ProductGroupFluentHelper |
getAllProductGroup()
Fetch multiple
ProductGroup entities. |
ProductGroupTextFluentHelper |
getAllProductGroupText()
Fetch multiple
ProductGroupText entities. |
ProductGroupByKeyFluentHelper |
getProductGroupByKey(String materialGroup)
Fetch a single
ProductGroup entity using key fields. |
ProductGroupTextByKeyFluentHelper |
getProductGroupTextByKey(String materialGroup,
String language)
Fetch a single
ProductGroupText entity using key fields. |
DefaultProductGroupService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultProductGroupService()
ProductGroupService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultProductGroupService withServicePath(@Nonnull String servicePath)
ProductGroupService
withServicePath
in interface ProductGroupService
servicePath
- Service path that will override the default.@Nonnull public DefaultProductGroupServiceBatch batch()
batch
in interface BatchService<ProductGroupServiceBatch>
@Nonnull public ProductGroupFluentHelper getAllProductGroup()
ProductGroupService
ProductGroup
entities.getAllProductGroup
in interface ProductGroupService
ProductGroup
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 ProductGroupByKeyFluentHelper getProductGroupByKey(String materialGroup)
ProductGroupService
ProductGroup
entity using key fields.getProductGroupByKey
in interface ProductGroupService
materialGroup
- Product Group
Constraints: Not nullable, Maximum length: 9
ProductGroup
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 ProductGroupTextFluentHelper getAllProductGroupText()
ProductGroupService
ProductGroupText
entities.getAllProductGroupText
in interface ProductGroupService
ProductGroupText
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 ProductGroupTextByKeyFluentHelper getProductGroupTextByKey(String materialGroup, String language)
ProductGroupService
ProductGroupText
entity using key fields.getProductGroupTextByKey
in interface ProductGroupService
materialGroup
- Product Group
Constraints: Not nullable, Maximum length: 9
language
- Language Key
Constraints: Not nullable, Maximum length: 2
ProductGroupText
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.