@Named public class DefaultReadDefectCategoriesService extends Object implements ReadDefectCategoriesService
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 |
---|
DefaultReadDefectCategoriesService() |
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()
ReadDefectCategoriesService
DefectCategory
entities.getAllDefectCategory
in interface ReadDefectCategoriesService
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)
ReadDefectCategoriesService
DefectCategory
entity using key fields.getDefectCategoryByKey
in interface ReadDefectCategoriesService
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()
ReadDefectCategoriesService
DefectCategoryText
entities.getAllDefectCategoryText
in interface ReadDefectCategoriesService
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)
ReadDefectCategoriesService
DefectCategoryText
entity using key fields.getDefectCategoryTextByKey
in interface ReadDefectCategoriesService
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 © 2017 SAP SE. All rights reserved.