@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDefectCategoryService") public class DefaultDefectCategoryService extends Object implements DefectCategoryService
This service enables you to read defect categories 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_DEFECTCATEGORY_SRV |
API Version: | 1 |
Communication Scenario: | Defect Processing Integration (SAP_COM_0153) |
Scope Items: | Quality Management in Stock Handling (1MR) |
Constructor and Description |
---|
DefaultDefectCategoryService() |
Modifier and Type | Method and Description |
---|---|
DefectCategoryFluentHelper |
getAllDefectCategory()
Fetch multiple
DefectCategory entities. |
DefectCategoryTextFluentHelper |
getAllDefectCategoryText()
Fetch multiple
DefectCategoryText entities. |
DefectCategoryByKeyFluentHelper |
getDefectCategoryByKey(String defectCategory)
Fetch a single
DefectCategory entity using key fields. |
DefectCategoryTextByKeyFluentHelper |
getDefectCategoryTextByKey(String defectCategory,
String language)
Fetch a single
DefectCategoryText entity using key fields. |
public DefectCategoryFluentHelper getAllDefectCategory()
DefectCategoryService
DefectCategory
entities.getAllDefectCategory
in interface DefectCategoryService
DefectCategory
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.public DefectCategoryByKeyFluentHelper getDefectCategoryByKey(String defectCategory)
DefectCategoryService
DefectCategory
entity using key fields.getDefectCategoryByKey
in interface DefectCategoryService
defectCategory
- Defect CategoryConstraints: Not nullable, Maximum length: 2
DefectCategory
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.public DefectCategoryTextFluentHelper getAllDefectCategoryText()
DefectCategoryService
DefectCategoryText
entities.getAllDefectCategoryText
in interface DefectCategoryService
DefectCategoryText
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.public DefectCategoryTextByKeyFluentHelper getDefectCategoryTextByKey(String defectCategory, String language)
DefectCategoryService
DefectCategoryText
entity using key fields.getDefectCategoryTextByKey
in interface DefectCategoryService
defectCategory
- Defect CategoryConstraints: Not nullable, Maximum length: 2
language
- Language KeyConstraints: Not nullable, Maximum length: 2
DefectCategoryText
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.