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<java.lang.Long> 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<ShoppingItem> findByFeatured(long groupId, long[] categoryIds, int numOfItems)
           
 java.util.List<ShoppingItem> findByKeywords(long groupId, long[] categoryIds, java.lang.String keywords, int start, int end)
           
 java.util.List<ShoppingItem> findBySale(long groupId, long[] categoryIds, int numOfItems)
           
 

Method Detail

countByCategoryIds

int countByCategoryIds(java.util.List<java.lang.Long> categoryIds)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByFeatured

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

countByKeywords

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

countBySale

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

findByFeatured

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

findByKeywords

java.util.List<ShoppingItem> findByKeywords(long groupId,
                                            long[] categoryIds,
                                            java.lang.String keywords,
                                            int start,
                                            int end)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findBySale

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