public class SupplierByKeyFluentHelper extends FluentHelperByKey<SupplierByKeyFluentHelper,Supplier,SupplierSelectable>
Supplier
entity using key fields. This fluent helper allows methods which modify the underlying query to be called
before executing the query itself.Constructor and Description |
---|
SupplierByKeyFluentHelper(String servicePath,
String supplier)
Creates a fluent helper object that will fetch a single
Supplier entity with the
provided key field values. |
Modifier and Type | Method and Description |
---|---|
protected Class<Supplier> |
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, getQueryBuilder, select, toQuery, withErrorHandler
asResilientCommand, asResilientCommand, execute, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getServicePath, getThis, getVersionIdentifier, withCustomHttpHeader, withCustomHttpHeaders
public SupplierByKeyFluentHelper(@Nonnull String servicePath, String supplier)
Supplier
entity with the
provided key field values. To perform execution, call the execute
method on the fluent helper
object.servicePath
- Service path to be used to fetch a single Supplier
supplier
- Specifies an alphanumeric key that uniquely identifies the supplier in the SAP system.
Constraints: Not nullable, Maximum length: 10
@Nonnull protected Class<Supplier> getEntityClass()
FluentHelperBasic
getEntityClass
in class FluentHelperBasic<SupplierByKeyFluentHelper,Supplier,Supplier>
@Nonnull protected Map<String,Object> getKey()
FluentHelperByKey
getKey
in class FluentHelperByKey<SupplierByKeyFluentHelper,Supplier,SupplierSelectable>
Copyright © 2018 SAP SE. All rights reserved.