Class DefaultDetectionMethodService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,DetectionMethodService
This API enables you to read the details of a detection method such as detection profile, detection method group, detection method, assignment of a detection method to a detection group, assignment of a detection profile to a detection group, and assignment of a notification type to a detection profile. Detection method is an activity or a method by which a failure is discovered. This information is important and helps in evaluating the effect of maintenance. If the input in the request is not as expected then the system displays appropriate error or warning messages in the response. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | DETECTIONMETHOD_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Maintenance Processing Integration(SAP_COM_0397) |
| Scope Items: | 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), Improvement Maintenance(OVT), Operational and Overhead Maintenance(OWM) |
| Authentication Methods: | x509 |
| Service Group Name: | API_DETECTIONMETHOD |
| Business Object: | Maintenance Notification |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DetectionMethodService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingDetectionMethodService.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 theMaintNotifDetCatGroupentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theMaintNotifDetCodeentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theMaintNotifDetectionProfileentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theMaintNotifDetGroupentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theMaintNotifDetGroupCodeentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theMaintNotifTypeDetProfileentity collection matching the filter and search expressions.Deprecated.Fetch multipleMaintNotifDetCatGroupentities.Deprecated.Fetch multipleMaintNotifDetCodeentities.Deprecated.Fetch multipleMaintNotifDetectionProfileentities.Deprecated.Fetch multipleMaintNotifDetGroupentities.Deprecated.Fetch multipleMaintNotifDetGroupCodeentities.Deprecated.Fetch multipleMaintNotifTypeDetProfileentities.getMaintNotifDetCatGroupByKey(String maintNotifDetectionProfile, String maintNotifDetectionGroup) Deprecated.Fetch a singleMaintNotifDetCatGroupentity using key fields.getMaintNotifDetCodeByKey(String maintNotifDetectionMethod) Deprecated.Fetch a singleMaintNotifDetCodeentity using key fields.getMaintNotifDetectionProfileByKey(String maintNotifDetectionProfile) Deprecated.Fetch a singleMaintNotifDetectionProfileentity using key fields.getMaintNotifDetGroupByKey(String maintNotifDetectionGroup) Deprecated.Fetch a singleMaintNotifDetGroupentity using key fields.getMaintNotifDetGroupCodeByKey(String maintNotifDetectionGroup, String maintNotifDetectionMethod) Deprecated.Fetch a singleMaintNotifDetGroupCodeentity using key fields.getMaintNotifTypeDetProfileByKey(String notificationType) Deprecated.Fetch a singleMaintNotifTypeDetProfileentity using key fields.Deprecated.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
-
DefaultDetectionMethodService
public DefaultDetectionMethodService()Deprecated.Creates a service usingDetectionMethodService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:DetectionMethodServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceDetectionMethodService- 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:DetectionMethodServiceCreates a batch request builder object.- Specified by:
batchin interfaceDetectionMethodService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllMaintNotifDetCatGroup
Deprecated.Description copied from interface:DetectionMethodServiceFetch multipleMaintNotifDetCatGroupentities.- Specified by:
getAllMaintNotifDetCatGroupin interfaceDetectionMethodService- Returns:
- A request builder to fetch multiple
MaintNotifDetCatGroupentities. 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.
-
countMaintNotifDetCatGroup
Deprecated.Description copied from interface:DetectionMethodServiceFetch the number of entries from theMaintNotifDetCatGroupentity collection matching the filter and search expressions.- Specified by:
countMaintNotifDetCatGroupin interfaceDetectionMethodService- Returns:
- A request builder to fetch the count of
MaintNotifDetCatGroupentities. 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.
-
getMaintNotifDetCatGroupByKey
@Nonnull public GetByKeyRequestBuilder<MaintNotifDetCatGroup> getMaintNotifDetCatGroupByKey(String maintNotifDetectionProfile, String maintNotifDetectionGroup) Deprecated.Description copied from interface:DetectionMethodServiceFetch a singleMaintNotifDetCatGroupentity using key fields.- Specified by:
getMaintNotifDetCatGroupByKeyin interfaceDetectionMethodService- Parameters:
maintNotifDetectionProfile- Detection Method ProfileConstraints: Not nullable, Maximum length: 2
maintNotifDetectionGroup- Detection Method GroupConstraints: Not nullable, Maximum length: 8
- Returns:
- A request builder to fetch a single
MaintNotifDetCatGroupentity 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.
-
getAllMaintNotifDetCode
Deprecated.Description copied from interface:DetectionMethodServiceFetch multipleMaintNotifDetCodeentities.- Specified by:
getAllMaintNotifDetCodein interfaceDetectionMethodService- Returns:
- A request builder to fetch multiple
MaintNotifDetCodeentities. 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.
-
countMaintNotifDetCode
Deprecated.Description copied from interface:DetectionMethodServiceFetch the number of entries from theMaintNotifDetCodeentity collection matching the filter and search expressions.- Specified by:
countMaintNotifDetCodein interfaceDetectionMethodService- Returns:
- A request builder to fetch the count of
MaintNotifDetCodeentities. 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.
-
getMaintNotifDetCodeByKey
@Nonnull public GetByKeyRequestBuilder<MaintNotifDetCode> getMaintNotifDetCodeByKey(String maintNotifDetectionMethod) Deprecated.Description copied from interface:DetectionMethodServiceFetch a singleMaintNotifDetCodeentity using key fields.- Specified by:
getMaintNotifDetCodeByKeyin interfaceDetectionMethodService- Parameters:
maintNotifDetectionMethod- Detection MethodConstraints: Not nullable, Maximum length: 4
- Returns:
- A request builder to fetch a single
MaintNotifDetCodeentity 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.
-
getAllMaintNotifDetectionProfile
Deprecated.Description copied from interface:DetectionMethodServiceFetch multipleMaintNotifDetectionProfileentities.- Specified by:
getAllMaintNotifDetectionProfilein interfaceDetectionMethodService- Returns:
- A request builder to fetch multiple
MaintNotifDetectionProfileentities. 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.
-
countMaintNotifDetectionProfile
Deprecated.Description copied from interface:DetectionMethodServiceFetch the number of entries from theMaintNotifDetectionProfileentity collection matching the filter and search expressions.- Specified by:
countMaintNotifDetectionProfilein interfaceDetectionMethodService- Returns:
- A request builder to fetch the count of
MaintNotifDetectionProfileentities. 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.
-
getMaintNotifDetectionProfileByKey
@Nonnull public GetByKeyRequestBuilder<MaintNotifDetectionProfile> getMaintNotifDetectionProfileByKey(String maintNotifDetectionProfile) Deprecated.Description copied from interface:DetectionMethodServiceFetch a singleMaintNotifDetectionProfileentity using key fields.- Specified by:
getMaintNotifDetectionProfileByKeyin interfaceDetectionMethodService- Parameters:
maintNotifDetectionProfile- Detection Method ProfileConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
MaintNotifDetectionProfileentity 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.
-
getAllMaintNotifDetGroup
Deprecated.Description copied from interface:DetectionMethodServiceFetch multipleMaintNotifDetGroupentities.- Specified by:
getAllMaintNotifDetGroupin interfaceDetectionMethodService- Returns:
- A request builder to fetch multiple
MaintNotifDetGroupentities. 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.
-
countMaintNotifDetGroup
Deprecated.Description copied from interface:DetectionMethodServiceFetch the number of entries from theMaintNotifDetGroupentity collection matching the filter and search expressions.- Specified by:
countMaintNotifDetGroupin interfaceDetectionMethodService- Returns:
- A request builder to fetch the count of
MaintNotifDetGroupentities. 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.
-
getMaintNotifDetGroupByKey
@Nonnull public GetByKeyRequestBuilder<MaintNotifDetGroup> getMaintNotifDetGroupByKey(String maintNotifDetectionGroup) Deprecated.Description copied from interface:DetectionMethodServiceFetch a singleMaintNotifDetGroupentity using key fields.- Specified by:
getMaintNotifDetGroupByKeyin interfaceDetectionMethodService- Parameters:
maintNotifDetectionGroup- Detection Method GroupConstraints: Not nullable, Maximum length: 8
- Returns:
- A request builder to fetch a single
MaintNotifDetGroupentity 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.
-
getAllMaintNotifDetGroupCode
Deprecated.Description copied from interface:DetectionMethodServiceFetch multipleMaintNotifDetGroupCodeentities.- Specified by:
getAllMaintNotifDetGroupCodein interfaceDetectionMethodService- Returns:
- A request builder to fetch multiple
MaintNotifDetGroupCodeentities. 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.
-
countMaintNotifDetGroupCode
Deprecated.Description copied from interface:DetectionMethodServiceFetch the number of entries from theMaintNotifDetGroupCodeentity collection matching the filter and search expressions.- Specified by:
countMaintNotifDetGroupCodein interfaceDetectionMethodService- Returns:
- A request builder to fetch the count of
MaintNotifDetGroupCodeentities. 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.
-
getMaintNotifDetGroupCodeByKey
@Nonnull public GetByKeyRequestBuilder<MaintNotifDetGroupCode> getMaintNotifDetGroupCodeByKey(String maintNotifDetectionGroup, String maintNotifDetectionMethod) Deprecated.Description copied from interface:DetectionMethodServiceFetch a singleMaintNotifDetGroupCodeentity using key fields.- Specified by:
getMaintNotifDetGroupCodeByKeyin interfaceDetectionMethodService- Parameters:
maintNotifDetectionGroup- Detection Method GroupConstraints: Not nullable, Maximum length: 8
maintNotifDetectionMethod- Detection MethodConstraints: Not nullable, Maximum length: 4
- Returns:
- A request builder to fetch a single
MaintNotifDetGroupCodeentity 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.
-
getAllMaintNotifTypeDetProfile
Deprecated.Description copied from interface:DetectionMethodServiceFetch multipleMaintNotifTypeDetProfileentities.- Specified by:
getAllMaintNotifTypeDetProfilein interfaceDetectionMethodService- Returns:
- A request builder to fetch multiple
MaintNotifTypeDetProfileentities. 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.
-
countMaintNotifTypeDetProfile
Deprecated.Description copied from interface:DetectionMethodServiceFetch the number of entries from theMaintNotifTypeDetProfileentity collection matching the filter and search expressions.- Specified by:
countMaintNotifTypeDetProfilein interfaceDetectionMethodService- Returns:
- A request builder to fetch the count of
MaintNotifTypeDetProfileentities. 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.
-
getMaintNotifTypeDetProfileByKey
@Nonnull public GetByKeyRequestBuilder<MaintNotifTypeDetProfile> getMaintNotifTypeDetProfileByKey(String notificationType) Deprecated.Description copied from interface:DetectionMethodServiceFetch a singleMaintNotifTypeDetProfileentity using key fields.- Specified by:
getMaintNotifTypeDetProfileByKeyin interfaceDetectionMethodService- Parameters:
notificationType- Notification TypeConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
MaintNotifTypeDetProfileentity 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.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-