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


public interface ShoppingItemFinder

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countByCategoryIds(java.util.List categoryIds)
           
 int countByFeatured(long groupId, long[] categoryIds)
           
 int countByKeywords(long groupId, long[] categoryIds, java.lang.String keywords)
           
 int countBySale(long groupId, long[] categoryIds)
           
 java.util.List findByFeatured(long groupId, long[] categoryIds, int numOfItems)
           
 java.util.List findByKeywords(long groupId, long[] categoryIds, java.lang.String keywords, int begin, int end)
           
 java.util.List findBySale(long groupId, long[] categoryIds, int numOfItems)
           
 

Method Detail

countByCategoryIds

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

countByFeatured

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

countByKeywords

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

countBySale

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

findByFeatured

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

findByKeywords

public 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 java.util.List findBySale(long groupId,
                                 long[] categoryIds,
                                 int numOfItems)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException