@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDefectClassService") public class DefaultDefectClassService extends Object implements DefectClassService
This service is related to the business object Defect. The defect class in Quality Management is based on a qualitative defect valuation according to impact, for example, critical defect or minor defect..
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 Discrete Manufacturing (1E1), Quality Management in Procurement (1FM), Quality Management in Sales (1MP), Quality Management in Stock Handling (1MR), Nonconformance Management (2QN) |
Authentication Methods: | Basic, x509, OAuth2 |
Business Object: | Defect |
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 |
---|---|
DefaultDefectClassServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
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 DefaultDefectClassServiceBatch batch()
batch
in interface BatchService<DefectClassServiceBatch>
@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
- Categorizes the possible defects into classes according to a defect valuation based on the results
caused by the defect.
Constraints: 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
- Categorizes the possible defects into classes according to a defect valuation based on the results
caused by the defect.
Constraints: Not nullable, Maximum length: 2
language
- The language key indicates
Constraints: 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 © 2021 SAP SE. All rights reserved.