public class ProfileDetailsByKeyFluentHelper extends FluentHelperByKey<ProfileDetailsByKeyFluentHelper,ProfileDetails,ProfileDetailsSelectable>
ProfileDetails
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 |
---|
ProfileDetailsByKeyFluentHelper(String servicePath,
String plant,
String procurementType,
String variabilityCode,
String replenishmentLeadTimeCode,
String isMinOrderQtyConsidered)
Creates a fluent helper object that will fetch a single
ProfileDetails entity
with the provided key field values. |
Modifier and Type | Method and Description |
---|---|
protected Class<ProfileDetails> |
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, withQueryParameter
cachingMetadata, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getParametersForRequestOnly, getServicePath, getThis, getVersionIdentifier, isCachingMetadata, withHeader, withHeaders, withoutCachingMetadata
public ProfileDetailsByKeyFluentHelper(@Nonnull String servicePath, String plant, String procurementType, String variabilityCode, String replenishmentLeadTimeCode, String isMinOrderQtyConsidered)
ProfileDetails
entity
with the provided key field values. To perform execution, call the execute
method on the fluent
helper object.isMinOrderQtyConsidered
- The lowest product quantity for which an order can be placed to replenish the stock buffer, decided by
logistical, contractual or cost considerations.
Constraints: Not nullable, Maximum length: 1
variabilityCode
- Classifying a product or component into type X, Y or Z based on the variation in its usage, with
products classified as type X having the lowest variation and products classified as type Z having the
highest variation.
Constraints: Not nullable, Maximum length: 1
replenishmentLeadTimeCode
- Classifying a product or component into type E, F or G based on its lead time, with products
classified as type E having the shortest lead time and products classified as type G having the
longest lead time. An EFG classification is typically used together with the procurement type for a
product or component.
Constraints: Not nullable, Maximum length: 1
servicePath
- Service path to be used to fetch a single ProfileDetails
plant
- Key uniquely identifying a plant.
Constraints: Not nullable, Maximum length: 4
procurementType
- Categories which specify how a DD-relevant product or component is procured. Typically, products are
categorized as Make, Buy or Transfer.
Constraints: Not nullable, Maximum length: 1
@Nonnull protected Class<ProfileDetails> getEntityClass()
FluentHelperBasic
getEntityClass
in class FluentHelperBasic<ProfileDetailsByKeyFluentHelper,ProfileDetails,ProfileDetails>
@Nonnull protected Map<String,Object> getKey()
FluentHelperByKey
getKey
in class FluentHelperByKey<ProfileDetailsByKeyFluentHelper,ProfileDetails,ProfileDetailsSelectable>
Copyright © 2019 SAP SE. All rights reserved.