public interface DefectClassService
This service enables you to read defect classes and their language-dependent texts from the SAP S/4HANA Cloud system. It is part of the integration scenario Defect Processing Integration.
Reference: SAP API Business Hub
OData Service: | API_DEFECTCLASS_SRV |
API Version: | 1 |
Communication Scenario: | Defect Processing Integration (SAP_COM_0153) |
Scope Items: | Quality Management in Stock Handling (1MR) |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
DefectClassFluentHelper |
getAllDefectClass()
Fetch multiple
DefectClass entities. |
DefectClassTextFluentHelper |
getAllDefectClassText()
Fetch multiple
DefectClassText entities. |
DefectClassByKeyFluentHelper |
getDefectClassByKey(String defectClass)
Fetch a single
DefectClass entity using key fields. |
DefectClassTextByKeyFluentHelper |
getDefectClassTextByKey(String defectClass,
String language)
Fetch a single
DefectClassText entity using key fields. |
DefectClassService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path used to access the endpoint.DefectClassService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull DefectClassFluentHelper getAllDefectClass()
DefectClass
entities.DefectClass
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 DefectClassByKeyFluentHelper getDefectClassByKey(String defectClass)
DefectClass
entity using key fields.defectClass
- Defect ClassConstraints: Not nullable, Maximum length: 2
DefectClass
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 DefectClassTextFluentHelper getAllDefectClassText()
DefectClassText
entities.DefectClassText
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 DefectClassTextByKeyFluentHelper getDefectClassTextByKey(String defectClass, String language)
DefectClassText
entity using key fields.language
- Language KeyConstraints: Not nullable, Maximum length: 2
defectClass
- Defect ClassConstraints: Not nullable, Maximum length: 2
DefectClassText
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 © 2018 SAP SE. All rights reserved.