info.magnolia.module.shop.accessors
Class ShopProductAccessor
java.lang.Object
info.magnolia.module.shop.accessors.DefaultCustomDataAccessor
info.magnolia.module.shop.accessors.ShopProductAccessor
- All Implemented Interfaces:
- CustomDataAccessor
public class ShopProductAccessor
- extends DefaultCustomDataAccessor
shop product.
- Author:
- tmiyar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHOP_PRODUCTS_FOLDER
public static String SHOP_PRODUCTS_FOLDER
ShopProductAccessor
public ShopProductAccessor(String name)
throws Exception
- Throws:
Exception
getNode
protected javax.jcr.Node getNode(String name)
- Specified by:
getNode
in class DefaultCustomDataAccessor
getProductsByProductCategory
public static List<javax.jcr.Node> getProductsByProductCategory(String productCategory)
getTaggedProducts
public static List<javax.jcr.Node> getTaggedProducts(String tagUUID)
getProductsByFulltext
public static List<javax.jcr.Node> getProductsByFulltext(String queryStr)
getProductsBySQL
public static List<javax.jcr.Node> getProductsBySQL(String query)
escapeSql
public static String escapeSql(String input)
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.