Class DefaultMerchandiseCategoryService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,MerchandiseCategoryService
This service enables you to create, read, update, and delete merchandise category data. It includes merchandise category description, assignment of characteristic to merchandise category, assignment of merchandise category to merchandise category hierarchy node, and characteristic value restriction.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_MERCHANDISECATEGORY_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | RFM - Merchandise Category and Merchandise Category Hierarchy Node Integration(SAP_COM_0799) |
| Scope Items: | Product Taxonomies for Retail(5FJ) |
| Authentication Methods: | x509 |
| Service Group Name: | API_MERCHANDISECATEGORY |
| Business Object: | MerchandiseCategory |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.MerchandiseCategoryService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingMerchandiseCategoryService.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 theMerchandiseCategoryentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theMerchandiseCategoryTextentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theMrchdsCatCharacteristicentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theMrchdsCatCharcValRstrcnentity collection matching the filter and search expressions.createMerchandiseCategory(MerchandiseCategory merchandiseCategory) Deprecated.Create a newMerchandiseCategoryentity and save it to the S/4HANA system.deleteMerchandiseCategory(MerchandiseCategory merchandiseCategory) Deprecated.Deletes an existingMerchandiseCategoryentity in the S/4HANA system.deleteMerchandiseCategoryText(MerchandiseCategoryText merchandiseCategoryText) Deprecated.Deletes an existingMerchandiseCategoryTextentity in the S/4HANA system.deleteMrchdsCatCharacteristic(MrchdsCatCharacteristic mrchdsCatCharacteristic) Deprecated.Deletes an existingMrchdsCatCharacteristicentity in the S/4HANA system.deleteMrchdsCatCharcValRstrcn(MrchdsCatCharcValRstrcn mrchdsCatCharcValRstrcn) Deprecated.Deletes an existingMrchdsCatCharcValRstrcnentity in the S/4HANA system.Deprecated.Fetch multipleMerchandiseCategoryentities.Deprecated.Fetch multipleMerchandiseCategoryTextentities.Deprecated.Fetch multipleMrchdsCatCharacteristicentities.Deprecated.Fetch multipleMrchdsCatCharcValRstrcnentities.getMerchandiseCategoryByKey(String merchandiseCategory) Deprecated.Fetch a singleMerchandiseCategoryentity using key fields.getMerchandiseCategoryTextByKey(String merchandiseCategory, String language) Deprecated.Fetch a singleMerchandiseCategoryTextentity using key fields.getMrchdsCatCharacteristicByKey(String merchandiseCategory, String characteristic) Deprecated.Fetch a singleMrchdsCatCharacteristicentity using key fields.getMrchdsCatCharcValRstrcnByKey(String merchandiseCategory, String characteristic, String clfnCharcValuePositionNumber) Deprecated.Fetch a singleMrchdsCatCharcValRstrcnentity using key fields.Deprecated.updateMerchandiseCategory(MerchandiseCategory merchandiseCategory) Deprecated.Update an existingMerchandiseCategoryentity and save it to the S/4HANA system.updateMerchandiseCategoryText(MerchandiseCategoryText merchandiseCategoryText) Deprecated.Update an existingMerchandiseCategoryTextentity 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
-
DefaultMerchandiseCategoryService
public DefaultMerchandiseCategoryService()Deprecated.Creates a service usingMerchandiseCategoryService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:MerchandiseCategoryServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceMerchandiseCategoryService- 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:MerchandiseCategoryServiceCreates a batch request builder object.- Specified by:
batchin interfaceMerchandiseCategoryService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllMerchandiseCategory
Deprecated.Description copied from interface:MerchandiseCategoryServiceFetch multipleMerchandiseCategoryentities.- Specified by:
getAllMerchandiseCategoryin interfaceMerchandiseCategoryService- Returns:
- A request builder to fetch multiple
MerchandiseCategoryentities. 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.
-
countMerchandiseCategory
Deprecated.Description copied from interface:MerchandiseCategoryServiceFetch the number of entries from theMerchandiseCategoryentity collection matching the filter and search expressions.- Specified by:
countMerchandiseCategoryin interfaceMerchandiseCategoryService- Returns:
- A request builder to fetch the count of
MerchandiseCategoryentities. 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.
-
getMerchandiseCategoryByKey
@Nonnull public GetByKeyRequestBuilder<MerchandiseCategory> getMerchandiseCategoryByKey(String merchandiseCategory) Deprecated.Description copied from interface:MerchandiseCategoryServiceFetch a singleMerchandiseCategoryentity using key fields.- Specified by:
getMerchandiseCategoryByKeyin interfaceMerchandiseCategoryService- Parameters:
merchandiseCategory- Merchandise CategoryConstraints: Not nullable, Maximum length: 9
- Returns:
- A request builder to fetch a single
MerchandiseCategoryentity 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.
-
createMerchandiseCategory
@Nonnull public CreateRequestBuilder<MerchandiseCategory> createMerchandiseCategory(@Nonnull MerchandiseCategory merchandiseCategory) Deprecated.Description copied from interface:MerchandiseCategoryServiceCreate a newMerchandiseCategoryentity and save it to the S/4HANA system.- Specified by:
createMerchandiseCategoryin interfaceMerchandiseCategoryService- Parameters:
merchandiseCategory-MerchandiseCategoryentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
MerchandiseCategoryentity. To perform execution, call theexecutemethod on the request builder object.
-
updateMerchandiseCategory
@Nonnull public UpdateRequestBuilder<MerchandiseCategory> updateMerchandiseCategory(@Nonnull MerchandiseCategory merchandiseCategory) Deprecated.Description copied from interface:MerchandiseCategoryServiceUpdate an existingMerchandiseCategoryentity and save it to the S/4HANA system.- Specified by:
updateMerchandiseCategoryin interfaceMerchandiseCategoryService- Parameters:
merchandiseCategory-MerchandiseCategoryentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
MerchandiseCategoryentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteMerchandiseCategory
@Nonnull public DeleteRequestBuilder<MerchandiseCategory> deleteMerchandiseCategory(@Nonnull MerchandiseCategory merchandiseCategory) Deprecated.Description copied from interface:MerchandiseCategoryServiceDeletes an existingMerchandiseCategoryentity in the S/4HANA system.- Specified by:
deleteMerchandiseCategoryin interfaceMerchandiseCategoryService- Parameters:
merchandiseCategory-MerchandiseCategoryentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
MerchandiseCategoryentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllMerchandiseCategoryText
Deprecated.Description copied from interface:MerchandiseCategoryServiceFetch multipleMerchandiseCategoryTextentities.- Specified by:
getAllMerchandiseCategoryTextin interfaceMerchandiseCategoryService- Returns:
- A request builder to fetch multiple
MerchandiseCategoryTextentities. 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.
-
countMerchandiseCategoryText
Deprecated.Description copied from interface:MerchandiseCategoryServiceFetch the number of entries from theMerchandiseCategoryTextentity collection matching the filter and search expressions.- Specified by:
countMerchandiseCategoryTextin interfaceMerchandiseCategoryService- Returns:
- A request builder to fetch the count of
MerchandiseCategoryTextentities. 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.
-
getMerchandiseCategoryTextByKey
@Nonnull public GetByKeyRequestBuilder<MerchandiseCategoryText> getMerchandiseCategoryTextByKey(String merchandiseCategory, String language) Deprecated.Description copied from interface:MerchandiseCategoryServiceFetch a singleMerchandiseCategoryTextentity using key fields.- Specified by:
getMerchandiseCategoryTextByKeyin interfaceMerchandiseCategoryService- Parameters:
merchandiseCategory- Material GroupConstraints: Not nullable, Maximum length: 9
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
MerchandiseCategoryTextentity 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.
-
updateMerchandiseCategoryText
@Nonnull public UpdateRequestBuilder<MerchandiseCategoryText> updateMerchandiseCategoryText(@Nonnull MerchandiseCategoryText merchandiseCategoryText) Deprecated.Description copied from interface:MerchandiseCategoryServiceUpdate an existingMerchandiseCategoryTextentity and save it to the S/4HANA system.- Specified by:
updateMerchandiseCategoryTextin interfaceMerchandiseCategoryService- Parameters:
merchandiseCategoryText-MerchandiseCategoryTextentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
MerchandiseCategoryTextentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteMerchandiseCategoryText
@Nonnull public DeleteRequestBuilder<MerchandiseCategoryText> deleteMerchandiseCategoryText(@Nonnull MerchandiseCategoryText merchandiseCategoryText) Deprecated.Description copied from interface:MerchandiseCategoryServiceDeletes an existingMerchandiseCategoryTextentity in the S/4HANA system.- Specified by:
deleteMerchandiseCategoryTextin interfaceMerchandiseCategoryService- Parameters:
merchandiseCategoryText-MerchandiseCategoryTextentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
MerchandiseCategoryTextentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllMrchdsCatCharacteristic
Deprecated.Description copied from interface:MerchandiseCategoryServiceFetch multipleMrchdsCatCharacteristicentities.- Specified by:
getAllMrchdsCatCharacteristicin interfaceMerchandiseCategoryService- Returns:
- A request builder to fetch multiple
MrchdsCatCharacteristicentities. 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.
-
countMrchdsCatCharacteristic
Deprecated.Description copied from interface:MerchandiseCategoryServiceFetch the number of entries from theMrchdsCatCharacteristicentity collection matching the filter and search expressions.- Specified by:
countMrchdsCatCharacteristicin interfaceMerchandiseCategoryService- Returns:
- A request builder to fetch the count of
MrchdsCatCharacteristicentities. 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.
-
getMrchdsCatCharacteristicByKey
@Nonnull public GetByKeyRequestBuilder<MrchdsCatCharacteristic> getMrchdsCatCharacteristicByKey(String merchandiseCategory, String characteristic) Deprecated.Description copied from interface:MerchandiseCategoryServiceFetch a singleMrchdsCatCharacteristicentity using key fields.- Specified by:
getMrchdsCatCharacteristicByKeyin interfaceMerchandiseCategoryService- Parameters:
merchandiseCategory- Merchandise CategoryConstraints: Not nullable, Maximum length: 9
characteristic- Characteristic NameConstraints: Not nullable, Maximum length: 30
- Returns:
- A request builder to fetch a single
MrchdsCatCharacteristicentity 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.
-
deleteMrchdsCatCharacteristic
@Nonnull public DeleteRequestBuilder<MrchdsCatCharacteristic> deleteMrchdsCatCharacteristic(@Nonnull MrchdsCatCharacteristic mrchdsCatCharacteristic) Deprecated.Description copied from interface:MerchandiseCategoryServiceDeletes an existingMrchdsCatCharacteristicentity in the S/4HANA system.- Specified by:
deleteMrchdsCatCharacteristicin interfaceMerchandiseCategoryService- Parameters:
mrchdsCatCharacteristic-MrchdsCatCharacteristicentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
MrchdsCatCharacteristicentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllMrchdsCatCharcValRstrcn
Deprecated.Description copied from interface:MerchandiseCategoryServiceFetch multipleMrchdsCatCharcValRstrcnentities.- Specified by:
getAllMrchdsCatCharcValRstrcnin interfaceMerchandiseCategoryService- Returns:
- A request builder to fetch multiple
MrchdsCatCharcValRstrcnentities. 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.
-
countMrchdsCatCharcValRstrcn
Deprecated.Description copied from interface:MerchandiseCategoryServiceFetch the number of entries from theMrchdsCatCharcValRstrcnentity collection matching the filter and search expressions.- Specified by:
countMrchdsCatCharcValRstrcnin interfaceMerchandiseCategoryService- Returns:
- A request builder to fetch the count of
MrchdsCatCharcValRstrcnentities. 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.
-
getMrchdsCatCharcValRstrcnByKey
@Nonnull public GetByKeyRequestBuilder<MrchdsCatCharcValRstrcn> getMrchdsCatCharcValRstrcnByKey(String merchandiseCategory, String characteristic, String clfnCharcValuePositionNumber) Deprecated.Description copied from interface:MerchandiseCategoryServiceFetch a singleMrchdsCatCharcValRstrcnentity using key fields.- Specified by:
getMrchdsCatCharcValRstrcnByKeyin interfaceMerchandiseCategoryService- Parameters:
merchandiseCategory- Merchandise CategoryConstraints: Not nullable, Maximum length: 9
characteristic- Characteristic NameConstraints: Not nullable, Maximum length: 30
clfnCharcValuePositionNumber- Characteristic value counterConstraints: Not nullable, Maximum length: 3
- Returns:
- A request builder to fetch a single
MrchdsCatCharcValRstrcnentity 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.
-
deleteMrchdsCatCharcValRstrcn
@Nonnull public DeleteRequestBuilder<MrchdsCatCharcValRstrcn> deleteMrchdsCatCharcValRstrcn(@Nonnull MrchdsCatCharcValRstrcn mrchdsCatCharcValRstrcn) Deprecated.Description copied from interface:MerchandiseCategoryServiceDeletes an existingMrchdsCatCharcValRstrcnentity in the S/4HANA system.- Specified by:
deleteMrchdsCatCharcValRstrcnin interfaceMerchandiseCategoryService- Parameters:
mrchdsCatCharcValRstrcn-MrchdsCatCharcValRstrcnentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
MrchdsCatCharcValRstrcnentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-