public class SimilarToCurrentRelationshipsProvider extends AbstractRelationshipsProvider
SimilarToCurrentRelatedProductsProvider provides a list of relationships to products
having at least one tag in common with the current product. The list is sorted on number of matched
tags.
NB: this is an example relationship provider which trades off performance for simplicity. A
production system would require a much more performant implementation.| Modifier and Type | Field and Description |
|---|---|
static String |
ENABLED |
static String |
RELATIONSHIP_TITLE |
static String |
RELATIONSHIP_TYPE |
RELATIONSHIP_TYPE_PN| Constructor and Description |
|---|
SimilarToCurrentRelationshipsProvider() |
getRelationships, getRelationshipTypespublic static final String RELATIONSHIP_TYPE
public static final String RELATIONSHIP_TITLE
public static final String ENABLED
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"