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

com.sap.cloud.sdk.s4hana.datamodel.odata.services.BatchService 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 com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.Batch;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharcByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharcFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharcValueByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharcValueFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchClassByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchClassFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchPlant;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchPlantByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchPlantFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchPlantUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.batch.BatchServiceBatch;

/**
 * 

* This service enables you to create, change and read batches. The service is based on the OData protocol, and can be * consumed by external systems and user interfaces. *

*

* Business * Documentation *

*

* Reference: * SAP API * Business Hub *

*

Details:

* * * * * * * * * * * * * * * * * * * * * *
OData Service:API_BATCH_SRV
API Version:1
Communication Scenario:Batch Management OData Integration (SAP_COM_0337)
Scope Items:Batch Management (BLF)
Authentication Methods:Basic, x509, OAuth2
* */ public interface BatchService extends com.sap.cloud.sdk.s4hana.datamodel.odata.helper.batch.BatchService { /** * If no other path was provided via the {@link #withServicePath(String)} method, this is the default service path * used to access the endpoint. * */ String DEFAULT_SERVICE_PATH = "/sap/opu/odata/sap/API_BATCH_SRV"; /** * Overrides the default service path and returns a new service instance with the specified service path. Also * adjusts the respective entity URLs. * * @param servicePath * Service path that will override the default. * @return A new service instance with the specified service path. */ @Nonnull BatchService withServicePath( @Nonnull final String servicePath ); /** * Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.Batch Batch} entities. * * @return A fluent helper to fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.Batch * Batch} entities. This fluent helper allows methods which modify the underlying query to be called before * executing the query itself. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchFluentHelper#execute execute} * method on the fluent helper object. */ @Nonnull BatchFluentHelper getAllBatch(); /** * Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.Batch Batch} entity using key * fields. * * @param material * Alphanumeric key uniquely identifying the material. *

* Constraints: Not nullable, Maximum length: 40 *

* @param batchIdentifyingPlant * Key uniquely identifying a plant. *

* Constraints: Not nullable, Maximum length: 4 *

* @param batch * Assigns a material that is manufactured in batches or production lots to a specific batch. *

* Constraints: Not nullable, Maximum length: 10 *

* @return A fluent helper to fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.Batch * Batch} entity using key fields. This fluent helper allows methods which modify the underlying query to be * called before executing the query itself. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchByKeyFluentHelper#execute execute} * method on the fluent helper object. */ @Nonnull BatchByKeyFluentHelper getBatchByKey( final String material, final String batchIdentifyingPlant, final String batch ); /** * Create a new {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.Batch Batch} entity and save it to * the S/4HANA system. * * @param batch * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.Batch Batch} entity object that will * be created in the S/4HANA system. * @return A fluent helper to create a new {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.Batch * Batch} entity. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCreateFluentHelper#execute execute} * method on the fluent helper object. */ @Nonnull BatchCreateFluentHelper createBatch( @Nonnull final Batch batch ); /** * Update an existing {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.Batch Batch} entity and save * it to the S/4HANA system. * * @param batch * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.Batch Batch} entity object that will * be updated in the S/4HANA system. * @return A fluent helper to update an existing * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.Batch Batch} entity. To perform * execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchUpdateFluentHelper#execute execute} * method on the fluent helper object. */ @Nonnull BatchUpdateFluentHelper updateBatch( @Nonnull final Batch batch ); /** * Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharc BatchCharc} entities. * * @return A fluent helper to fetch multiple * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharc BatchCharc} entities. This * fluent helper allows methods which modify the underlying query to be called before executing the query * itself. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharcFluentHelper#execute execute} * method on the fluent helper object. */ @Nonnull BatchCharcFluentHelper getAllBatchCharc(); /** * Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharc BatchCharc} entity * using key fields. * * @param material * Alphanumeric key uniquely identifying the material. *

* Constraints: Not nullable, Maximum length: 40 *

* @param charcInternalID * Internal characteristic number without conversion routine *

* Constraints: Not nullable, Maximum length: 10 *

* @param batchIdentifyingPlant * Key uniquely identifying a plant. *

* Constraints: Not nullable, Maximum length: 4 *

* @param batch * Assigns a material that is manufactured in batches or production lots to a specific batch. *

* Constraints: Not nullable, Maximum length: 10 *

* @return A fluent helper to fetch a single * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharc BatchCharc} entity using key * fields. This fluent helper allows methods which modify the underlying query to be called before executing * the query itself. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharcByKeyFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull BatchCharcByKeyFluentHelper getBatchCharcByKey( final String material, final String batchIdentifyingPlant, final String batch, final String charcInternalID ); /** * Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharcValue BatchCharcValue} * entities. * * @return A fluent helper to fetch multiple * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharcValue BatchCharcValue} * entities. This fluent helper allows methods which modify the underlying query to be called before * executing the query itself. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharcValueFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull BatchCharcValueFluentHelper getAllBatchCharcValue(); /** * Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharcValue BatchCharcValue} * entity using key fields. * * @param charcValuePositionNumber * Characteristic value counter *

* Constraints: Not nullable, Maximum length: 3 *

* @param material * Alphanumeric key uniquely identifying the material. *

* Constraints: Not nullable, Maximum length: 40 *

* @param charcInternalID * Internal characteristic number without conversion routine *

* Constraints: Not nullable, Maximum length: 10 *

* @param batchIdentifyingPlant * Key uniquely identifying a plant. *

* Constraints: Not nullable, Maximum length: 4 *

* @param batch * Assigns a material that is manufactured in batches or production lots to a specific batch. *

* Constraints: Not nullable, Maximum length: 10 *

* @return A fluent helper to fetch a single * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharcValue BatchCharcValue} entity * using key fields. This fluent helper allows methods which modify the underlying query to be called before * executing the query itself. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchCharcValueByKeyFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull BatchCharcValueByKeyFluentHelper getBatchCharcValueByKey( final String material, final String batchIdentifyingPlant, final String batch, final String charcInternalID, final String charcValuePositionNumber ); /** * Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchClass BatchClass} entities. * * @return A fluent helper to fetch multiple * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchClass BatchClass} entities. This * fluent helper allows methods which modify the underlying query to be called before executing the query * itself. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchClassFluentHelper#execute execute} * method on the fluent helper object. */ @Nonnull BatchClassFluentHelper getAllBatchClass(); /** * Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchClass BatchClass} entity * using key fields. * * @param material * Alphanumeric key uniquely identifying the material. *

* Constraints: Not nullable, Maximum length: 40 *

* @param batchIdentifyingPlant * Key uniquely identifying a plant. *

* Constraints: Not nullable, Maximum length: 4 *

* @param batch * Assigns a material that is manufactured in batches or production lots to a specific batch. *

* Constraints: Not nullable, Maximum length: 10 *

* @return A fluent helper to fetch a single * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchClass BatchClass} entity using key * fields. This fluent helper allows methods which modify the underlying query to be called before executing * the query itself. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchClassByKeyFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull BatchClassByKeyFluentHelper getBatchClassByKey( final String material, final String batchIdentifyingPlant, final String batch ); /** * Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchPlant BatchPlant} entities. * * @return A fluent helper to fetch multiple * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchPlant BatchPlant} entities. This * fluent helper allows methods which modify the underlying query to be called before executing the query * itself. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchPlantFluentHelper#execute execute} * method on the fluent helper object. */ @Nonnull BatchPlantFluentHelper getAllBatchPlant(); /** * Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchPlant BatchPlant} entity * using key fields. * * @param material * Alphanumeric key uniquely identifying the material. *

* Constraints: Not nullable, Maximum length: 40 *

* @param plant * Key uniquely identifying a plant. *

* Constraints: Not nullable, Maximum length: 4 *

* @param batch * Assigns a material that is manufactured in batches or production lots to a specific batch. *

* Constraints: Not nullable, Maximum length: 10 *

* @return A fluent helper to fetch a single * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchPlant BatchPlant} entity using key * fields. This fluent helper allows methods which modify the underlying query to be called before executing * the query itself. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchPlantByKeyFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull BatchPlantByKeyFluentHelper getBatchPlantByKey( final String material, final String batch, final String plant ); /** * Update an existing {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchPlant BatchPlant} entity * and save it to the S/4HANA system. * * @param batchPlant * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchPlant BatchPlant} entity object * that will be updated in the S/4HANA system. * @return A fluent helper to update an existing * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchPlant BatchPlant} entity. To * perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchPlantUpdateFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull BatchPlantUpdateFluentHelper updateBatchPlant( @Nonnull final BatchPlant batchPlant ); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy