info.magnolia.module.shop.util
Class ShopLinkUtil
java.lang.Object
info.magnolia.module.shop.util.ShopLinkUtil
public class ShopLinkUtil
- extends Object
Util class for creating shop links.
- Author:
- tmiyar
Method Summary |
static String |
createLinkFromContentWithSelectors(info.magnolia.templating.functions.TemplatingFunctions functions,
javax.jcr.Node currentPage,
String selector)
|
static String |
createProductSelector(javax.jcr.Node product)
|
static String |
getProductCategoryLink(info.magnolia.templating.functions.TemplatingFunctions functions,
javax.jcr.Node category)
|
static String |
getProductDetailPageLink(info.magnolia.templating.functions.TemplatingFunctions functions,
javax.jcr.Node product,
javax.jcr.Node siteRoot)
|
static String |
getProductDetailPageLink(info.magnolia.templating.functions.TemplatingFunctions functions,
javax.jcr.Node product,
javax.jcr.Node currentPage,
javax.jcr.Node siteRoot)
|
static String |
getProductKeywordLink(info.magnolia.templating.functions.TemplatingFunctions functions,
javax.jcr.Node siteRoot)
|
static String |
getProductListSearchLink(info.magnolia.templating.functions.TemplatingFunctions functions,
javax.jcr.Node siteRoot)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShopLinkUtil
public ShopLinkUtil()
getProductCategoryLink
public static String getProductCategoryLink(info.magnolia.templating.functions.TemplatingFunctions functions,
javax.jcr.Node category)
getProductListSearchLink
public static String getProductListSearchLink(info.magnolia.templating.functions.TemplatingFunctions functions,
javax.jcr.Node siteRoot)
getProductKeywordLink
public static String getProductKeywordLink(info.magnolia.templating.functions.TemplatingFunctions functions,
javax.jcr.Node siteRoot)
createLinkFromContentWithSelectors
public static String createLinkFromContentWithSelectors(info.magnolia.templating.functions.TemplatingFunctions functions,
javax.jcr.Node currentPage,
String selector)
getProductDetailPageLink
public static String getProductDetailPageLink(info.magnolia.templating.functions.TemplatingFunctions functions,
javax.jcr.Node product,
javax.jcr.Node siteRoot)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getProductDetailPageLink
public static String getProductDetailPageLink(info.magnolia.templating.functions.TemplatingFunctions functions,
javax.jcr.Node product,
javax.jcr.Node currentPage,
javax.jcr.Node siteRoot)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
createProductSelector
public static String createProductSelector(javax.jcr.Node product)
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.