Class DefaultProductSubstitutionGroupService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductSubstitutionGroupService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ProductSubstitutionGroupService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductSubstitutionGroupService")
@Deprecated
public class DefaultProductSubstitutionGroupService
extends Object
implements ServiceWithNavigableEntities, ProductSubstitutionGroupService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This service enables you to create groups, which can be used in Product Substitution and Product Exclusion. Additionally, status and group descriptions can be maintained.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | PRODUCTSUBSTITUTIONGROUP_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Master Data - Product Substitution Group Integration(SAP_COM_0778) |
| Scope Items: | Advanced Available-to-Promise Processing(1JW) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PRODSUBSTNGRP |
| Business Object: | Product Substitution Group |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ProductSubstitutionGroupService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingProductSubstitutionGroupService.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 theProdSubstnGrpentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theProdSubstnGrpTxtentity collection matching the filter and search expressions.createProdSubstnGrp(ProdSubstnGrp prodSubstnGrp) Deprecated.Create a newProdSubstnGrpentity and save it to the S/4HANA system.deleteProdSubstnGrp(ProdSubstnGrp prodSubstnGrp) Deprecated.Deletes an existingProdSubstnGrpentity in the S/4HANA system.deleteProdSubstnGrpText(ProdSubstnGrpTxt prodSubstnGrpTxt) Deprecated.Deletes an existingProdSubstnGrpTxtentity in the S/4HANA system.Deprecated.Fetch multipleProdSubstnGrpentities.Deprecated.Fetch multipleProdSubstnGrpTxtentities.getProdSubstnGrpByKey(String mDSubstnObjectType, String mDSubstnGroup) Deprecated.Fetch a singleProdSubstnGrpentity using key fields.getProdSubstnGrpTextByKey(String language, String mDSubstnObjectType, String mDSubstnGroup) Deprecated.Fetch a singleProdSubstnGrpTxtentity using key fields.Deprecated.updateProdSubstnGrp(ProdSubstnGrp prodSubstnGrp) Deprecated.Update an existingProdSubstnGrpentity and save it to the S/4HANA system.updateProdSubstnGrpText(ProdSubstnGrpTxt prodSubstnGrpTxt) Deprecated.Update an existingProdSubstnGrpTxtentity 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
-
DefaultProductSubstitutionGroupService
public DefaultProductSubstitutionGroupService()Deprecated.Creates a service usingProductSubstitutionGroupService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ProductSubstitutionGroupServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceProductSubstitutionGroupService- 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:ProductSubstitutionGroupServiceCreates a batch request builder object.- Specified by:
batchin interfaceProductSubstitutionGroupService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllProdSubstnGrp
Deprecated.Description copied from interface:ProductSubstitutionGroupServiceFetch multipleProdSubstnGrpentities.- Specified by:
getAllProdSubstnGrpin interfaceProductSubstitutionGroupService- Returns:
- A request builder to fetch multiple
ProdSubstnGrpentities. 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.
-
countProdSubstnGrp
Deprecated.Description copied from interface:ProductSubstitutionGroupServiceFetch the number of entries from theProdSubstnGrpentity collection matching the filter and search expressions.- Specified by:
countProdSubstnGrpin interfaceProductSubstitutionGroupService- Returns:
- A request builder to fetch the count of
ProdSubstnGrpentities. 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.
-
getProdSubstnGrpByKey
@Nonnull public GetByKeyRequestBuilder<ProdSubstnGrp> getProdSubstnGrpByKey(String mDSubstnObjectType, String mDSubstnGroup) Deprecated.Description copied from interface:ProductSubstitutionGroupServiceFetch a singleProdSubstnGrpentity using key fields.- Specified by:
getProdSubstnGrpByKeyin interfaceProductSubstitutionGroupService- Parameters:
mDSubstnObjectType- SAP Object TypeConstraints: Not nullable, Maximum length: 30
mDSubstnGroup- Group NameConstraints: Not nullable, Maximum length: 20
- Returns:
- A request builder to fetch a single
ProdSubstnGrpentity 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.
-
createProdSubstnGrp
@Nonnull public CreateRequestBuilder<ProdSubstnGrp> createProdSubstnGrp(@Nonnull ProdSubstnGrp prodSubstnGrp) Deprecated.Description copied from interface:ProductSubstitutionGroupServiceCreate a newProdSubstnGrpentity and save it to the S/4HANA system.- Specified by:
createProdSubstnGrpin interfaceProductSubstitutionGroupService- Parameters:
prodSubstnGrp-ProdSubstnGrpentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ProdSubstnGrpentity. To perform execution, call theexecutemethod on the request builder object.
-
updateProdSubstnGrp
@Nonnull public UpdateRequestBuilder<ProdSubstnGrp> updateProdSubstnGrp(@Nonnull ProdSubstnGrp prodSubstnGrp) Deprecated.Description copied from interface:ProductSubstitutionGroupServiceUpdate an existingProdSubstnGrpentity and save it to the S/4HANA system.- Specified by:
updateProdSubstnGrpin interfaceProductSubstitutionGroupService- Parameters:
prodSubstnGrp-ProdSubstnGrpentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
ProdSubstnGrpentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteProdSubstnGrp
@Nonnull public DeleteRequestBuilder<ProdSubstnGrp> deleteProdSubstnGrp(@Nonnull ProdSubstnGrp prodSubstnGrp) Deprecated.Description copied from interface:ProductSubstitutionGroupServiceDeletes an existingProdSubstnGrpentity in the S/4HANA system.- Specified by:
deleteProdSubstnGrpin interfaceProductSubstitutionGroupService- Parameters:
prodSubstnGrp-ProdSubstnGrpentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
ProdSubstnGrpentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllProdSubstnGrpText
Deprecated.Description copied from interface:ProductSubstitutionGroupServiceFetch multipleProdSubstnGrpTxtentities.- Specified by:
getAllProdSubstnGrpTextin interfaceProductSubstitutionGroupService- Returns:
- A request builder to fetch multiple
ProdSubstnGrpTxtentities. 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.
-
countProdSubstnGrpText
Deprecated.Description copied from interface:ProductSubstitutionGroupServiceFetch the number of entries from theProdSubstnGrpTxtentity collection matching the filter and search expressions.- Specified by:
countProdSubstnGrpTextin interfaceProductSubstitutionGroupService- Returns:
- A request builder to fetch the count of
ProdSubstnGrpTxtentities. 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.
-
getProdSubstnGrpTextByKey
@Nonnull public GetByKeyRequestBuilder<ProdSubstnGrpTxt> getProdSubstnGrpTextByKey(String language, String mDSubstnObjectType, String mDSubstnGroup) Deprecated.Description copied from interface:ProductSubstitutionGroupServiceFetch a singleProdSubstnGrpTxtentity using key fields.- Specified by:
getProdSubstnGrpTextByKeyin interfaceProductSubstitutionGroupService- Parameters:
language- LanguageConstraints: Not nullable, Maximum length: 2
mDSubstnObjectType- SAP Object TypeConstraints: Not nullable, Maximum length: 30
mDSubstnGroup- Group NameConstraints: Not nullable, Maximum length: 20
- Returns:
- A request builder to fetch a single
ProdSubstnGrpTxtentity 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.
-
updateProdSubstnGrpText
@Nonnull public UpdateRequestBuilder<ProdSubstnGrpTxt> updateProdSubstnGrpText(@Nonnull ProdSubstnGrpTxt prodSubstnGrpTxt) Deprecated.Description copied from interface:ProductSubstitutionGroupServiceUpdate an existingProdSubstnGrpTxtentity and save it to the S/4HANA system.- Specified by:
updateProdSubstnGrpTextin interfaceProductSubstitutionGroupService- Parameters:
prodSubstnGrpTxt-ProdSubstnGrpTxtentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
ProdSubstnGrpTxtentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteProdSubstnGrpText
@Nonnull public DeleteRequestBuilder<ProdSubstnGrpTxt> deleteProdSubstnGrpText(@Nonnull ProdSubstnGrpTxt prodSubstnGrpTxt) Deprecated.Description copied from interface:ProductSubstitutionGroupServiceDeletes an existingProdSubstnGrpTxtentity in the S/4HANA system.- Specified by:
deleteProdSubstnGrpTextin interfaceProductSubstitutionGroupService- Parameters:
prodSubstnGrpTxt-ProdSubstnGrpTxtentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
ProdSubstnGrpTxtentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-