@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultAllergenStatementService") public class DefaultAllergenStatementService extends Object implements AllergenStatementService
This service reads which specification types are assigned to category ALLERGEN, and can retrieve exception value information from Customizing regarding the associated specification type. You can use the Allergen - Read API to read the header data and description of allergens. .
Reference: SAP API Business Hub
OData Service: | OP_API_ALLERGENSTATEMENT_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Allergen |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultAllergenStatementService()
Creates a service using
AllergenStatementService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultAllergenStatementServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
AllergenStatementFluentHelper |
getAllAllergenStatement()
Fetch multiple
AllergenStatement entities. |
AllergenStatementTextFluentHelper |
getAllAllergenStatementText()
Fetch multiple
AllergenStatementText entities. |
AllergenStatementByKeyFluentHelper |
getAllergenStatementByKey(String allergenStatement)
Fetch a single
AllergenStatement entity using key fields. |
AllergenStatementTextByKeyFluentHelper |
getAllergenStatementTextByKey(String allergenStatement,
String language)
Fetch a single
AllergenStatementText entity using key fields. |
DefaultAllergenStatementService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultAllergenStatementService()
AllergenStatementService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultAllergenStatementService withServicePath(@Nonnull String servicePath)
AllergenStatementService
withServicePath
in interface AllergenStatementService
servicePath
- Service path that will override the default.@Nonnull public DefaultAllergenStatementServiceBatch batch()
batch
in interface BatchService<AllergenStatementServiceBatch>
@Nonnull public AllergenStatementFluentHelper getAllAllergenStatement()
AllergenStatementService
AllergenStatement
entities.getAllAllergenStatement
in interface AllergenStatementService
AllergenStatement
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 AllergenStatementByKeyFluentHelper getAllergenStatementByKey(String allergenStatement)
AllergenStatementService
AllergenStatement
entity using key fields.getAllergenStatementByKey
in interface AllergenStatementService
allergenStatement
- Allergen Statement
Constraints: Not nullable, Maximum length: 2
AllergenStatement
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 AllergenStatementTextFluentHelper getAllAllergenStatementText()
AllergenStatementService
AllergenStatementText
entities.getAllAllergenStatementText
in interface AllergenStatementService
AllergenStatementText
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 AllergenStatementTextByKeyFluentHelper getAllergenStatementTextByKey(String allergenStatement, String language)
AllergenStatementService
AllergenStatementText
entity using key fields.getAllergenStatementTextByKey
in interface AllergenStatementService
allergenStatement
- Allergen Statement
Constraints: Not nullable, Maximum length: 2
language
- Language Key
Constraints: Not nullable, Maximum length: 2
AllergenStatementText
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.