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

com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultQualityInspectionDataService 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.qualityinspectiondata.InspLotUsageDecision;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspLotUsageDecisionByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspLotUsageDecisionCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspLotUsageDecisionFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspLotUsageDecisionUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionCharacteristicByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionCharacteristicFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionLot;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionLotByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionLotFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionLotUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionLotWithStatusByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionLotWithStatusFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionOperationByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionOperationFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionResult;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionResultByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionResultCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionResultFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionResultUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionResultValueByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.qualityinspectiondata.InspectionResultValueFluentHelper;

/**
 * 

* This service enables you to read quality inspection data, for example, inspection lots, inspection operations, * inspection characteristics, inspection results, and usage decisions. In addition, it enables you to update inspection * lots, create and update usage decisions and create and update summarized inspection results. *

*

* Business * Documentation *

*

* Reference: SAP API * Business Hub *

*

Details:

* * * * * * * * * * * * * * * * * * * * * * * * * *
OData Service:API_INSPECTIONLOT_SRV
API Version:1
Communication Scenario:Quality Inspection Process Integration (SAP_COM_0318)
Scope Items:Quality Management in Discrete Manufacturing (1E1), * Quality Management in Procurement (1FM), * Quality Management in Sales (1MP), * Quality Management in Stock Handling (1MR)
Authentication Methods:Basic, x509, OAuth2
Business Object:InspectionLot
* */ @Named( "com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultQualityInspectionDataService" ) public class DefaultQualityInspectionDataService implements QualityInspectionDataService { @Nonnull private final String servicePath; /** * Creates a service using {@link QualityInspectionDataService#DEFAULT_SERVICE_PATH} to send the requests. * */ public DefaultQualityInspectionDataService() { servicePath = QualityInspectionDataService.DEFAULT_SERVICE_PATH; } /** * Creates a service using the provided service path to send the requests. *

* Used by the fluent {@link #withServicePath(String)} method. * */ private DefaultQualityInspectionDataService( @Nonnull final String servicePath ) { this.servicePath = servicePath; } @Override @Nonnull public DefaultQualityInspectionDataService withServicePath( @Nonnull final String servicePath ) { return new DefaultQualityInspectionDataService(servicePath); } @Override @Nonnull public InspectionCharacteristicFluentHelper getAllInspectionCharacteristic() { return new InspectionCharacteristicFluentHelper(servicePath); } @Override @Nonnull public InspectionCharacteristicByKeyFluentHelper getInspectionCharacteristicByKey( final String inspectionLot, final String inspPlanOperationInternalID, final String inspectionCharacteristic ) { return new InspectionCharacteristicByKeyFluentHelper( servicePath, inspectionLot, inspPlanOperationInternalID, inspectionCharacteristic); } @Override @Nonnull public InspectionLotFluentHelper getAllInspectionLot() { return new InspectionLotFluentHelper(servicePath); } @Override @Nonnull public InspectionLotByKeyFluentHelper getInspectionLotByKey( final String inspectionLot ) { return new InspectionLotByKeyFluentHelper(servicePath, inspectionLot); } @Override @Nonnull public InspectionLotUpdateFluentHelper updateInspectionLot( @Nonnull final InspectionLot inspectionLot ) { return new InspectionLotUpdateFluentHelper(servicePath, inspectionLot); } @Override @Nonnull public InspectionLotWithStatusFluentHelper getAllInspectionLotWithStatus() { return new InspectionLotWithStatusFluentHelper(servicePath); } @Override @Nonnull public InspectionLotWithStatusByKeyFluentHelper getInspectionLotWithStatusByKey( final String inspectionLot ) { return new InspectionLotWithStatusByKeyFluentHelper(servicePath, inspectionLot); } @Override @Nonnull public InspectionOperationFluentHelper getAllInspectionOperation() { return new InspectionOperationFluentHelper(servicePath); } @Override @Nonnull public InspectionOperationByKeyFluentHelper getInspectionOperationByKey( final String inspectionLot, final String inspPlanOperationInternalID ) { return new InspectionOperationByKeyFluentHelper(servicePath, inspectionLot, inspPlanOperationInternalID); } @Override @Nonnull public InspectionResultFluentHelper getAllInspectionResult() { return new InspectionResultFluentHelper(servicePath); } @Override @Nonnull public InspectionResultByKeyFluentHelper getInspectionResultByKey( final String inspectionLot, final String inspPlanOperationInternalID, final String inspectionCharacteristic ) { return new InspectionResultByKeyFluentHelper( servicePath, inspectionLot, inspPlanOperationInternalID, inspectionCharacteristic); } @Override @Nonnull public InspectionResultCreateFluentHelper createInspectionResult( @Nonnull final InspectionResult inspectionResult ) { return new InspectionResultCreateFluentHelper(servicePath, inspectionResult); } @Override @Nonnull public InspectionResultUpdateFluentHelper updateInspectionResult( @Nonnull final InspectionResult inspectionResult ) { return new InspectionResultUpdateFluentHelper(servicePath, inspectionResult); } @Override @Nonnull public InspectionResultValueFluentHelper getAllInspectionResultValue() { return new InspectionResultValueFluentHelper(servicePath); } @Override @Nonnull public InspectionResultValueByKeyFluentHelper getInspectionResultValueByKey( final String inspectionLot, final String inspPlanOperationInternalID, final String inspectionCharacteristic, final String inspResultValueInternalID ) { return new InspectionResultValueByKeyFluentHelper( servicePath, inspectionLot, inspPlanOperationInternalID, inspectionCharacteristic, inspResultValueInternalID); } @Override @Nonnull public InspLotUsageDecisionFluentHelper getAllInspLotUsageDecision() { return new InspLotUsageDecisionFluentHelper(servicePath); } @Override @Nonnull public InspLotUsageDecisionByKeyFluentHelper getInspLotUsageDecisionByKey( final String inspectionLot ) { return new InspLotUsageDecisionByKeyFluentHelper(servicePath, inspectionLot); } @Override @Nonnull public InspLotUsageDecisionCreateFluentHelper createInspLotUsageDecision( @Nonnull final InspLotUsageDecision inspLotUsageDecision ) { return new InspLotUsageDecisionCreateFluentHelper(servicePath, inspLotUsageDecision); } @Override @Nonnull public InspLotUsageDecisionUpdateFluentHelper updateInspLotUsageDecision( @Nonnull final InspLotUsageDecision inspLotUsageDecision ) { return new InspLotUsageDecisionUpdateFluentHelper(servicePath, inspLotUsageDecision); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy