@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) |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultDefectCategoryService()
Creates a service using
DefectCategoryService.DEFAULT_SERVICE_PATH to send the requests. |
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. |
DefaultDefectCategoryService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultDefectCategoryService()
DefectCategoryService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultDefectCategoryService withServicePath(@Nonnull String servicePath)
DefectCategoryService
withServicePath
in interface DefectCategoryService
servicePath
- Service path that will override the default.@Nonnull 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.@Nonnull 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.@Nonnull 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.@Nonnull 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.