All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultRealSubstanceService Maven / Gradle / Ivy

/*
 * Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
 */

package com.sap.cloud.sdk.s4hana.datamodel.odata.services;

import javax.annotation.Nonnull;
import javax.inject.Named;

import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.ProductByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.ProductDescriptionByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.ProductDescriptionFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.ProductFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.ProductPlantByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.ProductPlantFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.ProductSalesDeliveryByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.ProductSalesDeliveryFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.ProductStorageLocationByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.ProductStorageLocationFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.RealSubstanceByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.RealSubstanceFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecAssignedMatlForKeyDateByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecAssignedMatlForKeyDateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecAuthorizationGroupTextByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecAuthorizationGroupTextFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecCharByValueAssgmtInstByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecCharByValueAssgmtInstFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecIdentifierByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecIdentifierFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecStatusAttributesByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecStatusAttributesFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecStatusNextStatusByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecStatusNextStatusFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecStatusSchemaByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecStatusSchemaFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecValAssgmtInstanceWthCompByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.realsubstance.SpecValAssgmtInstanceWthCompFluentHelper;

/**
 * 

* With this service, you can read real substance attributes, such as header data or composition via an OData service. *

*

* Business * Documentation *

*

* Reference: * SAP * API Business Hub *

*

Details:

* * * * * * * * * * * * * * * * * *
OData Service:API_REALSUBSTANCE
API Version:1
Communication Scenario:Product Lifecycle Management - Recipe Development Integration (SAP_COM_0136)
Scope Items:Formulation – Recipe Development (1QC)
* */ @Named( "com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultRealSubstanceService" ) public class DefaultRealSubstanceService implements RealSubstanceService { @Nonnull private final String servicePath; /** * Creates a service using {@link RealSubstanceService#DEFAULT_SERVICE_PATH} to send the requests. * */ public DefaultRealSubstanceService() { servicePath = RealSubstanceService.DEFAULT_SERVICE_PATH; } /** * Creates a service using the provided service path to send the requests. *

* Used by the fluent {@link #withServicePath(String)} method. * */ private DefaultRealSubstanceService( @Nonnull final String servicePath ) { this.servicePath = servicePath; } @Override @Nonnull public DefaultRealSubstanceService withServicePath( @Nonnull final String servicePath ) { return new DefaultRealSubstanceService(servicePath); } @Override @Nonnull public ProductFluentHelper getAllProduct() { return new ProductFluentHelper(servicePath); } @Override @Nonnull public ProductByKeyFluentHelper getProductByKey( final String product ) { return new ProductByKeyFluentHelper(servicePath, product); } @Override @Nonnull public ProductDescriptionFluentHelper getAllProductDescription() { return new ProductDescriptionFluentHelper(servicePath); } @Override @Nonnull public ProductDescriptionByKeyFluentHelper getProductDescriptionByKey( final String product, final String language ) { return new ProductDescriptionByKeyFluentHelper(servicePath, product, language); } @Override @Nonnull public ProductPlantFluentHelper getAllProductPlant() { return new ProductPlantFluentHelper(servicePath); } @Override @Nonnull public ProductPlantByKeyFluentHelper getProductPlantByKey( final String product, final String plant ) { return new ProductPlantByKeyFluentHelper(servicePath, product, plant); } @Override @Nonnull public ProductSalesDeliveryFluentHelper getAllProductSalesDelivery() { return new ProductSalesDeliveryFluentHelper(servicePath); } @Override @Nonnull public ProductSalesDeliveryByKeyFluentHelper getProductSalesDeliveryByKey( final String product, final String productSalesOrg, final String productDistributionChnl ) { return new ProductSalesDeliveryByKeyFluentHelper( servicePath, product, productSalesOrg, productDistributionChnl); } @Override @Nonnull public ProductStorageLocationFluentHelper getAllProductStorageLocation() { return new ProductStorageLocationFluentHelper(servicePath); } @Override @Nonnull public ProductStorageLocationByKeyFluentHelper getProductStorageLocationByKey( final String product, final String plant, final String storageLocation ) { return new ProductStorageLocationByKeyFluentHelper(servicePath, product, plant, storageLocation); } @Override @Nonnull public RealSubstanceFluentHelper getAllRealSubstance() { return new RealSubstanceFluentHelper(servicePath); } @Override @Nonnull public RealSubstanceByKeyFluentHelper getRealSubstanceByKey( final String realSubstanceInternalID ) { return new RealSubstanceByKeyFluentHelper(servicePath, realSubstanceInternalID); } @Override @Nonnull public SpecAssignedMatlForKeyDateFluentHelper getAllSpecAssignedMatlForKeyDate() { return new SpecAssignedMatlForKeyDateFluentHelper(servicePath); } @Override @Nonnull public SpecAssignedMatlForKeyDateByKeyFluentHelper getSpecAssignedMatlForKeyDateByKey( final String specMaterialAssgmtInternalID, final String specMaterialAssgmtChangeState ) { return new SpecAssignedMatlForKeyDateByKeyFluentHelper( servicePath, specMaterialAssgmtInternalID, specMaterialAssgmtChangeState); } @Override @Nonnull public SpecAuthorizationGroupTextFluentHelper getAllSpecAuthorizationGroupText() { return new SpecAuthorizationGroupTextFluentHelper(servicePath); } @Override @Nonnull public SpecAuthorizationGroupTextByKeyFluentHelper getSpecAuthorizationGroupTextByKey( final String specificationAuthznGroup, final String language ) { return new SpecAuthorizationGroupTextByKeyFluentHelper(servicePath, specificationAuthznGroup, language); } @Override @Nonnull public SpecCharByValueAssgmtInstFluentHelper getAllSpecCharByValueAssgmtInst() { return new SpecCharByValueAssgmtInstFluentHelper(servicePath); } @Override @Nonnull public SpecCharByValueAssgmtInstByKeyFluentHelper getSpecCharByValueAssgmtInstByKey( final String specificationInternalID, final String specValAssgmtType, final String specificationRating, final String specificationValidityArea ) { return new SpecCharByValueAssgmtInstByKeyFluentHelper( servicePath, specificationInternalID, specValAssgmtType, specificationRating, specificationValidityArea); } @Override @Nonnull public SpecIdentifierFluentHelper getAllSpecIdentifier() { return new SpecIdentifierFluentHelper(servicePath); } @Override @Nonnull public SpecIdentifierByKeyFluentHelper getSpecIdentifierByKey( final String specIdfgDescInternalID, final String specIdfgDescChangeState ) { return new SpecIdentifierByKeyFluentHelper(servicePath, specIdfgDescInternalID, specIdfgDescChangeState); } @Override @Nonnull public SpecStatusAttributesFluentHelper getAllSpecStatusAttributes() { return new SpecStatusAttributesFluentHelper(servicePath); } @Override @Nonnull public SpecStatusAttributesByKeyFluentHelper getSpecStatusAttributesByKey( final String specificationHeaderStatus, final String specificationHdrStsAttribute ) { return new SpecStatusAttributesByKeyFluentHelper( servicePath, specificationHeaderStatus, specificationHdrStsAttribute); } @Override @Nonnull public SpecStatusNextStatusFluentHelper getAllSpecStatusNextStatus() { return new SpecStatusNextStatusFluentHelper(servicePath); } @Override @Nonnull public SpecStatusNextStatusByKeyFluentHelper getSpecStatusNextStatusByKey( final String specificationHdrStsSchema, final String specificationHdrStsSchemaFrSts, final String specificationHdrStsSchemaToSts ) { return new SpecStatusNextStatusByKeyFluentHelper( servicePath, specificationHdrStsSchema, specificationHdrStsSchemaFrSts, specificationHdrStsSchemaToSts); } @Override @Nonnull public SpecStatusSchemaFluentHelper getAllSpecStatusSchema() { return new SpecStatusSchemaFluentHelper(servicePath); } @Override @Nonnull public SpecStatusSchemaByKeyFluentHelper getSpecStatusSchemaByKey( final String specificationType, final String specificationHdrStsSchema ) { return new SpecStatusSchemaByKeyFluentHelper(servicePath, specificationType, specificationHdrStsSchema); } @Override @Nonnull public SpecValAssgmtInstanceWthCompFluentHelper getAllSpecValAssgmtInstanceWthComp() { return new SpecValAssgmtInstanceWthCompFluentHelper(servicePath); } @Override @Nonnull public SpecValAssgmtInstanceWthCompByKeyFluentHelper getSpecValAssgmtInstanceWthCompByKey( final String specificationInternalID, final String specValAssgmtType, final String specificationRating, final String specificationValidityArea, final String componentSpecificationIntID ) { return new SpecValAssgmtInstanceWthCompByKeyFluentHelper( servicePath, specificationInternalID, specValAssgmtType, specificationRating, specificationValidityArea, componentSpecificationIntID); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy