Class ShardAwareProductIdentityProvider
- java.lang.Object
-
- de.hybris.platform.solrfacetsearch.provider.impl.AbstractProductIdentityProvider
-
- de.hybris.platform.solrfacetsearch.provider.impl.ShardAwareProductIdentityProvider
-
- All Implemented Interfaces:
IdentityProvider<ProductModel>,java.io.Serializable
public class ShardAwareProductIdentityProvider extends AbstractProductIdentityProvider implements IdentityProvider<ProductModel>, java.io.Serializable
Resolves unique product's identity. Respects multi-catalog versions- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringGROUPING_SEPARATOR
-
Constructor Summary
Constructors Constructor Description ShardAwareProductIdentityProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetIdentifier(IndexConfig indexConfig, ProductModel product)Provides unique string representation of indexed type identifier that is generated with respect to the model type restrictions.protected java.lang.StringgetTopBaseProductCode(ProductModel product)-
Methods inherited from class de.hybris.platform.solrfacetsearch.provider.impl.AbstractProductIdentityProvider
getIdentifierForProduct
-
-
-
-
Field Detail
-
GROUPING_SEPARATOR
public static final java.lang.String GROUPING_SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIdentifier
public java.lang.String getIdentifier(IndexConfig indexConfig, ProductModel product)
Description copied from interface:IdentityProviderProvides unique string representation of indexed type identifier that is generated with respect to the model type restrictions.- Specified by:
getIdentifierin interfaceIdentityProvider<ProductModel>- Returns:
- identifier
-
getTopBaseProductCode
protected java.lang.String getTopBaseProductCode(ProductModel product)
-
-