Class DefaultMeasuringPointService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultMeasuringPointService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,MeasuringPointService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultMeasuringPointService")
@Deprecated
public class DefaultMeasuringPointService
extends Object
implements ServiceWithNavigableEntities, MeasuringPointService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
In Plant Maintenance, measuring points are located on technical objects such as pieces of equipment or at functional locations. The payload used to create a measuring point through this API is sent in JSON format as a request object. The long text for the measuring point is included within as a nested object. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | MEASURINGPOINT_0001 |
| API Version: | 1.2.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Asset Management Master Data Integration(SAP_COM_0395) |
| Scope Items: | Service Order Management and Monitoring(3D2), Service Contract Management(3MO), In-House Repair(3XK), Reactive Maintenance(4HH), Proactive Maintenance(4HI), Improvement Maintenance(4VT), Operational and Overhead Maintenance(4WM), Corrective Maintenance(BH1), Emergency Maintenance(BH2), Preventive Maintenance(BJ2), Reactive Maintenance(OHH), Proactive Maintenance(OHI), PSM: Preventive Maintenance(OJ2), Improvement Maintenance(OVT), Operational and Overhead Maintenance(OWM), Service Order Processing with SAP Field Service Management(49X), Service Quotation(4GA) |
| Authentication Methods: | x509 |
| Service Group Name: | API_MEASURINGPOINT |
| Business Object: | Measuring Point |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.MeasuringPointService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingMeasuringPointService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theMeasuringPointentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theMeasuringPointLongTextentity collection matching the filter and search expressions.createMeasuringPoint(MeasuringPoint measuringPoint) Deprecated.Create a newMeasuringPointentity and save it to the S/4HANA system.createMeasuringPointLongText(MeasuringPointLongText measuringPointLongText) Deprecated.Create a newMeasuringPointLongTextentity and save it to the S/4HANA system.Deprecated.Fetch multipleMeasuringPointentities.Deprecated.Fetch multipleMeasuringPointLongTextentities.getMeasuringPointByKey(String measuringPoint) Deprecated.Fetch a singleMeasuringPointentity using key fields.getMeasuringPointLongTextByKey(String measuringPoint) Deprecated.Fetch a singleMeasuringPointLongTextentity using key fields.Deprecated.updateMeasuringPoint(MeasuringPoint measuringPoint) Deprecated.Update an existingMeasuringPointentity and save it to the S/4HANA system.updateMeasuringPointLongText(MeasuringPointLongText measuringPointLongText) Deprecated.Update an existingMeasuringPointLongTextentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultMeasuringPointService
public DefaultMeasuringPointService()Deprecated.Creates a service usingMeasuringPointService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:MeasuringPointServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceMeasuringPointService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:MeasuringPointServiceCreates a batch request builder object.- Specified by:
batchin interfaceMeasuringPointService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllMeasuringPoint
Deprecated.Description copied from interface:MeasuringPointServiceFetch multipleMeasuringPointentities.- Specified by:
getAllMeasuringPointin interfaceMeasuringPointService- Returns:
- A request builder to fetch multiple
MeasuringPointentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countMeasuringPoint
Deprecated.Description copied from interface:MeasuringPointServiceFetch the number of entries from theMeasuringPointentity collection matching the filter and search expressions.- Specified by:
countMeasuringPointin interfaceMeasuringPointService- Returns:
- A request builder to fetch the count of
MeasuringPointentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getMeasuringPointByKey
@Nonnull public GetByKeyRequestBuilder<MeasuringPoint> getMeasuringPointByKey(String measuringPoint) Deprecated.Description copied from interface:MeasuringPointServiceFetch a singleMeasuringPointentity using key fields.- Specified by:
getMeasuringPointByKeyin interfaceMeasuringPointService- Parameters:
measuringPoint- Measuring PointConstraints: Not nullable, Maximum length: 12
- Returns:
- A request builder to fetch a single
MeasuringPointentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createMeasuringPoint
@Nonnull public CreateRequestBuilder<MeasuringPoint> createMeasuringPoint(@Nonnull MeasuringPoint measuringPoint) Deprecated.Description copied from interface:MeasuringPointServiceCreate a newMeasuringPointentity and save it to the S/4HANA system.- Specified by:
createMeasuringPointin interfaceMeasuringPointService- Parameters:
measuringPoint-MeasuringPointentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
MeasuringPointentity. To perform execution, call theexecutemethod on the request builder object.
-
updateMeasuringPoint
@Nonnull public UpdateRequestBuilder<MeasuringPoint> updateMeasuringPoint(@Nonnull MeasuringPoint measuringPoint) Deprecated.Description copied from interface:MeasuringPointServiceUpdate an existingMeasuringPointentity and save it to the S/4HANA system.- Specified by:
updateMeasuringPointin interfaceMeasuringPointService- Parameters:
measuringPoint-MeasuringPointentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
MeasuringPointentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllMeasuringPointLongText
Deprecated.Description copied from interface:MeasuringPointServiceFetch multipleMeasuringPointLongTextentities.- Specified by:
getAllMeasuringPointLongTextin interfaceMeasuringPointService- Returns:
- A request builder to fetch multiple
MeasuringPointLongTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countMeasuringPointLongText
Deprecated.Description copied from interface:MeasuringPointServiceFetch the number of entries from theMeasuringPointLongTextentity collection matching the filter and search expressions.- Specified by:
countMeasuringPointLongTextin interfaceMeasuringPointService- Returns:
- A request builder to fetch the count of
MeasuringPointLongTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getMeasuringPointLongTextByKey
@Nonnull public GetByKeyRequestBuilder<MeasuringPointLongText> getMeasuringPointLongTextByKey(String measuringPoint) Deprecated.Description copied from interface:MeasuringPointServiceFetch a singleMeasuringPointLongTextentity using key fields.- Specified by:
getMeasuringPointLongTextByKeyin interfaceMeasuringPointService- Parameters:
measuringPoint- Measuring PointConstraints: Not nullable, Maximum length: 12
- Returns:
- A request builder to fetch a single
MeasuringPointLongTextentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createMeasuringPointLongText
@Nonnull public CreateRequestBuilder<MeasuringPointLongText> createMeasuringPointLongText(@Nonnull MeasuringPointLongText measuringPointLongText) Deprecated.Description copied from interface:MeasuringPointServiceCreate a newMeasuringPointLongTextentity and save it to the S/4HANA system.- Specified by:
createMeasuringPointLongTextin interfaceMeasuringPointService- Parameters:
measuringPointLongText-MeasuringPointLongTextentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
MeasuringPointLongTextentity. To perform execution, call theexecutemethod on the request builder object.
-
updateMeasuringPointLongText
@Nonnull public UpdateRequestBuilder<MeasuringPointLongText> updateMeasuringPointLongText(@Nonnull MeasuringPointLongText measuringPointLongText) Deprecated.Description copied from interface:MeasuringPointServiceUpdate an existingMeasuringPointLongTextentity and save it to the S/4HANA system.- Specified by:
updateMeasuringPointLongTextin interfaceMeasuringPointService- Parameters:
measuringPointLongText-MeasuringPointLongTextentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
MeasuringPointLongTextentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-