Class DefaultCompanySubstanceService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultCompanySubstanceService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,CompanySubstanceService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultCompanySubstanceService")
@Deprecated
public class DefaultCompanySubstanceService
extends Object
implements ServiceWithNavigableEntities, CompanySubstanceService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This service writes data that is provided by an external application to the company substance in the product compliance solution in SAP S/4HANA Cloud. It uses the provided data to create or update the company substance. In addition, the service can also read company substance data and provide this data to an external application. You can apply any filters to provide or retrieve all existing data. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_COMPANYSUBSTANCE_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Product Compliance - Integration(SAP_COM_0797) |
| Scope Items: | Chemical Compliance Approval for Purchased Material and Supplier(31G), Assess Marketability of a Product(31H), Assess Dangerous Goods for a Product(3FC), Manage Safety Data Sheets for Products(3VR), Substance Volume Tracking(4OL), Request Regulatory Documentation from Service Provider(6AV) |
| Authentication Methods: | x509 |
| Service Group Name: | API_COMPANYSUBSTANCE |
| Business Object: | Company Substance |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.CompanySubstanceService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingCompanySubstanceService.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 theCompanySubstanceentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCompanySubstanceTextentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCompanySubstanceVarAssgmtentity collection matching the filter and search expressions.Deprecated.Fetch multipleCompanySubstanceentities.Deprecated.Fetch multipleCompanySubstanceTextentities.Deprecated.Fetch multipleCompanySubstanceVarAssgmtentities.getCompanySubstanceByKey(UUID companySubstanceUUID) Deprecated.Fetch a singleCompanySubstanceentity using key fields.getCompanySubstanceTextByKey(UUID companySubstanceUUID, String language) Deprecated.Fetch a singleCompanySubstanceTextentity using key fields.getCompanySubstanceVarAssgmtByKey(UUID substanceVarAssgmtUUID) Deprecated.Fetch a singleCompanySubstanceVarAssgmtentity 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
-
DefaultCompanySubstanceService
public DefaultCompanySubstanceService()Deprecated.Creates a service usingCompanySubstanceService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:CompanySubstanceServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceCompanySubstanceService- 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:CompanySubstanceServiceCreates a batch request builder object.- Specified by:
batchin interfaceCompanySubstanceService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllCompanySubstance
Deprecated.Description copied from interface:CompanySubstanceServiceFetch multipleCompanySubstanceentities.- Specified by:
getAllCompanySubstancein interfaceCompanySubstanceService- Returns:
- A request builder to fetch multiple
CompanySubstanceentities. 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.
-
countCompanySubstance
Deprecated.Description copied from interface:CompanySubstanceServiceFetch the number of entries from theCompanySubstanceentity collection matching the filter and search expressions.- Specified by:
countCompanySubstancein interfaceCompanySubstanceService- Returns:
- A request builder to fetch the count of
CompanySubstanceentities. 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.
-
getCompanySubstanceByKey
@Nonnull public GetByKeyRequestBuilder<CompanySubstance> getCompanySubstanceByKey(UUID companySubstanceUUID) Deprecated.Description copied from interface:CompanySubstanceServiceFetch a singleCompanySubstanceentity using key fields.- Specified by:
getCompanySubstanceByKeyin interfaceCompanySubstanceService- Parameters:
companySubstanceUUID- SubstanceConstraints: Not nullable
- Returns:
- A request builder to fetch a single
CompanySubstanceentity 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.
-
getAllCompanySubstanceText
Deprecated.Description copied from interface:CompanySubstanceServiceFetch multipleCompanySubstanceTextentities.- Specified by:
getAllCompanySubstanceTextin interfaceCompanySubstanceService- Returns:
- A request builder to fetch multiple
CompanySubstanceTextentities. 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.
-
countCompanySubstanceText
Deprecated.Description copied from interface:CompanySubstanceServiceFetch the number of entries from theCompanySubstanceTextentity collection matching the filter and search expressions.- Specified by:
countCompanySubstanceTextin interfaceCompanySubstanceService- Returns:
- A request builder to fetch the count of
CompanySubstanceTextentities. 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.
-
getCompanySubstanceTextByKey
@Nonnull public GetByKeyRequestBuilder<CompanySubstanceText> getCompanySubstanceTextByKey(UUID companySubstanceUUID, String language) Deprecated.Description copied from interface:CompanySubstanceServiceFetch a singleCompanySubstanceTextentity using key fields.- Specified by:
getCompanySubstanceTextByKeyin interfaceCompanySubstanceService- Parameters:
companySubstanceUUID- SubstanceConstraints: Not nullable
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
CompanySubstanceTextentity 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.
-
getAllCompanySubstanceVarAssgmt
Deprecated.Description copied from interface:CompanySubstanceServiceFetch multipleCompanySubstanceVarAssgmtentities.- Specified by:
getAllCompanySubstanceVarAssgmtin interfaceCompanySubstanceService- Returns:
- A request builder to fetch multiple
CompanySubstanceVarAssgmtentities. 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.
-
countCompanySubstanceVarAssgmt
Deprecated.Description copied from interface:CompanySubstanceServiceFetch the number of entries from theCompanySubstanceVarAssgmtentity collection matching the filter and search expressions.- Specified by:
countCompanySubstanceVarAssgmtin interfaceCompanySubstanceService- Returns:
- A request builder to fetch the count of
CompanySubstanceVarAssgmtentities. 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.
-
getCompanySubstanceVarAssgmtByKey
@Nonnull public GetByKeyRequestBuilder<CompanySubstanceVarAssgmt> getCompanySubstanceVarAssgmtByKey(UUID substanceVarAssgmtUUID) Deprecated.Description copied from interface:CompanySubstanceServiceFetch a singleCompanySubstanceVarAssgmtentity using key fields.- Specified by:
getCompanySubstanceVarAssgmtByKeyin interfaceCompanySubstanceService- Parameters:
substanceVarAssgmtUUID- Substance Variant AssignmentConstraints: Not nullable
- Returns:
- A request builder to fetch a single
CompanySubstanceVarAssgmtentity 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
-