001
014
015 package com.liferay.portlet.shopping.service.persistence;
016
017 import aQute.bnd.annotation.ProviderType;
018
019
022 @ProviderType
023 public interface ShoppingItemFinder {
024 public int countByG_C(long groupId,
025 java.util.List<java.lang.Long> categoryIds);
026
027 public int countByFeatured(long groupId, long[] categoryIds);
028
029 public int countByKeywords(long groupId, long[] categoryIds,
030 java.lang.String keywords);
031
032 public int countBySale(long groupId, long[] categoryIds);
033
034 public int filterCountByG_C(long groupId,
035 java.util.List<java.lang.Long> categoryIds);
036
037 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> findByFeatured(
038 long groupId, long[] categoryIds, int numOfItems);
039
040 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> findByKeywords(
041 long groupId, long[] categoryIds, java.lang.String keywords, int start,
042 int end);
043
044 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> findBySale(
045 long groupId, long[] categoryIds, int numOfItems);
046 }