@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDefectClassService") public class DefaultDefectClassService extends Object implements 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) |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultDefectClassService()
Creates a service using
DefectClassService.DEFAULT_SERVICE_PATH to send the requests. |
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. |
DefaultDefectClassService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultDefectClassService()
DefectClassService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultDefectClassService withServicePath(@Nonnull String servicePath)
DefectClassService
withServicePath
in interface DefectClassService
servicePath
- Service path that will override the default.@Nonnull public DefectClassFluentHelper getAllDefectClass()
DefectClassService
DefectClass
entities.getAllDefectClass
in interface DefectClassService
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 public DefectClassByKeyFluentHelper getDefectClassByKey(String defectClass)
DefectClassService
DefectClass
entity using key fields.getDefectClassByKey
in interface DefectClassService
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 public DefectClassTextFluentHelper getAllDefectClassText()
DefectClassService
DefectClassText
entities.getAllDefectClassText
in interface DefectClassService
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 public DefectClassTextByKeyFluentHelper getDefectClassTextByKey(String defectClass, String language)
DefectClassService
DefectClassText
entity using key fields.getDefectClassTextByKey
in interface DefectClassService
defectClass
- Defect ClassConstraints: Not nullable, Maximum length: 2
language
- Language KeyConstraints: 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.