Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portlet.shopping.service.persistence.ShoppingItemFinderUtil

public class ShoppingItemFinderUtil
extends Object


Constructor Summary
ShoppingItemFinderUtil()
           
 
Method Summary
static int countByFeatured(long groupId, long[] categoryIds)
           
static int countByG_C(long groupId, List<Long> categoryIds)
           
static int countByKeywords(long groupId, long[] categoryIds, String keywords)
           
static int countBySale(long groupId, long[] categoryIds)
           
static int filterCountByG_C(long groupId, List<Long> categoryIds)
           
static List<ShoppingItem> findByFeatured(long groupId, long[] categoryIds, int numOfItems)
           
static List<ShoppingItem> findByKeywords(long groupId, long[] categoryIds, String keywords, int start, int end)
           
static List<ShoppingItem> findBySale(long groupId, long[] categoryIds, int numOfItems)
           
static ShoppingItemFinder getFinder()
           
 void setFinder(ShoppingItemFinder finder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingItemFinderUtil

public ShoppingItemFinderUtil()
Method Detail

countByG_C

public static int countByG_C(long groupId,
                             List<Long> categoryIds)
                      throws SystemException
Throws:
SystemException

countByFeatured

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

countByKeywords

public static int countByKeywords(long groupId,
                                  long[] categoryIds,
                                  String keywords)
                           throws SystemException
Throws:
SystemException

countBySale

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

filterCountByG_C

public static int filterCountByG_C(long groupId,
                                   List<Long> categoryIds)
                            throws SystemException
Throws:
SystemException

findByFeatured

public static List<ShoppingItem> findByFeatured(long groupId,
                                                long[] categoryIds,
                                                int numOfItems)
                                         throws SystemException
Throws:
SystemException

findByKeywords

public static List<ShoppingItem> findByKeywords(long groupId,
                                                long[] categoryIds,
                                                String keywords,
                                                int start,
                                                int end)
                                         throws SystemException
Throws:
SystemException

findBySale

public static List<ShoppingItem> findBySale(long groupId,
                                            long[] categoryIds,
                                            int numOfItems)
                                     throws SystemException
Throws:
SystemException

getFinder

public static ShoppingItemFinder getFinder()

setFinder

public void setFinder(ShoppingItemFinder finder)

Liferay 6.1.2-ce-ga3