@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultSupplyAvailabilityProtectionPlanService") public class DefaultSupplyAvailabilityProtectionPlanService extends Object implements ServiceWithNavigableEntities, SupplyAvailabilityProtectionPlanService
The service contains the supply protection object, the characteristics, the supply protection groups and the time buckets. Once the supply availability protection plan has been created, the response contains the created object with comprehensive information including UUIDs of the objects as well as error messages for the case that the creation was not successful..
Reference: SAP API Business Hub
OData Service: | API_SUPAVAILYPROTPLAN_0001 |
API Version: | 1 |
Communication Scenario: | Supply Availability Protection Plan Integration (SAP_COM_0384) |
Scope Items: | Advanced Available-to-Promise Processing (1JW) |
Authentication Methods: | Basic, x509, OAuth2 |
Service Group Name: | API_SUPAVAILYPROTPLAN |
Business Object: | SupAvailabilityProtectionPlan |
ServiceWithNavigableEntities.NavigableEntity<EntityT extends VdmEntity<EntityT>>
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultSupplyAvailabilityProtectionPlanService()
Creates a service using
SupplyAvailabilityProtectionPlanService.DEFAULT_SERVICE_PATH to send the
requests. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEntity
public DefaultSupplyAvailabilityProtectionPlanService()
SupplyAvailabilityProtectionPlanService.DEFAULT_SERVICE_PATH
to send the
requests.@Nonnull public DefaultSupplyAvailabilityProtectionPlanService withServicePath(@Nonnull String servicePath)
SupplyAvailabilityProtectionPlanService
withServicePath
in interface SupplyAvailabilityProtectionPlanService
servicePath
- Service path that will override the default.@Nonnull public BatchRequestBuilder batch()
SupplyAvailabilityProtectionPlanService
batch
in interface SupplyAvailabilityProtectionPlanService
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<SupplyProtection> getAllSupplyProtection()
SupplyAvailabilityProtectionPlanService
SupplyProtection
entities.getAllSupplyProtection
in interface SupplyAvailabilityProtectionPlanService
SupplyProtection
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<SupplyProtection> countSupplyProtection()
SupplyAvailabilityProtectionPlanService
SupplyProtection
entity collection matching the filter and search expressions.countSupplyProtection
in interface SupplyAvailabilityProtectionPlanService
SupplyProtection
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<SupplyProtection> getSupplyProtectionByKey(@Nonnull UUID supplyProtectionUUID)
SupplyAvailabilityProtectionPlanService
SupplyProtection
entity using key fields.getSupplyProtectionByKey
in interface SupplyAvailabilityProtectionPlanService
supplyProtectionUUID
- UUID
Constraints: Not nullable
SupplyProtection
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<SupplyProtection> createSupplyProtection(@Nonnull SupplyProtection supplyProtection)
SupplyAvailabilityProtectionPlanService
SupplyProtection
entity and save it to the S/4HANA system.createSupplyProtection
in interface SupplyAvailabilityProtectionPlanService
supplyProtection
- SupplyProtection
entity object that will be created in the S/4HANA system.SupplyProtection
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public UpdateRequestBuilder<SupplyProtection> updateSupplyProtection(@Nonnull SupplyProtection supplyProtection)
SupplyAvailabilityProtectionPlanService
SupplyProtection
entity and save it to the S/4HANA system.updateSupplyProtection
in interface SupplyAvailabilityProtectionPlanService
supplyProtection
- SupplyProtection
entity object that will be updated in the S/4HANA system.SupplyProtection
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public DeleteRequestBuilder<SupplyProtection> deleteSupplyProtection(@Nonnull SupplyProtection supplyProtection)
SupplyAvailabilityProtectionPlanService
SupplyProtection
entity in the S/4HANA system.deleteSupplyProtection
in interface SupplyAvailabilityProtectionPlanService
supplyProtection
- SupplyProtection
entity object that will be deleted in the S/4HANA system.SupplyProtection
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<SupplyProtectionGroup> getAllSupplyProtectionGroup()
SupplyAvailabilityProtectionPlanService
SupplyProtectionGroup
entities.getAllSupplyProtectionGroup
in interface SupplyAvailabilityProtectionPlanService
SupplyProtectionGroup
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<SupplyProtectionGroup> countSupplyProtectionGroup()
SupplyAvailabilityProtectionPlanService
SupplyProtectionGroup
entity collection matching the filter and search expressions.countSupplyProtectionGroup
in interface SupplyAvailabilityProtectionPlanService
SupplyProtectionGroup
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<SupplyProtectionGroup> getSupplyProtectionGroupByKey(@Nonnull UUID supplyProtectionGroupUUID)
SupplyAvailabilityProtectionPlanService
SupplyProtectionGroup
entity using key fields.getSupplyProtectionGroupByKey
in interface SupplyAvailabilityProtectionPlanService
supplyProtectionGroupUUID
- Characteristic Value Combination UUID
Constraints: Not nullable
SupplyProtectionGroup
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 UpdateRequestBuilder<SupplyProtectionGroup> updateSupplyProtectionGroup(@Nonnull SupplyProtectionGroup supplyProtectionGroup)
SupplyAvailabilityProtectionPlanService
SupplyProtectionGroup
entity and save it to the S/4HANA system.updateSupplyProtectionGroup
in interface SupplyAvailabilityProtectionPlanService
supplyProtectionGroup
- SupplyProtectionGroup
entity object that will be updated in the S/4HANA system.SupplyProtectionGroup
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public DeleteRequestBuilder<SupplyProtectionGroup> deleteSupplyProtectionGroup(@Nonnull SupplyProtectionGroup supplyProtectionGroup)
SupplyAvailabilityProtectionPlanService
SupplyProtectionGroup
entity in the S/4HANA system.deleteSupplyProtectionGroup
in interface SupplyAvailabilityProtectionPlanService
supplyProtectionGroup
- SupplyProtectionGroup
entity object that will be deleted in the S/4HANA system.SupplyProtectionGroup
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<SupplyProtectionTimeBucket> getAllSupplyProtectionTimeBucket()
SupplyAvailabilityProtectionPlanService
SupplyProtectionTimeBucket
entities.getAllSupplyProtectionTimeBucket
in interface SupplyAvailabilityProtectionPlanService
SupplyProtectionTimeBucket
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<SupplyProtectionTimeBucket> countSupplyProtectionTimeBucket()
SupplyAvailabilityProtectionPlanService
SupplyProtectionTimeBucket
entity collection matching the filter and search expressions.countSupplyProtectionTimeBucket
in interface SupplyAvailabilityProtectionPlanService
SupplyProtectionTimeBucket
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<SupplyProtectionTimeBucket> getSupplyProtectionTimeBucketByKey(@Nonnull UUID supProtTimeBucketUUID)
SupplyAvailabilityProtectionPlanService
SupplyProtectionTimeBucket
entity using key fields.getSupplyProtectionTimeBucketByKey
in interface SupplyAvailabilityProtectionPlanService
supProtTimeBucketUUID
- Time Bucket UUID
Constraints: Not nullable
SupplyProtectionTimeBucket
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 UpdateRequestBuilder<SupplyProtectionTimeBucket> updateSupplyProtectionTimeBucket(@Nonnull SupplyProtectionTimeBucket supplyProtectionTimeBucket)
SupplyAvailabilityProtectionPlanService
SupplyProtectionTimeBucket
entity and save it to the S/4HANA system.updateSupplyProtectionTimeBucket
in interface SupplyAvailabilityProtectionPlanService
supplyProtectionTimeBucket
- SupplyProtectionTimeBucket
entity object that will be updated in the S/4HANA system.SupplyProtectionTimeBucket
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public DeleteRequestBuilder<SupplyProtectionTimeBucket> deleteSupplyProtectionTimeBucket(@Nonnull SupplyProtectionTimeBucket supplyProtectionTimeBucket)
SupplyAvailabilityProtectionPlanService
SupplyProtectionTimeBucket
entity in the S/4HANA system.deleteSupplyProtectionTimeBucket
in interface SupplyAvailabilityProtectionPlanService
supplyProtectionTimeBucket
- SupplyProtectionTimeBucket
entity object that will be deleted in the S/4HANA system.SupplyProtectionTimeBucket
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<SupProtCharacteristic> getAllSupProtCharacteristic()
SupplyAvailabilityProtectionPlanService
SupProtCharacteristic
entities.getAllSupProtCharacteristic
in interface SupplyAvailabilityProtectionPlanService
SupProtCharacteristic
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<SupProtCharacteristic> countSupProtCharacteristic()
SupplyAvailabilityProtectionPlanService
SupProtCharacteristic
entity collection matching the filter and search expressions.countSupProtCharacteristic
in interface SupplyAvailabilityProtectionPlanService
SupProtCharacteristic
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<SupProtCharacteristic> getSupProtCharacteristicByKey(@Nonnull UUID supProtCharacteristicUUID)
SupplyAvailabilityProtectionPlanService
SupProtCharacteristic
entity using key fields.getSupProtCharacteristicByKey
in interface SupplyAvailabilityProtectionPlanService
supProtCharacteristicUUID
- Characteristic UUID
Constraints: Not nullable
SupProtCharacteristic
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 UpdateRequestBuilder<SupProtCharacteristic> updateSupProtCharacteristic(@Nonnull SupProtCharacteristic supProtCharacteristic)
SupplyAvailabilityProtectionPlanService
SupProtCharacteristic
entity and save it to the S/4HANA system.updateSupProtCharacteristic
in interface SupplyAvailabilityProtectionPlanService
supProtCharacteristic
- SupProtCharacteristic
entity object that will be updated in the S/4HANA system.SupProtCharacteristic
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public DeleteRequestBuilder<SupProtCharacteristic> deleteSupProtCharacteristic(@Nonnull SupProtCharacteristic supProtCharacteristic)
SupplyAvailabilityProtectionPlanService
SupProtCharacteristic
entity in the S/4HANA system.deleteSupProtCharacteristic
in interface SupplyAvailabilityProtectionPlanService
supProtCharacteristic
- SupProtCharacteristic
entity object that will be deleted in the S/4HANA system.SupProtCharacteristic
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.