public class CommerceWishListUtil
extends java.lang.Object
com.liferay.commerce.wish.list.service.persistence.impl.CommerceWishListPersistenceImpl
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
CommerceWishListPersistence
Constructor and Description |
---|
CommerceWishListUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommerceWishList commerceWishList)
Caches the commerce wish list in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceWishList> commerceWishLists)
Caches the commerce wish lists in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommerceWishList commerceWishList) |
static int |
countAll()
Returns the number of commerce wish lists.
|
static int |
countByG_U_D(long groupId,
long userId,
boolean defaultWishList)
Returns the number of commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.
|
static int |
countByG_U(long groupId,
long userId)
Returns the number of commerce wish lists where groupId = ? and userId = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of commerce wish lists where groupId = ?.
|
static int |
countByU_LtC(long userId,
java.util.Date createDate)
Returns the number of commerce wish lists where userId = ? and createDate < ?.
|
static int |
countByUserId(long userId)
Returns the number of commerce wish lists where userId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce wish lists where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce wish lists where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of commerce wish lists where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommerceWishList |
create(long commerceWishListId)
Creates a new commerce wish list with the primary key.
|
static CommerceWishList |
fetchByG_U_D_First(long groupId,
long userId,
boolean defaultWishList,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the first commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.
|
static CommerceWishList |
fetchByG_U_D_Last(long groupId,
long userId,
boolean defaultWishList,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the last commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.
|
static CommerceWishList |
fetchByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the first commerce wish list in the ordered set where groupId = ? and userId = ?.
|
static CommerceWishList |
fetchByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the last commerce wish list in the ordered set where groupId = ? and userId = ?.
|
static CommerceWishList |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the first commerce wish list in the ordered set where groupId = ?.
|
static CommerceWishList |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the last commerce wish list in the ordered set where groupId = ?.
|
static CommerceWishList |
fetchByPrimaryKey(long commerceWishListId)
Returns the commerce wish list with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommerceWishList> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CommerceWishList |
fetchByU_LtC_First(long userId,
java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the first commerce wish list in the ordered set where userId = ? and createDate < ?.
|
static CommerceWishList |
fetchByU_LtC_Last(long userId,
java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the last commerce wish list in the ordered set where userId = ? and createDate < ?.
|
static CommerceWishList |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the first commerce wish list in the ordered set where userId = ?.
|
static CommerceWishList |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the last commerce wish list in the ordered set where userId = ?.
|
static CommerceWishList |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the first commerce wish list in the ordered set where uuid = ? and companyId = ?.
|
static CommerceWishList |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the last commerce wish list in the ordered set where uuid = ? and companyId = ?.
|
static CommerceWishList |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the first commerce wish list in the ordered set where uuid = ?.
|
static CommerceWishList |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce wish list where uuid = ? and groupId = ? or returns
null if it could not be found. |
static CommerceWishList |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the commerce wish list where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommerceWishList |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the last commerce wish list in the ordered set where uuid = ?.
|
static java.util.List<CommerceWishList> |
findAll()
Returns all the commerce wish lists.
|
static java.util.List<CommerceWishList> |
findAll(int start,
int end)
Returns a range of all the commerce wish lists.
|
static java.util.List<CommerceWishList> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns an ordered range of all the commerce wish lists.
|
static java.util.List<CommerceWishList> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce wish lists.
|
static CommerceWishList |
findByG_U_D_First(long groupId,
long userId,
boolean defaultWishList,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the first commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.
|
static CommerceWishList |
findByG_U_D_Last(long groupId,
long userId,
boolean defaultWishList,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the last commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.
|
static CommerceWishList[] |
findByG_U_D_PrevAndNext(long commerceWishListId,
long groupId,
long userId,
boolean defaultWishList,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the commerce wish lists before and after the current commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.
|
static java.util.List<CommerceWishList> |
findByG_U_D(long groupId,
long userId,
boolean defaultWishList)
Returns all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.
|
static java.util.List<CommerceWishList> |
findByG_U_D(long groupId,
long userId,
boolean defaultWishList,
int start,
int end)
Returns a range of all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.
|
static java.util.List<CommerceWishList> |
findByG_U_D(long groupId,
long userId,
boolean defaultWishList,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns an ordered range of all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.
|
static java.util.List<CommerceWishList> |
findByG_U_D(long groupId,
long userId,
boolean defaultWishList,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.
|
static CommerceWishList |
findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the first commerce wish list in the ordered set where groupId = ? and userId = ?.
|
static CommerceWishList |
findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the last commerce wish list in the ordered set where groupId = ? and userId = ?.
|
static CommerceWishList[] |
findByG_U_PrevAndNext(long commerceWishListId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the commerce wish lists before and after the current commerce wish list in the ordered set where groupId = ? and userId = ?.
|
static java.util.List<CommerceWishList> |
findByG_U(long groupId,
long userId)
Returns all the commerce wish lists where groupId = ? and userId = ?.
|
static java.util.List<CommerceWishList> |
findByG_U(long groupId,
long userId,
int start,
int end)
Returns a range of all the commerce wish lists where groupId = ? and userId = ?.
|
static java.util.List<CommerceWishList> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns an ordered range of all the commerce wish lists where groupId = ? and userId = ?.
|
static java.util.List<CommerceWishList> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce wish lists where groupId = ? and userId = ?.
|
static CommerceWishList |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the first commerce wish list in the ordered set where groupId = ?.
|
static CommerceWishList |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the last commerce wish list in the ordered set where groupId = ?.
|
static CommerceWishList[] |
findByGroupId_PrevAndNext(long commerceWishListId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the commerce wish lists before and after the current commerce wish list in the ordered set where groupId = ?.
|
static java.util.List<CommerceWishList> |
findByGroupId(long groupId)
Returns all the commerce wish lists where groupId = ?.
|
static java.util.List<CommerceWishList> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce wish lists where groupId = ?.
|
static java.util.List<CommerceWishList> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns an ordered range of all the commerce wish lists where groupId = ?.
|
static java.util.List<CommerceWishList> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce wish lists where groupId = ?.
|
static CommerceWishList |
findByPrimaryKey(long commerceWishListId)
Returns the commerce wish list with the primary key or throws a
NoSuchWishListException if it could not be found. |
static CommerceWishList |
findByU_LtC_First(long userId,
java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the first commerce wish list in the ordered set where userId = ? and createDate < ?.
|
static CommerceWishList |
findByU_LtC_Last(long userId,
java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the last commerce wish list in the ordered set where userId = ? and createDate < ?.
|
static CommerceWishList[] |
findByU_LtC_PrevAndNext(long commerceWishListId,
long userId,
java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the commerce wish lists before and after the current commerce wish list in the ordered set where userId = ? and createDate < ?.
|
static java.util.List<CommerceWishList> |
findByU_LtC(long userId,
java.util.Date createDate)
Returns all the commerce wish lists where userId = ? and createDate < ?.
|
static java.util.List<CommerceWishList> |
findByU_LtC(long userId,
java.util.Date createDate,
int start,
int end)
Returns a range of all the commerce wish lists where userId = ? and createDate < ?.
|
static java.util.List<CommerceWishList> |
findByU_LtC(long userId,
java.util.Date createDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns an ordered range of all the commerce wish lists where userId = ? and createDate < ?.
|
static java.util.List<CommerceWishList> |
findByU_LtC(long userId,
java.util.Date createDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce wish lists where userId = ? and createDate < ?.
|
static CommerceWishList |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the first commerce wish list in the ordered set where userId = ?.
|
static CommerceWishList |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the last commerce wish list in the ordered set where userId = ?.
|
static CommerceWishList[] |
findByUserId_PrevAndNext(long commerceWishListId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the commerce wish lists before and after the current commerce wish list in the ordered set where userId = ?.
|
static java.util.List<CommerceWishList> |
findByUserId(long userId)
Returns all the commerce wish lists where userId = ?.
|
static java.util.List<CommerceWishList> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the commerce wish lists where userId = ?.
|
static java.util.List<CommerceWishList> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns an ordered range of all the commerce wish lists where userId = ?.
|
static java.util.List<CommerceWishList> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce wish lists where userId = ?.
|
static CommerceWishList |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the first commerce wish list in the ordered set where uuid = ? and companyId = ?.
|
static CommerceWishList |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the last commerce wish list in the ordered set where uuid = ? and companyId = ?.
|
static CommerceWishList[] |
findByUuid_C_PrevAndNext(long commerceWishListId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the commerce wish lists before and after the current commerce wish list in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<CommerceWishList> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce wish lists where uuid = ? and companyId = ?.
|
static java.util.List<CommerceWishList> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce wish lists where uuid = ? and companyId = ?.
|
static java.util.List<CommerceWishList> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns an ordered range of all the commerce wish lists where uuid = ? and companyId = ?.
|
static java.util.List<CommerceWishList> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce wish lists where uuid = ? and companyId = ?.
|
static CommerceWishList |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the first commerce wish list in the ordered set where uuid = ?.
|
static CommerceWishList |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce wish list where uuid = ? and groupId = ? or throws a
NoSuchWishListException if it could not be found. |
static CommerceWishList |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the last commerce wish list in the ordered set where uuid = ?.
|
static CommerceWishList[] |
findByUuid_PrevAndNext(long commerceWishListId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns the commerce wish lists before and after the current commerce wish list in the ordered set where uuid = ?.
|
static java.util.List<CommerceWishList> |
findByUuid(java.lang.String uuid)
Returns all the commerce wish lists where uuid = ?.
|
static java.util.List<CommerceWishList> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce wish lists where uuid = ?.
|
static java.util.List<CommerceWishList> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns an ordered range of all the commerce wish lists where uuid = ?.
|
static java.util.List<CommerceWishList> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce wish lists where uuid = ?.
|
static java.util.List<CommerceWishList> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceWishList> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceWishList> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) |
static CommerceWishListPersistence |
getPersistence() |
static CommerceWishList |
remove(long commerceWishListId)
Removes the commerce wish list with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce wish lists from the database.
|
static void |
removeByG_U_D(long groupId,
long userId,
boolean defaultWishList)
Removes all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ? from the database.
|
static void |
removeByG_U(long groupId,
long userId)
Removes all the commerce wish lists where groupId = ? and userId = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the commerce wish lists where groupId = ? from the database.
|
static void |
removeByU_LtC(long userId,
java.util.Date createDate)
Removes all the commerce wish lists where userId = ? and createDate < ? from the database.
|
static void |
removeByUserId(long userId)
Removes all the commerce wish lists where userId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce wish lists where uuid = ? and companyId = ? from the database.
|
static CommerceWishList |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce wish list where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the commerce wish lists where uuid = ? from the database.
|
static CommerceWishList |
update(CommerceWishList commerceWishList) |
static CommerceWishList |
update(CommerceWishList commerceWishList,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceWishList |
updateImpl(CommerceWishList commerceWishList) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommerceWishList commerceWishList)
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,CommerceWishList> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommerceWishList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommerceWishList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommerceWishList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommerceWishList update(CommerceWishList commerceWishList)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommerceWishList update(CommerceWishList commerceWishList, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommerceWishList> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CommerceWishList> findByUuid(java.lang.String uuid, 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 CommerceWishListModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)public static java.util.List<CommerceWishList> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceWishList> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceWishList findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list could not be foundpublic static CommerceWishList findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list could not be foundpublic static CommerceWishList[] findByUuid_PrevAndNext(long commerceWishListId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
commerceWishListId
- the primary key of the current commerce wish listuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a commerce wish list with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static CommerceWishList findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchWishListException
NoSuchWishListException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchWishListException
- if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce wish list could not be foundpublic static CommerceWishList removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchWishListException
uuid
- the uuidgroupId
- the group IDNoSuchWishListException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<CommerceWishList> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommerceWishList> findByUuid_C(java.lang.String uuid, long companyId, 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 CommerceWishListModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)public static java.util.List<CommerceWishList> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceWishList> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceWishList findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list could not be foundpublic static CommerceWishList findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list could not be foundpublic static CommerceWishList[] findByUuid_C_PrevAndNext(long commerceWishListId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
commerceWishListId
- the primary key of the current commerce wish listuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a commerce wish list with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommerceWishList> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<CommerceWishList> findByGroupId(long groupId, 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 CommerceWishListModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)public static java.util.List<CommerceWishList> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceWishList> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceWishList findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list could not be foundpublic static CommerceWishList findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list could not be foundpublic static CommerceWishList[] findByGroupId_PrevAndNext(long commerceWishListId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
commerceWishListId
- the primary key of the current commerce wish listgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a commerce wish list with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<CommerceWishList> findByUserId(long userId)
userId
- the user IDpublic static java.util.List<CommerceWishList> findByUserId(long userId, 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 CommerceWishListModelImpl
.
userId
- the user IDstart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)public static java.util.List<CommerceWishList> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
userId
- the user IDstart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceWishList> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
userId
- the user IDstart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceWishList findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list could not be foundpublic static CommerceWishList findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list could not be foundpublic static CommerceWishList[] findByUserId_PrevAndNext(long commerceWishListId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
commerceWishListId
- the primary key of the current commerce wish listuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a commerce wish list with the primary key could not be foundpublic static void removeByUserId(long userId)
userId
- the user IDpublic static int countByUserId(long userId)
userId
- the user IDpublic static java.util.List<CommerceWishList> findByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDpublic static java.util.List<CommerceWishList> findByG_U(long groupId, long userId, 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 CommerceWishListModelImpl
.
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)public static java.util.List<CommerceWishList> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceWishList> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceWishList findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list could not be foundpublic static CommerceWishList findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list could not be foundpublic static CommerceWishList[] findByG_U_PrevAndNext(long commerceWishListId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
commerceWishListId
- the primary key of the current commerce wish listgroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a commerce wish list with the primary key could not be foundpublic static void removeByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDpublic static int countByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDpublic static java.util.List<CommerceWishList> findByU_LtC(long userId, java.util.Date createDate)
userId
- the user IDcreateDate
- the create datepublic static java.util.List<CommerceWishList> findByU_LtC(long userId, java.util.Date createDate, 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 CommerceWishListModelImpl
.
userId
- the user IDcreateDate
- the create datestart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)public static java.util.List<CommerceWishList> findByU_LtC(long userId, java.util.Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
userId
- the user IDcreateDate
- the create datestart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceWishList> findByU_LtC(long userId, java.util.Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
userId
- the user IDcreateDate
- the create datestart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceWishList findByU_LtC_First(long userId, java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
userId
- the user IDcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByU_LtC_First(long userId, java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
userId
- the user IDcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list could not be foundpublic static CommerceWishList findByU_LtC_Last(long userId, java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
userId
- the user IDcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByU_LtC_Last(long userId, java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
userId
- the user IDcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list could not be foundpublic static CommerceWishList[] findByU_LtC_PrevAndNext(long commerceWishListId, long userId, java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
commerceWishListId
- the primary key of the current commerce wish listuserId
- the user IDcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a commerce wish list with the primary key could not be foundpublic static void removeByU_LtC(long userId, java.util.Date createDate)
userId
- the user IDcreateDate
- the create datepublic static int countByU_LtC(long userId, java.util.Date createDate)
userId
- the user IDcreateDate
- the create datepublic static java.util.List<CommerceWishList> findByG_U_D(long groupId, long userId, boolean defaultWishList)
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish listpublic static java.util.List<CommerceWishList> findByG_U_D(long groupId, long userId, boolean defaultWishList, 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 CommerceWishListModelImpl
.
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish liststart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)public static java.util.List<CommerceWishList> findByG_U_D(long groupId, long userId, boolean defaultWishList, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish liststart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceWishList> findByG_U_D(long groupId, long userId, boolean defaultWishList, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish liststart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceWishList findByG_U_D_First(long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish listorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByG_U_D_First(long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish listorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list could not be foundpublic static CommerceWishList findByG_U_D_Last(long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish listorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a matching commerce wish list could not be foundpublic static CommerceWishList fetchByG_U_D_Last(long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish listorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list could not be foundpublic static CommerceWishList[] findByG_U_D_PrevAndNext(long commerceWishListId, long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
commerceWishListId
- the primary key of the current commerce wish listgroupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish listorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListException
- if a commerce wish list with the primary key could not be foundpublic static void removeByG_U_D(long groupId, long userId, boolean defaultWishList)
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish listpublic static int countByG_U_D(long groupId, long userId, boolean defaultWishList)
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish listpublic static void cacheResult(CommerceWishList commerceWishList)
commerceWishList
- the commerce wish listpublic static void cacheResult(java.util.List<CommerceWishList> commerceWishLists)
commerceWishLists
- the commerce wish listspublic static CommerceWishList create(long commerceWishListId)
commerceWishListId
- the primary key for the new commerce wish listpublic static CommerceWishList remove(long commerceWishListId) throws NoSuchWishListException
commerceWishListId
- the primary key of the commerce wish listNoSuchWishListException
- if a commerce wish list with the primary key could not be foundpublic static CommerceWishList updateImpl(CommerceWishList commerceWishList)
public static CommerceWishList findByPrimaryKey(long commerceWishListId) throws NoSuchWishListException
NoSuchWishListException
if it could not be found.commerceWishListId
- the primary key of the commerce wish listNoSuchWishListException
- if a commerce wish list with the primary key could not be foundpublic static CommerceWishList fetchByPrimaryKey(long commerceWishListId)
null
if it could not be found.commerceWishListId
- the primary key of the commerce wish listnull
if a commerce wish list with the primary key could not be foundpublic static java.util.List<CommerceWishList> findAll()
public static java.util.List<CommerceWishList> 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 CommerceWishListModelImpl
.
start
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)public static java.util.List<CommerceWishList> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
start
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceWishList> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> 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 CommerceWishListModelImpl
.
start
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (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 CommerceWishListPersistence getPersistence()