Liferay 6.2-ce-ga5

com.liferay.portlet.shopping.service.persistence
Class ShoppingItemFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<ShoppingItem>
      extended by com.liferay.portlet.shopping.service.persistence.ShoppingItemFinderImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<ShoppingItem>, ShoppingItemFinder

public class ShoppingItemFinderImpl
extends BasePersistenceImpl<ShoppingItem>
implements ShoppingItemFinder


Field Summary
static String COUNT_BY_G_C
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
ShoppingItemFinderImpl()
           
 
Method Summary
 int countByFeatured(long groupId, long[] categoryIds)
           
 int countByG_C(long groupId, List<Long> categoryIds)
           
 int countByKeywords(long groupId, long[] categoryIds, String keywords)
           
 int countBySale(long groupId, long[] categoryIds)
           
protected  int doCountByG_C(long groupId, List<Long> categoryIds, boolean inlineSQLHelper)
           
 int filterCountByG_C(long groupId, List<Long> categoryIds)
           
 List<ShoppingItem> findByFeatured(long groupId, long[] categoryIds, int numOfItems)
           
 List<ShoppingItem> findByKeywords(long groupId, long[] categoryIds, String keywords, int start, int end)
           
 List<ShoppingItem> findBySale(long groupId, long[] categoryIds, int numOfItems)
           
protected  String getCategoryIds(List<Long> categoryIds)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_G_C

public static final String COUNT_BY_G_C
Constructor Detail

ShoppingItemFinderImpl

public ShoppingItemFinderImpl()
Method Detail

countByG_C

public int countByG_C(long groupId,
                      List<Long> categoryIds)
               throws SystemException
Specified by:
countByG_C in interface ShoppingItemFinder
Throws:
SystemException

countByFeatured

public int countByFeatured(long groupId,
                           long[] categoryIds)
                    throws SystemException
Specified by:
countByFeatured in interface ShoppingItemFinder
Throws:
SystemException

countByKeywords

public int countByKeywords(long groupId,
                           long[] categoryIds,
                           String keywords)
                    throws SystemException
Specified by:
countByKeywords in interface ShoppingItemFinder
Throws:
SystemException

countBySale

public int countBySale(long groupId,
                       long[] categoryIds)
                throws SystemException
Specified by:
countBySale in interface ShoppingItemFinder
Throws:
SystemException

filterCountByG_C

public int filterCountByG_C(long groupId,
                            List<Long> categoryIds)
                     throws SystemException
Specified by:
filterCountByG_C in interface ShoppingItemFinder
Throws:
SystemException

findByFeatured

public List<ShoppingItem> findByFeatured(long groupId,
                                         long[] categoryIds,
                                         int numOfItems)
                                  throws SystemException
Specified by:
findByFeatured in interface ShoppingItemFinder
Throws:
SystemException

findByKeywords

public List<ShoppingItem> findByKeywords(long groupId,
                                         long[] categoryIds,
                                         String keywords,
                                         int start,
                                         int end)
                                  throws SystemException
Specified by:
findByKeywords in interface ShoppingItemFinder
Throws:
SystemException

findBySale

public List<ShoppingItem> findBySale(long groupId,
                                     long[] categoryIds,
                                     int numOfItems)
                              throws SystemException
Specified by:
findBySale in interface ShoppingItemFinder
Throws:
SystemException

doCountByG_C

protected int doCountByG_C(long groupId,
                           List<Long> categoryIds,
                           boolean inlineSQLHelper)
                    throws SystemException
Throws:
SystemException

getCategoryIds

protected String getCategoryIds(List<Long> categoryIds)

Liferay 6.2-ce-ga5