Class DefaultProductExclusionService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductExclusionService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ProductExclusionService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductExclusionService")
@Deprecated
public class DefaultProductExclusionService
extends Object
implements ServiceWithNavigableEntities, ProductExclusionService
Deprecated.
The service and all its related classes are deprecated. Please use the
successor API instead.
This service enables you to create product exclusions based on various factors like time range validities, plant-specific, and application-specific. Additionally, predefined groups can be applied on these product exclusions.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | PRODUCTEXCLUSION_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Master Data - Product Exclusion Integration(SAP_COM_0708) |
| Scope Items: | Advanced Available-to-Promise Processing(1JW) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PRODSUBSTNEXCLSN |
| Business Object: | Product Exclusion |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ProductExclusionService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingProductExclusionService.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 theProdSubstnExclsnentity collection matching the filter and search expressions.createProdSubstnExclsn(ProdSubstnExclsn prodSubstnExclsn) Deprecated.Create a newProdSubstnExclsnentity and save it to the S/4HANA system.deleteProdSubstnExclsn(ProdSubstnExclsn prodSubstnExclsn) Deprecated.Deletes an existingProdSubstnExclsnentity in the S/4HANA system.Deprecated.Fetch multipleProdSubstnExclsnentities.getProdSubstnExclsnByKey(UUID mDSubstnUUID) Deprecated.Fetch a singleProdSubstnExclsnentity using key fields.Deprecated.updateProdSubstnExclsn(ProdSubstnExclsn prodSubstnExclsn) Deprecated.Update an existingProdSubstnExclsnentity 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
-
DefaultProductExclusionService
public DefaultProductExclusionService()Deprecated.Creates a service usingProductExclusionService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ProductExclusionServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceProductExclusionService- 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:ProductExclusionServiceCreates a batch request builder object.- Specified by:
batchin interfaceProductExclusionService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllProdSubstnExclsn
Deprecated.Description copied from interface:ProductExclusionServiceFetch multipleProdSubstnExclsnentities.- Specified by:
getAllProdSubstnExclsnin interfaceProductExclusionService- Returns:
- A request builder to fetch multiple
ProdSubstnExclsnentities. 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.
-
countProdSubstnExclsn
Deprecated.Description copied from interface:ProductExclusionServiceFetch the number of entries from theProdSubstnExclsnentity collection matching the filter and search expressions.- Specified by:
countProdSubstnExclsnin interfaceProductExclusionService- Returns:
- A request builder to fetch the count of
ProdSubstnExclsnentities. 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.
-
getProdSubstnExclsnByKey
@Nonnull public GetByKeyRequestBuilder<ProdSubstnExclsn> getProdSubstnExclsnByKey(UUID mDSubstnUUID) Deprecated.Description copied from interface:ProductExclusionServiceFetch a singleProdSubstnExclsnentity using key fields.- Specified by:
getProdSubstnExclsnByKeyin interfaceProductExclusionService- Parameters:
mDSubstnUUID- Substitution UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
ProdSubstnExclsnentity 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.
-
createProdSubstnExclsn
@Nonnull public CreateRequestBuilder<ProdSubstnExclsn> createProdSubstnExclsn(@Nonnull ProdSubstnExclsn prodSubstnExclsn) Deprecated.Description copied from interface:ProductExclusionServiceCreate a newProdSubstnExclsnentity and save it to the S/4HANA system.- Specified by:
createProdSubstnExclsnin interfaceProductExclusionService- Parameters:
prodSubstnExclsn-ProdSubstnExclsnentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ProdSubstnExclsnentity. To perform execution, call theexecutemethod on the request builder object.
-
updateProdSubstnExclsn
@Nonnull public UpdateRequestBuilder<ProdSubstnExclsn> updateProdSubstnExclsn(@Nonnull ProdSubstnExclsn prodSubstnExclsn) Deprecated.Description copied from interface:ProductExclusionServiceUpdate an existingProdSubstnExclsnentity and save it to the S/4HANA system.- Specified by:
updateProdSubstnExclsnin interfaceProductExclusionService- Parameters:
prodSubstnExclsn-ProdSubstnExclsnentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
ProdSubstnExclsnentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteProdSubstnExclsn
@Nonnull public DeleteRequestBuilder<ProdSubstnExclsn> deleteProdSubstnExclsn(@Nonnull ProdSubstnExclsn prodSubstnExclsn) Deprecated.Description copied from interface:ProductExclusionServiceDeletes an existingProdSubstnExclsnentity in the S/4HANA system.- Specified by:
deleteProdSubstnExclsnin interfaceProductExclusionService- Parameters:
prodSubstnExclsn-ProdSubstnExclsnentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
ProdSubstnExclsnentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-