@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultProductGroupService") public class DefaultProductGroupService extends Object implements ProductGroupService
The service contains product group and product group text nodes.
Reference: SAP API Business Hub
OData Service: | API_PRODUCTGROUP_SRV |
API Version: | 1 |
Communication Scenario: | SAP Analytics Cloud for Planning Integration (SAP_COM_0087) |
Scope Items: | Import Connection setup with SAP Analytics Cloud (1YB) |
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
- Key that you use to group together several products or services with the same attributes, and to
assign them to a particular 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
- Key that you use to group together several products or services with the same attributes, and to
assign them to a particular product group.
Constraints: Not nullable, Maximum length: 9
language
- The language key indicates
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.