com.liferay.portlet.shopping.service.persistence
Class ShoppingItemFinder

java.lang.Object
  extended bycom.liferay.portlet.shopping.service.persistence.ShoppingItemFinder

public class ShoppingItemFinder
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String COUNT_BY_CATEGORY_IDS
           
 
Constructor Summary
ShoppingItemFinder()
           
 
Method Summary
static int countByCategoryIds(java.util.List categoryIds)
           
static int countByFeatured(long groupId, long[] categoryIds)
           
static int countByKeywords(long groupId, long[] categoryIds, java.lang.String keywords)
           
static int countBySale(long groupId, long[] categoryIds)
           
static java.util.List findByFeatured(long groupId, long[] categoryIds, int numOfItems)
           
static java.util.List findByKeywords(long groupId, long[] categoryIds, java.lang.String keywords, int begin, int end)
           
static java.util.List findBySale(long groupId, long[] categoryIds, int numOfItems)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_CATEGORY_IDS

public static java.lang.String COUNT_BY_CATEGORY_IDS
Constructor Detail

ShoppingItemFinder

public ShoppingItemFinder()
Method Detail

countByCategoryIds

public static int countByCategoryIds(java.util.List categoryIds)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByFeatured

public static int countByFeatured(long groupId,
                                  long[] categoryIds)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByKeywords

public static int countByKeywords(long groupId,
                                  long[] categoryIds,
                                  java.lang.String keywords)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countBySale

public static int countBySale(long groupId,
                              long[] categoryIds)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFeatured

public static java.util.List findByFeatured(long groupId,
                                            long[] categoryIds,
                                            int numOfItems)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByKeywords

public static java.util.List findByKeywords(long groupId,
                                            long[] categoryIds,
                                            java.lang.String keywords,
                                            int begin,
                                            int end)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findBySale

public static java.util.List findBySale(long groupId,
                                        long[] categoryIds,
                                        int numOfItems)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException