com.liferay.portlet.shopping.service.persistence
Class ShoppingItemFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl
com.liferay.portlet.shopping.service.persistence.ShoppingItemFinderImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence, com.liferay.portlet.shopping.service.persistence.ShoppingItemFinder
public class ShoppingItemFinderImpl
- extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl
- implements com.liferay.portlet.shopping.service.persistence.ShoppingItemFinder
View Source
- Author:
- Brian Wing Shun Chan
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME, listeners |
|
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<com.liferay.portlet.shopping.model.ShoppingItem> |
findByFeatured(long groupId,
long[] categoryIds,
int numOfItems)
|
java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> |
findByKeywords(long groupId,
long[] categoryIds,
java.lang.String keywords,
int start,
int end)
|
java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> |
findBySale(long groupId,
long[] categoryIds,
int numOfItems)
|
protected java.lang.String |
getCategoryIds(java.util.List<java.lang.Long> categoryIds)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
clearCache, closeSession, getDataSource, getDialect, getListeners, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COUNT_BY_CATEGORY_IDS
public static java.lang.String COUNT_BY_CATEGORY_IDS
ShoppingItemFinderImpl
public ShoppingItemFinderImpl()
countByCategoryIds
public int countByCategoryIds(java.util.List<java.lang.Long> categoryIds)
throws com.liferay.portal.SystemException
- Specified by:
countByCategoryIds in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemFinder
- Throws:
com.liferay.portal.SystemException
countByFeatured
public int countByFeatured(long groupId,
long[] categoryIds)
throws com.liferay.portal.SystemException
- Specified by:
countByFeatured in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemFinder
- Throws:
com.liferay.portal.SystemException
countByKeywords
public int countByKeywords(long groupId,
long[] categoryIds,
java.lang.String keywords)
throws com.liferay.portal.SystemException
- Specified by:
countByKeywords in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemFinder
- Throws:
com.liferay.portal.SystemException
countBySale
public int countBySale(long groupId,
long[] categoryIds)
throws com.liferay.portal.SystemException
- Specified by:
countBySale in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemFinder
- Throws:
com.liferay.portal.SystemException
findByFeatured
public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> findByFeatured(long groupId,
long[] categoryIds,
int numOfItems)
throws com.liferay.portal.SystemException
- Specified by:
findByFeatured in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemFinder
- Throws:
com.liferay.portal.SystemException
findByKeywords
public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> findByKeywords(long groupId,
long[] categoryIds,
java.lang.String keywords,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByKeywords in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemFinder
- Throws:
com.liferay.portal.SystemException
findBySale
public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> findBySale(long groupId,
long[] categoryIds,
int numOfItems)
throws com.liferay.portal.SystemException
- Specified by:
findBySale in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemFinder
- Throws:
com.liferay.portal.SystemException
getCategoryIds
protected java.lang.String getCategoryIds(java.util.List<java.lang.Long> categoryIds)