public abstract class AbstractRelationshipsProvider extends Object implements ProductRelationshipsProvider
ProductRelationshipsProvider.RELATIONSHIP_TYPE_PN| Constructor and Description |
|---|
AbstractRelationshipsProvider(String relationshipType,
String relationshipTitle) |
| Modifier and Type | Method and Description |
|---|---|
List<ProductRelationship> |
getRelationships(SlingHttpServletRequest request,
CommerceSession session,
Page currentPage,
Product currentProduct) |
Map<String,String> |
getRelationshipTypes() |
public Map<String,String> getRelationshipTypes()
getRelationshipTypes in interface ProductRelationshipsProviderrelationshipTypes supported by this provider to their
relationshipTitles)public List<ProductRelationship> getRelationships(SlingHttpServletRequest request, CommerceSession session, Page currentPage, Product currentProduct) throws CommerceException
getRelationships in interface ProductRelationshipsProviderrequest - A request representing the current usersession - The current commerce session (cart, order)currentPage - The current pagecurrentProduct - The current product (if applicable)ProductRelationships for a given context (user, cart, page, product)CommerceException"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"