Class DefaultDefectService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultDefectService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,DefectService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultDefectService")
@Deprecated
public class DefaultDefectService
extends Object
implements ServiceWithNavigableEntities, DefectService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
You can read the defect header and detailed description. You can create new instances or update existing instances of a defect..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | DEFECT_0001 |
| API Version: | 1.1.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Quality Notification and 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: | x509 |
| Service Group Name: | API_DEFECT |
| Business Object: | Defect |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefectService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingDefectService.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 theDefectentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theDefectDetailedDescriptionentity collection matching the filter and search expressions.createDefect(Defect defect) Deprecated.Create a newDefectentity and save it to the S/4HANA system.deleteDefectDetailedDescription(DefectDetailedDescription defectDetailedDescription) Deprecated.Deletes an existingDefectDetailedDescriptionentity in the S/4HANA system.Deprecated.Fetch multipleDefectentities.Deprecated.Fetch multipleDefectDetailedDescriptionentities.getDefectByKey(String defectInternalID) Deprecated.Fetch a singleDefectentity using key fields.getDefectDetailedDescriptionByKey(String defectInternalID, Short longTextInternalNumber, String language) Deprecated.Fetch a singleDefectDetailedDescriptionentity using key fields.Deprecated.updateDefect(Defect defect) Deprecated.Update an existingDefectentity and save it to the S/4HANA system.updateDefectDetailedDescription(DefectDetailedDescription defectDetailedDescription) Deprecated.Update an existingDefectDetailedDescriptionentity 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
-
DefaultDefectService
public DefaultDefectService()Deprecated.Creates a service usingDefectService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:DefectServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceDefectService- 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:DefectServiceCreates a batch request builder object.- Specified by:
batchin interfaceDefectService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllDefect
Deprecated.Description copied from interface:DefectServiceFetch multipleDefectentities.- Specified by:
getAllDefectin interfaceDefectService- Returns:
- A request builder to fetch multiple
Defectentities. 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.
-
countDefect
Deprecated.Description copied from interface:DefectServiceFetch the number of entries from theDefectentity collection matching the filter and search expressions.- Specified by:
countDefectin interfaceDefectService- Returns:
- A request builder to fetch the count of
Defectentities. 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.
-
getDefectByKey
Deprecated.Description copied from interface:DefectServiceFetch a singleDefectentity using key fields.- Specified by:
getDefectByKeyin interfaceDefectService- Parameters:
defectInternalID- Internal Defect IDConstraints: Not nullable, Maximum length: 12
- Returns:
- A request builder to fetch a single
Defectentity 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.
-
createDefect
Deprecated.Description copied from interface:DefectServiceCreate a newDefectentity and save it to the S/4HANA system.- Specified by:
createDefectin interfaceDefectService- Parameters:
defect-Defectentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
Defectentity. To perform execution, call theexecutemethod on the request builder object.
-
updateDefect
Deprecated.Description copied from interface:DefectServiceUpdate an existingDefectentity and save it to the S/4HANA system.- Specified by:
updateDefectin interfaceDefectService- Parameters:
defect-Defectentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
Defectentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllDefectDetailedDescription
Deprecated.Description copied from interface:DefectServiceFetch multipleDefectDetailedDescriptionentities.- Specified by:
getAllDefectDetailedDescriptionin interfaceDefectService- Returns:
- A request builder to fetch multiple
DefectDetailedDescriptionentities. 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.
-
countDefectDetailedDescription
Deprecated.Description copied from interface:DefectServiceFetch the number of entries from theDefectDetailedDescriptionentity collection matching the filter and search expressions.- Specified by:
countDefectDetailedDescriptionin interfaceDefectService- Returns:
- A request builder to fetch the count of
DefectDetailedDescriptionentities. 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.
-
getDefectDetailedDescriptionByKey
@Nonnull public GetByKeyRequestBuilder<DefectDetailedDescription> getDefectDetailedDescriptionByKey(String defectInternalID, Short longTextInternalNumber, String language) Deprecated.Description copied from interface:DefectServiceFetch a singleDefectDetailedDescriptionentity using key fields.- Specified by:
getDefectDetailedDescriptionByKeyin interfaceDefectService- Parameters:
defectInternalID- Internal Defect IDConstraints: Not nullable, Maximum length: 12
longTextInternalNumber- Long Text CounterConstraints: Not nullable
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
DefectDetailedDescriptionentity 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.
-
updateDefectDetailedDescription
@Nonnull public UpdateRequestBuilder<DefectDetailedDescription> updateDefectDetailedDescription(@Nonnull DefectDetailedDescription defectDetailedDescription) Deprecated.Description copied from interface:DefectServiceUpdate an existingDefectDetailedDescriptionentity and save it to the S/4HANA system.- Specified by:
updateDefectDetailedDescriptionin interfaceDefectService- Parameters:
defectDetailedDescription-DefectDetailedDescriptionentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
DefectDetailedDescriptionentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteDefectDetailedDescription
@Nonnull public DeleteRequestBuilder<DefectDetailedDescription> deleteDefectDetailedDescription(@Nonnull DefectDetailedDescription defectDetailedDescription) Deprecated.Description copied from interface:DefectServiceDeletes an existingDefectDetailedDescriptionentity in the S/4HANA system.- Specified by:
deleteDefectDetailedDescriptionin interfaceDefectService- Parameters:
defectDetailedDescription-DefectDetailedDescriptionentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
DefectDetailedDescriptionentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-