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