@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDefectCategoryService") public class DefaultDefectCategoryService extends Object implements DefectCategoryService
This service is related to the business object Defect. The defect category determines which main reference objects in Quality Management a defect should have..
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 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 |
---|
DefaultDefectCategoryService()
Creates a service using
DefectCategoryService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultDefectCategoryServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
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 DefaultDefectCategoryServiceBatch batch()
batch
in interface BatchService<DefectCategoryServiceBatch>
@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 Category
Constraints: 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 Category
Constraints: Not nullable, Maximum length: 2
language
- The language key indicates
Constraints: 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 © 2020 SAP SE. All rights reserved.