@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultInspectionMethodService") public class DefaultInspectionMethodService extends Object implements InspectionMethodService
This service enables you to read inspection methods from the SAP S/4HANA Cloud system. It is part of the integration scenario Inspection Master Data.
Reference: SAP API Business Hub
OData Service: | API_INSPECTIONMETHOD_SRV |
API Version: | 1 |
Communication Scenario: | Inspection Master Data Integration (SAP_COM_0110) |
Scope Items: | Quality Management in Stock Handling (1MR) |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultInspectionMethodService()
Creates a service using
InspectionMethodService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
InspectionMethodFluentHelper |
getAllInspectionMethod()
Fetch multiple
InspectionMethod entities. |
InspectionMethodByKeyFluentHelper |
getInspectionMethodByKey(String inspectionMethod,
String inspectionMethodVersion,
String inspectionMethodPlant)
Fetch a single
InspectionMethod entity using key fields. |
DefaultInspectionMethodService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultInspectionMethodService()
InspectionMethodService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultInspectionMethodService withServicePath(@Nonnull String servicePath)
InspectionMethodService
withServicePath
in interface InspectionMethodService
servicePath
- Service path that will override the default.@Nonnull public InspectionMethodFluentHelper getAllInspectionMethod()
InspectionMethodService
InspectionMethod
entities.getAllInspectionMethod
in interface InspectionMethodService
InspectionMethod
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 InspectionMethodByKeyFluentHelper getInspectionMethodByKey(String inspectionMethod, String inspectionMethodVersion, String inspectionMethodPlant)
InspectionMethodService
InspectionMethod
entity using key fields.getInspectionMethodByKey
in interface InspectionMethodService
inspectionMethod
- Inspection MethodConstraints: Not nullable, Maximum length: 8
inspectionMethodVersion
- Version Number of the Inspection MethodConstraints: Not nullable, Maximum length: 6
inspectionMethodPlant
- Plant for Inspection MethodConstraints: Not nullable, Maximum length: 4
InspectionMethod
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.