@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultInHouseRepairService") public class DefaultInHouseRepairService extends Object implements ServiceWithNavigableEntities, InHouseRepairService
The service enables you to initiate the in-house repair process from an external system. You can create in-house repairs and add repair objects. You can also read and update in-house repairs..
Reference: SAP API Business Hub
OData Service: | INHOUSEREPAIR_0001 |
API Version: | 1 |
Communication Scenario: | Service - In-House Repair OData Integration (SAP_COM_0717) |
Scope Items: | In-House Repair (3XK) |
Authentication Methods: | Basic, x509, OAuth2 |
Service Group Name: | API_INHOUSEREPAIR |
Business Object: | InHouseRepair |
ServiceWithNavigableEntities.NavigableEntity<EntityT extends VdmEntity<EntityT>>
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultInHouseRepairService()
Creates a service using
InHouseRepairService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
BatchRequestBuilder |
batch()
Creates a batch request builder object.
|
CountRequestBuilder<InHouseRepair> |
countInHouseRepair()
Fetch the number of entries from the
InHouseRepair entity
collection matching the filter and search expressions. |
CountRequestBuilder<InHouseRepairItem> |
countInHouseRepairItem()
Fetch the number of entries from the
InHouseRepairItem
entity collection matching the filter and search expressions. |
CreateRequestBuilder<InHouseRepair> |
createInHouseRepair(InHouseRepair inHouseRepair)
Create a new
InHouseRepair entity and save it to the S/4HANA system. |
CreateRequestBuilder<InHouseRepairItem> |
createInHouseRepairItem(InHouseRepairItem inHouseRepairItem)
Create a new
InHouseRepairItem entity and save it to the S/4HANA system. |
DeleteRequestBuilder<InHouseRepairItem> |
deleteInHouseRepairItem(InHouseRepairItem inHouseRepairItem)
Deletes an existing
InHouseRepairItem entity in the S/4HANA system. |
GetAllRequestBuilder<InHouseRepair> |
getAllInHouseRepair()
Fetch multiple
InHouseRepair entities. |
GetAllRequestBuilder<InHouseRepairItem> |
getAllInHouseRepairItem()
Fetch multiple
InHouseRepairItem entities. |
GetByKeyRequestBuilder<InHouseRepair> |
getInHouseRepairByKey(String inHouseRepair)
Fetch a single
InHouseRepair entity using key fields. |
GetByKeyRequestBuilder<InHouseRepairItem> |
getInHouseRepairItemByKey(String inHouseRepair,
String inHouseRepairItem)
Fetch a single
InHouseRepairItem entity using key fields. |
String |
getServicePath()
Getter for the OData service root path.
|
UpdateRequestBuilder<InHouseRepair> |
updateInHouseRepair(InHouseRepair inHouseRepair)
Update an existing
InHouseRepair entity and save it to the S/4HANA system. |
DefaultInHouseRepairService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEntity
public DefaultInHouseRepairService()
InHouseRepairService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultInHouseRepairService withServicePath(@Nonnull String servicePath)
InHouseRepairService
withServicePath
in interface InHouseRepairService
servicePath
- Service path that will override the default.@Nonnull public BatchRequestBuilder batch()
InHouseRepairService
batch
in interface InHouseRepairService
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<InHouseRepair> getAllInHouseRepair()
InHouseRepairService
InHouseRepair
entities.getAllInHouseRepair
in interface InHouseRepairService
InHouseRepair
entities. This request builder allows methods which modify the underlying query to be called before
executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<InHouseRepair> countInHouseRepair()
InHouseRepairService
InHouseRepair
entity
collection matching the filter and search expressions.countInHouseRepair
in interface InHouseRepairService
InHouseRepair
entities. This request builder allows methods which modify the underlying query to be called before
executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<InHouseRepair> getInHouseRepairByKey(@Nonnull String inHouseRepair)
InHouseRepairService
InHouseRepair
entity using key fields.getInHouseRepairByKey
in interface InHouseRepairService
inHouseRepair
- In-House Repair ID
Constraints: Not nullable, Maximum length: 10
InHouseRepair
entity 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 the
execute
method on the request builder object.@Nonnull public CreateRequestBuilder<InHouseRepair> createInHouseRepair(@Nonnull InHouseRepair inHouseRepair)
InHouseRepairService
InHouseRepair
entity and save it to the S/4HANA system.createInHouseRepair
in interface InHouseRepairService
inHouseRepair
- InHouseRepair
entity object that will be created in the S/4HANA system.InHouseRepair
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public UpdateRequestBuilder<InHouseRepair> updateInHouseRepair(@Nonnull InHouseRepair inHouseRepair)
InHouseRepairService
InHouseRepair
entity and save it to the S/4HANA system.updateInHouseRepair
in interface InHouseRepairService
inHouseRepair
- InHouseRepair
entity object that will be updated in the S/4HANA system.InHouseRepair
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<InHouseRepairItem> getAllInHouseRepairItem()
InHouseRepairService
InHouseRepairItem
entities.getAllInHouseRepairItem
in interface InHouseRepairService
InHouseRepairItem
entities. This request builder allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<InHouseRepairItem> countInHouseRepairItem()
InHouseRepairService
InHouseRepairItem
entity collection matching the filter and search expressions.countInHouseRepairItem
in interface InHouseRepairService
InHouseRepairItem
entities. This request builder allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<InHouseRepairItem> getInHouseRepairItemByKey(@Nonnull String inHouseRepair, @Nonnull String inHouseRepairItem)
InHouseRepairService
InHouseRepairItem
entity using key fields.getInHouseRepairItemByKey
in interface InHouseRepairService
inHouseRepair
- In-House Repair ID
Constraints: Not nullable, Maximum length: 10
inHouseRepairItem
- Repair Object
Constraints: Not nullable, Maximum length: 6
InHouseRepairItem
entity 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 the
execute
method on the request builder object.@Nonnull public CreateRequestBuilder<InHouseRepairItem> createInHouseRepairItem(@Nonnull InHouseRepairItem inHouseRepairItem)
InHouseRepairService
InHouseRepairItem
entity and save it to the S/4HANA system.createInHouseRepairItem
in interface InHouseRepairService
inHouseRepairItem
- InHouseRepairItem
entity object that will be created in the S/4HANA system.InHouseRepairItem
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public DeleteRequestBuilder<InHouseRepairItem> deleteInHouseRepairItem(@Nonnull InHouseRepairItem inHouseRepairItem)
InHouseRepairService
InHouseRepairItem
entity in the S/4HANA system.deleteInHouseRepairItem
in interface InHouseRepairService
inHouseRepairItem
- InHouseRepairItem
entity object that will be deleted in the S/4HANA system.InHouseRepairItem
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public String getServicePath()
ServiceWithNavigableEntities
getServicePath
in interface ServiceWithNavigableEntities
Copyright © 2021 SAP SE. All rights reserved.