Class DefaultProductTypeService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductTypeService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ProductTypeService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductTypeService")
@Deprecated
public class DefaultProductTypeService
extends Object
implements ServiceWithNavigableEntities, ProductTypeService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This synchronous inbound OData service enables external systems and other consumers to read product types and their descriptions. This service only supports the GET operation..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | PRODUCTTYPE_0001 |
| API Version: | 1.0.1 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Product Integration(SAP_COM_0009) |
| Scope Items: | Master Data Integration(1RO), Opportunity-to-Order with SAP Cloud for Customer(1VP) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PRODUCTTYPE |
| Business Object: | Product |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ProductTypeService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingProductTypeService.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 theProductTypeentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theProductTypeTextentity collection matching the filter and search expressions.Deprecated.Fetch multipleProductTypeentities.Deprecated.Fetch multipleProductTypeTextentities.getProductTypeByKey(String productType) Deprecated.Fetch a singleProductTypeentity using key fields.getProductTypeTextByKey(String productType, String language) Deprecated.Fetch a singleProductTypeTextentity using key fields.Deprecated.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
-
DefaultProductTypeService
public DefaultProductTypeService()Deprecated.Creates a service usingProductTypeService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ProductTypeServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceProductTypeService- 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:ProductTypeServiceCreates a batch request builder object.- Specified by:
batchin interfaceProductTypeService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllProductType
Deprecated.Description copied from interface:ProductTypeServiceFetch multipleProductTypeentities.- Specified by:
getAllProductTypein interfaceProductTypeService- Returns:
- A request builder to fetch multiple
ProductTypeentities. 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.
-
countProductType
Deprecated.Description copied from interface:ProductTypeServiceFetch the number of entries from theProductTypeentity collection matching the filter and search expressions.- Specified by:
countProductTypein interfaceProductTypeService- Returns:
- A request builder to fetch the count of
ProductTypeentities. 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.
-
getProductTypeByKey
Deprecated.Description copied from interface:ProductTypeServiceFetch a singleProductTypeentity using key fields.- Specified by:
getProductTypeByKeyin interfaceProductTypeService- Parameters:
productType- Product TypeConstraints: Not nullable, Maximum length: 4
- Returns:
- A request builder to fetch a single
ProductTypeentity 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.
-
getAllProductTypeText
Deprecated.Description copied from interface:ProductTypeServiceFetch multipleProductTypeTextentities.- Specified by:
getAllProductTypeTextin interfaceProductTypeService- Returns:
- A request builder to fetch multiple
ProductTypeTextentities. 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.
-
countProductTypeText
Deprecated.Description copied from interface:ProductTypeServiceFetch the number of entries from theProductTypeTextentity collection matching the filter and search expressions.- Specified by:
countProductTypeTextin interfaceProductTypeService- Returns:
- A request builder to fetch the count of
ProductTypeTextentities. 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.
-
getProductTypeTextByKey
@Nonnull public GetByKeyRequestBuilder<ProductTypeText> getProductTypeTextByKey(String productType, String language) Deprecated.Description copied from interface:ProductTypeServiceFetch a singleProductTypeTextentity using key fields.- Specified by:
getProductTypeTextByKeyin interfaceProductTypeService- Parameters:
productType- Product TypeConstraints: Not nullable, Maximum length: 4
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
ProductTypeTextentity 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.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-