public class BatchByKeyFluentHelper extends FluentHelperByKey<BatchByKeyFluentHelper,Batch,BatchSelectable>
Batch
entity using key
fields. This fluent helper allows methods which modify the underlying query to be called before executing the query
itself.entityCollection
Constructor and Description |
---|
BatchByKeyFluentHelper(String servicePath,
String material,
String batchIdentifyingPlant,
String batch)
Deprecated.
Use the constructor
BatchByKeyFluentHelper(String, String, String, String, String)
instead. |
BatchByKeyFluentHelper(String servicePath,
String entityCollection,
String material,
String batchIdentifyingPlant,
String batch)
Creates a fluent helper object that will fetch a single
Batch entity with the
provided key field values. |
Modifier and Type | Method and Description |
---|---|
protected Class<Batch> |
getEntityClass()
Returns a class object of the type this fluent helper works with.
|
protected Map<String,Object> |
getKey()
Getter for a map containing the OData name of key properties, each mapped to the value to search by.
|
execute, executeRequest, getQueryBuilder, select, toQuery, toRequest, withErrorHandler, withQueryParameter
and, cachingMetadata, getHeaders, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getParametersForRequestOnly, getServicePath, getThis, getVersionIdentifier, isCachingMetadata, onRequestAndImplicitRequests, onRequestOnly, withHeader, withHeaders, withoutCachingMetadata
@Deprecated public BatchByKeyFluentHelper(@Nonnull String servicePath, String material, String batchIdentifyingPlant, String batch)
BatchByKeyFluentHelper(String, String, String, String, String)
instead.Batch
entity with the
provided key field values. To perform execution, call the execute
method on the fluent helper
object.material
- Material Number
Constraints: Not nullable, Maximum length: 40
batchIdentifyingPlant
- Plant
Constraints: Not nullable, Maximum length: 4
servicePath
- Service path to be used to fetch a single Batch
batch
- Batch Number
Constraints: Not nullable, Maximum length: 10
public BatchByKeyFluentHelper(@Nonnull String servicePath, @Nonnull String entityCollection, String material, String batchIdentifyingPlant, String batch)
Batch
entity with the
provided key field values. To perform execution, call the execute
method on the fluent helper
object.entityCollection
- Entity Collection to be used to fetch a single Batch
material
- Material Number
Constraints: Not nullable, Maximum length: 40
batchIdentifyingPlant
- Plant
Constraints: Not nullable, Maximum length: 4
servicePath
- Service path to be used to fetch a single Batch
batch
- Batch Number
Constraints: Not nullable, Maximum length: 10
@Nonnull protected Class<Batch> getEntityClass()
FluentHelperBasic
getEntityClass
in class FluentHelperBasic<BatchByKeyFluentHelper,Batch,Batch>
@Nonnull protected Map<String,Object> getKey()
FluentHelperByKey
getKey
in class FluentHelperByKey<BatchByKeyFluentHelper,Batch,BatchSelectable>
Copyright © 2021 SAP SE. All rights reserved.