com.liferay.portlet.shopping.service.persistence.impl
Class ShoppingItemFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<ShoppingItem>
com.liferay.portlet.shopping.service.persistence.impl.ShoppingItemFinderImpl
- All Implemented Interfaces:
- SessionFactory, BasePersistence<ShoppingItem>, ShoppingItemFinder
public class ShoppingItemFinderImpl
- extends BasePersistenceImpl<ShoppingItem>
- implements ShoppingItemFinder
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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 |
|
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, fetchByPrimaryKeys, 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 |
COUNT_BY_G_C
public static final String COUNT_BY_G_C
ShoppingItemFinderImpl
public ShoppingItemFinderImpl()
countByG_C
public int countByG_C(long groupId,
List<Long> categoryIds)
- Specified by:
countByG_C in interface ShoppingItemFinder
countByFeatured
public int countByFeatured(long groupId,
long[] categoryIds)
- Specified by:
countByFeatured in interface ShoppingItemFinder
countByKeywords
public int countByKeywords(long groupId,
long[] categoryIds,
String keywords)
- Specified by:
countByKeywords in interface ShoppingItemFinder
countBySale
public int countBySale(long groupId,
long[] categoryIds)
- Specified by:
countBySale in interface ShoppingItemFinder
filterCountByG_C
public int filterCountByG_C(long groupId,
List<Long> categoryIds)
- Specified by:
filterCountByG_C in interface ShoppingItemFinder
findByFeatured
public List<ShoppingItem> findByFeatured(long groupId,
long[] categoryIds,
int numOfItems)
- Specified by:
findByFeatured in interface ShoppingItemFinder
findByKeywords
public List<ShoppingItem> findByKeywords(long groupId,
long[] categoryIds,
String keywords,
int start,
int end)
- Specified by:
findByKeywords in interface ShoppingItemFinder
findBySale
public List<ShoppingItem> findBySale(long groupId,
long[] categoryIds,
int numOfItems)
- Specified by:
findBySale in interface ShoppingItemFinder
doCountByG_C
protected int doCountByG_C(long groupId,
List<Long> categoryIds,
boolean inlineSQLHelper)
getCategoryIds
protected String getCategoryIds(List<Long> categoryIds)