1
19
20 package com.liferay.portlet.shopping.service.persistence;
21
22
28 public interface ShoppingItemFinder {
29 public int countByCategoryIds(java.util.List<Long> categoryIds)
30 throws com.liferay.portal.SystemException;
31
32 public int countByFeatured(long groupId, long[] categoryIds)
33 throws com.liferay.portal.SystemException;
34
35 public int countByKeywords(long groupId, long[] categoryIds,
36 java.lang.String keywords) throws com.liferay.portal.SystemException;
37
38 public int countBySale(long groupId, long[] categoryIds)
39 throws com.liferay.portal.SystemException;
40
41 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> findByFeatured(
42 long groupId, long[] categoryIds, int numOfItems)
43 throws com.liferay.portal.SystemException;
44
45 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> findByKeywords(
46 long groupId, long[] categoryIds, java.lang.String keywords, int start,
47 int end) throws com.liferay.portal.SystemException;
48
49 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> findBySale(
50 long groupId, long[] categoryIds, int numOfItems)
51 throws com.liferay.portal.SystemException;
52 }