public class CommerceWishListItemUtil
extends java.lang.Object
com.liferay.commerce.wish.list.service.persistence.impl.CommerceWishListItemPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
CommerceWishListItemPersistence
Constructor and Description |
---|
CommerceWishListItemUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommerceWishListItem commerceWishListItem)
Caches the commerce wish list item in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceWishListItem> commerceWishListItems)
Caches the commerce wish list items in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommerceWishListItem commerceWishListItem) |
static int |
countAll()
Returns the number of commerce wish list items.
|
static int |
countByCommerceWishListId(long commerceWishListId)
Returns the number of commerce wish list items where commerceWishListId = ?.
|
static int |
countByCPInstanceUuid(java.lang.String CPInstanceUuid)
Returns the number of commerce wish list items where CPInstanceUuid = ?.
|
static int |
countByCProductId(long CProductId)
Returns the number of commerce wish list items where CProductId = ?.
|
static int |
countByCW_CP(long commerceWishListId,
long CProductId)
Returns the number of commerce wish list items where commerceWishListId = ? and CProductId = ?.
|
static int |
countByCW_CPI_CP(long commerceWishListId,
java.lang.String CPInstanceUuid,
long CProductId)
Returns the number of commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ?.
|
static int |
countByCW_CPI(long commerceWishListId,
java.lang.String CPInstanceUuid)
Returns the number of commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommerceWishListItem |
create(long commerceWishListItemId)
Creates a new commerce wish list item with the primary key.
|
static CommerceWishListItem |
fetchByCommerceWishListId_First(long commerceWishListId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the first commerce wish list item in the ordered set where commerceWishListId = ?.
|
static CommerceWishListItem |
fetchByCommerceWishListId_Last(long commerceWishListId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the last commerce wish list item in the ordered set where commerceWishListId = ?.
|
static CommerceWishListItem |
fetchByCPInstanceUuid_First(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the first commerce wish list item in the ordered set where CPInstanceUuid = ?.
|
static CommerceWishListItem |
fetchByCPInstanceUuid_Last(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the last commerce wish list item in the ordered set where CPInstanceUuid = ?.
|
static CommerceWishListItem |
fetchByCProductId_First(long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the first commerce wish list item in the ordered set where CProductId = ?.
|
static CommerceWishListItem |
fetchByCProductId_Last(long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the last commerce wish list item in the ordered set where CProductId = ?.
|
static CommerceWishListItem |
fetchByCW_CP_First(long commerceWishListId,
long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the first commerce wish list item in the ordered set where commerceWishListId = ? and CProductId = ?.
|
static CommerceWishListItem |
fetchByCW_CP_Last(long commerceWishListId,
long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the last commerce wish list item in the ordered set where commerceWishListId = ? and CProductId = ?.
|
static CommerceWishListItem |
fetchByCW_CPI_CP(long commerceWishListId,
java.lang.String CPInstanceUuid,
long CProductId)
Returns the commerce wish list item where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ? or returns
null if it could not be found. |
static CommerceWishListItem |
fetchByCW_CPI_CP(long commerceWishListId,
java.lang.String CPInstanceUuid,
long CProductId,
boolean useFinderCache)
Returns the commerce wish list item where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommerceWishListItem |
fetchByCW_CPI_First(long commerceWishListId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the first commerce wish list item in the ordered set where commerceWishListId = ? and CPInstanceUuid = ?.
|
static CommerceWishListItem |
fetchByCW_CPI_Last(long commerceWishListId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the last commerce wish list item in the ordered set where commerceWishListId = ? and CPInstanceUuid = ?.
|
static CommerceWishListItem |
fetchByPrimaryKey(long commerceWishListItemId)
Returns the commerce wish list item with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommerceWishListItem> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<CommerceWishListItem> |
findAll()
Returns all the commerce wish list items.
|
static java.util.List<CommerceWishListItem> |
findAll(int start,
int end)
Returns a range of all the commerce wish list items.
|
static java.util.List<CommerceWishListItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns an ordered range of all the commerce wish list items.
|
static java.util.List<CommerceWishListItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce wish list items.
|
static CommerceWishListItem |
findByCommerceWishListId_First(long commerceWishListId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the first commerce wish list item in the ordered set where commerceWishListId = ?.
|
static CommerceWishListItem |
findByCommerceWishListId_Last(long commerceWishListId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the last commerce wish list item in the ordered set where commerceWishListId = ?.
|
static CommerceWishListItem[] |
findByCommerceWishListId_PrevAndNext(long commerceWishListItemId,
long commerceWishListId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the commerce wish list items before and after the current commerce wish list item in the ordered set where commerceWishListId = ?.
|
static java.util.List<CommerceWishListItem> |
findByCommerceWishListId(long commerceWishListId)
Returns all the commerce wish list items where commerceWishListId = ?.
|
static java.util.List<CommerceWishListItem> |
findByCommerceWishListId(long commerceWishListId,
int start,
int end)
Returns a range of all the commerce wish list items where commerceWishListId = ?.
|
static java.util.List<CommerceWishListItem> |
findByCommerceWishListId(long commerceWishListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns an ordered range of all the commerce wish list items where commerceWishListId = ?.
|
static java.util.List<CommerceWishListItem> |
findByCommerceWishListId(long commerceWishListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce wish list items where commerceWishListId = ?.
|
static CommerceWishListItem |
findByCPInstanceUuid_First(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the first commerce wish list item in the ordered set where CPInstanceUuid = ?.
|
static CommerceWishListItem |
findByCPInstanceUuid_Last(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the last commerce wish list item in the ordered set where CPInstanceUuid = ?.
|
static CommerceWishListItem[] |
findByCPInstanceUuid_PrevAndNext(long commerceWishListItemId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the commerce wish list items before and after the current commerce wish list item in the ordered set where CPInstanceUuid = ?.
|
static java.util.List<CommerceWishListItem> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid)
Returns all the commerce wish list items where CPInstanceUuid = ?.
|
static java.util.List<CommerceWishListItem> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid,
int start,
int end)
Returns a range of all the commerce wish list items where CPInstanceUuid = ?.
|
static java.util.List<CommerceWishListItem> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns an ordered range of all the commerce wish list items where CPInstanceUuid = ?.
|
static java.util.List<CommerceWishListItem> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce wish list items where CPInstanceUuid = ?.
|
static CommerceWishListItem |
findByCProductId_First(long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the first commerce wish list item in the ordered set where CProductId = ?.
|
static CommerceWishListItem |
findByCProductId_Last(long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the last commerce wish list item in the ordered set where CProductId = ?.
|
static CommerceWishListItem[] |
findByCProductId_PrevAndNext(long commerceWishListItemId,
long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the commerce wish list items before and after the current commerce wish list item in the ordered set where CProductId = ?.
|
static java.util.List<CommerceWishListItem> |
findByCProductId(long CProductId)
Returns all the commerce wish list items where CProductId = ?.
|
static java.util.List<CommerceWishListItem> |
findByCProductId(long CProductId,
int start,
int end)
Returns a range of all the commerce wish list items where CProductId = ?.
|
static java.util.List<CommerceWishListItem> |
findByCProductId(long CProductId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns an ordered range of all the commerce wish list items where CProductId = ?.
|
static java.util.List<CommerceWishListItem> |
findByCProductId(long CProductId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce wish list items where CProductId = ?.
|
static CommerceWishListItem |
findByCW_CP_First(long commerceWishListId,
long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the first commerce wish list item in the ordered set where commerceWishListId = ? and CProductId = ?.
|
static CommerceWishListItem |
findByCW_CP_Last(long commerceWishListId,
long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the last commerce wish list item in the ordered set where commerceWishListId = ? and CProductId = ?.
|
static CommerceWishListItem[] |
findByCW_CP_PrevAndNext(long commerceWishListItemId,
long commerceWishListId,
long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the commerce wish list items before and after the current commerce wish list item in the ordered set where commerceWishListId = ? and CProductId = ?.
|
static java.util.List<CommerceWishListItem> |
findByCW_CP(long commerceWishListId,
long CProductId)
Returns all the commerce wish list items where commerceWishListId = ? and CProductId = ?.
|
static java.util.List<CommerceWishListItem> |
findByCW_CP(long commerceWishListId,
long CProductId,
int start,
int end)
Returns a range of all the commerce wish list items where commerceWishListId = ? and CProductId = ?.
|
static java.util.List<CommerceWishListItem> |
findByCW_CP(long commerceWishListId,
long CProductId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns an ordered range of all the commerce wish list items where commerceWishListId = ? and CProductId = ?.
|
static java.util.List<CommerceWishListItem> |
findByCW_CP(long commerceWishListId,
long CProductId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce wish list items where commerceWishListId = ? and CProductId = ?.
|
static CommerceWishListItem |
findByCW_CPI_CP(long commerceWishListId,
java.lang.String CPInstanceUuid,
long CProductId)
Returns the commerce wish list item where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ? or throws a
NoSuchWishListItemException if it could not be found. |
static CommerceWishListItem |
findByCW_CPI_First(long commerceWishListId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the first commerce wish list item in the ordered set where commerceWishListId = ? and CPInstanceUuid = ?.
|
static CommerceWishListItem |
findByCW_CPI_Last(long commerceWishListId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the last commerce wish list item in the ordered set where commerceWishListId = ? and CPInstanceUuid = ?.
|
static CommerceWishListItem[] |
findByCW_CPI_PrevAndNext(long commerceWishListItemId,
long commerceWishListId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the commerce wish list items before and after the current commerce wish list item in the ordered set where commerceWishListId = ? and CPInstanceUuid = ?.
|
static java.util.List<CommerceWishListItem> |
findByCW_CPI(long commerceWishListId,
java.lang.String CPInstanceUuid)
Returns all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.
|
static java.util.List<CommerceWishListItem> |
findByCW_CPI(long commerceWishListId,
java.lang.String CPInstanceUuid,
int start,
int end)
Returns a range of all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.
|
static java.util.List<CommerceWishListItem> |
findByCW_CPI(long commerceWishListId,
java.lang.String CPInstanceUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns an ordered range of all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.
|
static java.util.List<CommerceWishListItem> |
findByCW_CPI(long commerceWishListId,
java.lang.String CPInstanceUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.
|
static CommerceWishListItem |
findByPrimaryKey(long commerceWishListItemId)
Returns the commerce wish list item with the primary key or throws a
NoSuchWishListItemException if it could not be found. |
static java.util.List<CommerceWishListItem> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceWishListItem> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceWishListItem> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) |
static CommerceWishListItemPersistence |
getPersistence() |
static CommerceWishListItem |
remove(long commerceWishListItemId)
Removes the commerce wish list item with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce wish list items from the database.
|
static void |
removeByCommerceWishListId(long commerceWishListId)
Removes all the commerce wish list items where commerceWishListId = ? from the database.
|
static void |
removeByCPInstanceUuid(java.lang.String CPInstanceUuid)
Removes all the commerce wish list items where CPInstanceUuid = ? from the database.
|
static void |
removeByCProductId(long CProductId)
Removes all the commerce wish list items where CProductId = ? from the database.
|
static void |
removeByCW_CP(long commerceWishListId,
long CProductId)
Removes all the commerce wish list items where commerceWishListId = ? and CProductId = ? from the database.
|
static CommerceWishListItem |
removeByCW_CPI_CP(long commerceWishListId,
java.lang.String CPInstanceUuid,
long CProductId)
Removes the commerce wish list item where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ? from the database.
|
static void |
removeByCW_CPI(long commerceWishListId,
java.lang.String CPInstanceUuid)
Removes all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ? from the database.
|
static CommerceWishListItem |
update(CommerceWishListItem commerceWishListItem) |
static CommerceWishListItem |
update(CommerceWishListItem commerceWishListItem,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceWishListItem |
updateImpl(CommerceWishListItem commerceWishListItem) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommerceWishListItem commerceWishListItem)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CommerceWishListItem> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommerceWishListItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommerceWishListItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommerceWishListItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommerceWishListItem update(CommerceWishListItem commerceWishListItem)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommerceWishListItem update(CommerceWishListItem commerceWishListItem, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommerceWishListItem> findByCommerceWishListId(long commerceWishListId)
commerceWishListId
- the commerce wish list IDpublic static java.util.List<CommerceWishListItem> findByCommerceWishListId(long commerceWishListId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
commerceWishListId
- the commerce wish list IDstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)public static java.util.List<CommerceWishListItem> findByCommerceWishListId(long commerceWishListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
commerceWishListId
- the commerce wish list IDstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceWishListItem> findByCommerceWishListId(long commerceWishListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
commerceWishListId
- the commerce wish list IDstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceWishListItem findByCommerceWishListId_First(long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListId
- the commerce wish list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundpublic static CommerceWishListItem fetchByCommerceWishListId_First(long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
commerceWishListId
- the commerce wish list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundpublic static CommerceWishListItem findByCommerceWishListId_Last(long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListId
- the commerce wish list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundpublic static CommerceWishListItem fetchByCommerceWishListId_Last(long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
commerceWishListId
- the commerce wish list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundpublic static CommerceWishListItem[] findByCommerceWishListId_PrevAndNext(long commerceWishListItemId, long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListItemId
- the primary key of the current commerce wish list itemcommerceWishListId
- the commerce wish list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a commerce wish list item with the primary key could not be foundpublic static void removeByCommerceWishListId(long commerceWishListId)
commerceWishListId
- the commerce wish list IDpublic static int countByCommerceWishListId(long commerceWishListId)
commerceWishListId
- the commerce wish list IDpublic static java.util.List<CommerceWishListItem> findByCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuidpublic static java.util.List<CommerceWishListItem> findByCPInstanceUuid(java.lang.String CPInstanceUuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
CPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)public static java.util.List<CommerceWishListItem> findByCPInstanceUuid(java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
CPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceWishListItem> findByCPInstanceUuid(java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
CPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceWishListItem findByCPInstanceUuid_First(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundpublic static CommerceWishListItem fetchByCPInstanceUuid_First(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundpublic static CommerceWishListItem findByCPInstanceUuid_Last(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundpublic static CommerceWishListItem fetchByCPInstanceUuid_Last(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundpublic static CommerceWishListItem[] findByCPInstanceUuid_PrevAndNext(long commerceWishListItemId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListItemId
- the primary key of the current commerce wish list itemCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a commerce wish list item with the primary key could not be foundpublic static void removeByCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuidpublic static int countByCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuidpublic static java.util.List<CommerceWishListItem> findByCProductId(long CProductId)
CProductId
- the c product IDpublic static java.util.List<CommerceWishListItem> findByCProductId(long CProductId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
CProductId
- the c product IDstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)public static java.util.List<CommerceWishListItem> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
CProductId
- the c product IDstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceWishListItem> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
CProductId
- the c product IDstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceWishListItem findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundpublic static CommerceWishListItem fetchByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundpublic static CommerceWishListItem findByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundpublic static CommerceWishListItem fetchByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundpublic static CommerceWishListItem[] findByCProductId_PrevAndNext(long commerceWishListItemId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListItemId
- the primary key of the current commerce wish list itemCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a commerce wish list item with the primary key could not be foundpublic static void removeByCProductId(long CProductId)
CProductId
- the c product IDpublic static int countByCProductId(long CProductId)
CProductId
- the c product IDpublic static java.util.List<CommerceWishListItem> findByCW_CPI(long commerceWishListId, java.lang.String CPInstanceUuid)
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidpublic static java.util.List<CommerceWishListItem> findByCW_CPI(long commerceWishListId, java.lang.String CPInstanceUuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)public static java.util.List<CommerceWishListItem> findByCW_CPI(long commerceWishListId, java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceWishListItem> findByCW_CPI(long commerceWishListId, java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceWishListItem findByCW_CPI_First(long commerceWishListId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundpublic static CommerceWishListItem fetchByCW_CPI_First(long commerceWishListId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundpublic static CommerceWishListItem findByCW_CPI_Last(long commerceWishListId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundpublic static CommerceWishListItem fetchByCW_CPI_Last(long commerceWishListId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundpublic static CommerceWishListItem[] findByCW_CPI_PrevAndNext(long commerceWishListItemId, long commerceWishListId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListItemId
- the primary key of the current commerce wish list itemcommerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a commerce wish list item with the primary key could not be foundpublic static void removeByCW_CPI(long commerceWishListId, java.lang.String CPInstanceUuid)
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidpublic static int countByCW_CPI(long commerceWishListId, java.lang.String CPInstanceUuid)
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidpublic static java.util.List<CommerceWishListItem> findByCW_CP(long commerceWishListId, long CProductId)
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDpublic static java.util.List<CommerceWishListItem> findByCW_CP(long commerceWishListId, long CProductId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)public static java.util.List<CommerceWishListItem> findByCW_CP(long commerceWishListId, long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceWishListItem> findByCW_CP(long commerceWishListId, long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceWishListItem findByCW_CP_First(long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundpublic static CommerceWishListItem fetchByCW_CP_First(long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundpublic static CommerceWishListItem findByCW_CP_Last(long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundpublic static CommerceWishListItem fetchByCW_CP_Last(long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundpublic static CommerceWishListItem[] findByCW_CP_PrevAndNext(long commerceWishListItemId, long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListItemId
- the primary key of the current commerce wish list itemcommerceWishListId
- the commerce wish list IDCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a commerce wish list item with the primary key could not be foundpublic static void removeByCW_CP(long commerceWishListId, long CProductId)
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDpublic static int countByCW_CP(long commerceWishListId, long CProductId)
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDpublic static CommerceWishListItem findByCW_CPI_CP(long commerceWishListId, java.lang.String CPInstanceUuid, long CProductId) throws NoSuchWishListItemException
NoSuchWishListItemException
if it could not be found.commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidCProductId
- the c product IDNoSuchWishListItemException
- if a matching commerce wish list item could not be foundpublic static CommerceWishListItem fetchByCW_CPI_CP(long commerceWishListId, java.lang.String CPInstanceUuid, long CProductId)
null
if it could not be found. Uses the finder cache.commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidCProductId
- the c product IDnull
if a matching commerce wish list item could not be foundpublic static CommerceWishListItem fetchByCW_CPI_CP(long commerceWishListId, java.lang.String CPInstanceUuid, long CProductId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidCProductId
- the c product IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce wish list item could not be foundpublic static CommerceWishListItem removeByCW_CPI_CP(long commerceWishListId, java.lang.String CPInstanceUuid, long CProductId) throws NoSuchWishListItemException
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidCProductId
- the c product IDNoSuchWishListItemException
public static int countByCW_CPI_CP(long commerceWishListId, java.lang.String CPInstanceUuid, long CProductId)
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidCProductId
- the c product IDpublic static void cacheResult(CommerceWishListItem commerceWishListItem)
commerceWishListItem
- the commerce wish list itempublic static void cacheResult(java.util.List<CommerceWishListItem> commerceWishListItems)
commerceWishListItems
- the commerce wish list itemspublic static CommerceWishListItem create(long commerceWishListItemId)
commerceWishListItemId
- the primary key for the new commerce wish list itempublic static CommerceWishListItem remove(long commerceWishListItemId) throws NoSuchWishListItemException
commerceWishListItemId
- the primary key of the commerce wish list itemNoSuchWishListItemException
- if a commerce wish list item with the primary key could not be foundpublic static CommerceWishListItem updateImpl(CommerceWishListItem commerceWishListItem)
public static CommerceWishListItem findByPrimaryKey(long commerceWishListItemId) throws NoSuchWishListItemException
NoSuchWishListItemException
if it could not be found.commerceWishListItemId
- the primary key of the commerce wish list itemNoSuchWishListItemException
- if a commerce wish list item with the primary key could not be foundpublic static CommerceWishListItem fetchByPrimaryKey(long commerceWishListItemId)
null
if it could not be found.commerceWishListItemId
- the primary key of the commerce wish list itemnull
if a commerce wish list item with the primary key could not be foundpublic static java.util.List<CommerceWishListItem> findAll()
public static java.util.List<CommerceWishListItem> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
start
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)public static java.util.List<CommerceWishListItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
start
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceWishListItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
start
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static CommerceWishListItemPersistence getPersistence()