Class ProductPromotionAttributesValueResolver

java.lang.Object
de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver<ProductModel,Collection<ProductPromotionModel>,Object>
de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.ProductPromotionAttributesValueResolver
All Implemented Interfaces:
QualifierProviderAware, ValueResolver<ProductModel>

public class ProductPromotionAttributesValueResolver extends AbstractValueResolver<ProductModel,Collection<ProductPromotionModel>,Object>
Resolver that gets the product promotion values from attributes on the promotion model. By default, if parameter attribute is not specified, it tries to get the attribute with the same name as the one configured on the indexed property.

Supported parameters:

Parameter Default value Description
optional true If false, indicates that the resolved values should not be null and not an empty string (for every qualifier). If these conditions are not met, an exception of type FieldValueProviderException is thrown.
attribute If specified, this is the name of the attribute.
evaluateExpression false If true the attribute name is assumed to be a spring expression language that need to be evaluated