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

com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultRawSubstanceService 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.rawsubstance.ProductByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.ProductDescriptionByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.ProductDescriptionFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.ProductFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.ProductPlantByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.ProductPlantFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.ProductSalesDeliveryByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.ProductSalesDeliveryFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.ProductStorageLocationByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.ProductStorageLocationFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.RawSubstanceByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.RawSubstanceFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecAssignedMatlForKeyDateByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecAssignedMatlForKeyDateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecAuthorizationGroupTextByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecAuthorizationGroupTextFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecCharByValueAssgmtInstByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecCharByValueAssgmtInstFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecIdentifierByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecIdentifierFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecStatusAttributesByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecStatusAttributesFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecStatusNextStatusByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecStatusNextStatusFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecStatusSchemaByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecStatusSchemaFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecValAssgmtInstanceWthCompByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.SpecValAssgmtInstanceWthCompFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.rawsubstance.batch.DefaultRawSubstanceServiceBatch;

/**
 * 

* You use this service to read raw substance attributes, such as header data or composition via an OData service. *

*

* Business * Documentation *

*

* Reference: * SAP * API Business Hub *

*

Details:

* * * * * * * * * * * * * * * * * *
OData Service:API_RAWSUBSTANCE
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.DefaultRawSubstanceService" ) public class DefaultRawSubstanceService implements RawSubstanceService { @Nonnull private final String servicePath; /** * Creates a service using {@link RawSubstanceService#DEFAULT_SERVICE_PATH} to send the requests. * */ public DefaultRawSubstanceService() { servicePath = RawSubstanceService.DEFAULT_SERVICE_PATH; } /** * Creates a service using the provided service path to send the requests. *

* Used by the fluent {@link #withServicePath(String)} method. * */ private DefaultRawSubstanceService( @Nonnull final String servicePath ) { this.servicePath = servicePath; } @Override @Nonnull public DefaultRawSubstanceService withServicePath( @Nonnull final String servicePath ) { return new DefaultRawSubstanceService(servicePath); } /** * {@inheritDoc} * */ @Override @Nonnull public DefaultRawSubstanceServiceBatch batch() { return new DefaultRawSubstanceServiceBatch(this); } @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 RawSubstanceFluentHelper getAllRawSubstance() { return new RawSubstanceFluentHelper(servicePath); } @Override @Nonnull public RawSubstanceByKeyFluentHelper getRawSubstanceByKey( final String rawSubstanceInternalID ) { return new RawSubstanceByKeyFluentHelper(servicePath, rawSubstanceInternalID); } @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