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