Class CommerceWishListUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CommerceWishList commerceWishList) Caches the commerce wish list in the entity cache if it is enabled.static void
cacheResult
(List<CommerceWishList> commerceWishLists) Caches the commerce wish lists in the entity cache if it is enabled.static void
static void
clearCache
(CommerceWishList commerceWishList) static int
countAll()
Returns the number of commerce wish lists.static int
countByG_U
(long groupId, long userId) Returns the number of commerce wish lists where groupId = ? and userId = ?.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
countByGroupId
(long groupId) Returns the number of commerce wish lists where groupId = ?.static int
countByU_LtC
(long userId, 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
(String uuid) Returns the number of commerce wish lists where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce wish lists where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of commerce wish lists where uuid = ? and groupId = ?.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 returnsnull
if it could not be found.static Map<Serializable,
CommerceWishList> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static CommerceWishList
fetchByU_LtC_First
(long userId, 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, 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
(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
(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
(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
(String uuid, long groupId) Returns the commerce wish list where uuid = ? and groupId = ? or returnsnull
if it could not be found.static CommerceWishList
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the commerce wish list where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static CommerceWishList
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the last commerce wish list in the ordered set where uuid = ?.static List<CommerceWishList>
findAll()
Returns all the commerce wish lists.static List<CommerceWishList>
findAll
(int start, int end) Returns a range of all the commerce wish lists.static 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 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 List<CommerceWishList>
findByG_U
(long groupId, long userId) Returns all the commerce wish lists where groupId = ? and userId = ?.static 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 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 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 List<CommerceWishList>
findByG_U_D
(long groupId, long userId, boolean defaultWishList) Returns all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.static 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 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 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_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 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 List<CommerceWishList>
findByGroupId
(long groupId) Returns all the commerce wish lists where groupId = ?.static List<CommerceWishList>
findByGroupId
(long groupId, int start, int end) Returns a range of all the commerce wish lists where groupId = ?.static 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 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
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 CommerceWishList
findByPrimaryKey
(long commerceWishListId) Returns the commerce wish list with the primary key or throws aNoSuchWishListException
if it could not be found.static List<CommerceWishList>
findByU_LtC
(long userId, Date createDate) Returns all the commerce wish lists where userId = ? and createDate < ?.static List<CommerceWishList>
findByU_LtC
(long userId, Date createDate, int start, int end) Returns a range of all the commerce wish lists where userId = ? and createDate < ?.static List<CommerceWishList>
findByU_LtC
(long userId, 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 List<CommerceWishList>
findByU_LtC
(long userId, 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
findByU_LtC_First
(long userId, 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, 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, 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 List<CommerceWishList>
findByUserId
(long userId) Returns all the commerce wish lists where userId = ?.static List<CommerceWishList>
findByUserId
(long userId, int start, int end) Returns a range of all the commerce wish lists where userId = ?.static 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 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
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 List<CommerceWishList>
findByUuid
(String uuid) Returns all the commerce wish lists where uuid = ?.static List<CommerceWishList>
findByUuid
(String uuid, int start, int end) Returns a range of all the commerce wish lists where uuid = ?.static List<CommerceWishList>
findByUuid
(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 List<CommerceWishList>
findByUuid
(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 List<CommerceWishList>
findByUuid_C
(String uuid, long companyId) Returns all the commerce wish lists where uuid = ? and companyId = ?.static List<CommerceWishList>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce wish lists where uuid = ? and companyId = ?.static List<CommerceWishList>
findByUuid_C
(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 List<CommerceWishList>
findByUuid_C
(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_C_First
(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
(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, 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 CommerceWishList
findByUuid_First
(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
(String uuid, long groupId) Returns the commerce wish list where uuid = ? and groupId = ? or throws aNoSuchWishListException
if it could not be found.static CommerceWishList
findByUuid_Last
(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, 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 List<CommerceWishList>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommerceWishList>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static 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
static CommerceWishList
remove
(long commerceWishListId) Removes the commerce wish list with the primary key from the database.static void
Removes all the commerce wish lists 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
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
removeByGroupId
(long groupId) Removes all the commerce wish lists where groupId = ? from the database.static void
removeByU_LtC
(long userId, 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
(String uuid) Removes all the commerce wish lists where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce wish lists where uuid = ? and companyId = ? from the database.static CommerceWishList
removeByUUID_G
(String uuid, long groupId) Removes the commerce wish list where uuid = ? and groupId = ? from the database.static void
setPersistence
(CommerceWishListPersistence persistence) static CommerceWishList
update
(CommerceWishList commerceWishList) static CommerceWishList
update
(CommerceWishList commerceWishList, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommerceWishList
updateImpl
(CommerceWishList commerceWishList)
-
Constructor Details
-
CommerceWishListUtil
public CommerceWishListUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommerceWishList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommerceWishList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommerceWishList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommerceWishList update(CommerceWishList commerceWishList, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the commerce wish lists where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching commerce wish lists
-
findByUuid
Returns a range of all the commerce wish lists where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce wish lists
-
findByUuid
public static List<CommerceWishList> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce wish lists
-
findByUuid
public static List<CommerceWishList> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce wish lists
-
findByUuid_First
public static CommerceWishList findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the first commerce wish list in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce wish list
- Throws:
NoSuchWishListException
- if a matching commerce wish list could not be foundNoSuchWishListException
-
fetchByUuid_First
public static CommerceWishList fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the first commerce wish list in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
findByUuid_Last
public static CommerceWishList findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the last commerce wish list in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce wish list
- Throws:
NoSuchWishListException
- if a matching commerce wish list could not be foundNoSuchWishListException
-
fetchByUuid_Last
public static CommerceWishList fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the last commerce wish list in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
findByUuid_PrevAndNext
public static CommerceWishList[] findByUuid_PrevAndNext(long commerceWishListId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the commerce wish lists before and after the current commerce wish list in the ordered set where uuid = ?.- Parameters:
commerceWishListId
- the primary key of the current commerce wish listuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce wish list
- Throws:
NoSuchWishListException
- if a commerce wish list with the primary key could not be foundNoSuchWishListException
-
removeByUuid
Removes all the commerce wish lists where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of commerce wish lists where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching commerce wish lists
-
findByUUID_G
public static CommerceWishList findByUUID_G(String uuid, long groupId) throws NoSuchWishListException Returns the commerce wish list where uuid = ? and groupId = ? or throws aNoSuchWishListException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce wish list
- Throws:
NoSuchWishListException
- if a matching commerce wish list could not be foundNoSuchWishListException
-
fetchByUUID_G
Returns the commerce wish list where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
fetchByUUID_G
Returns the commerce wish list where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
removeByUUID_G
public static CommerceWishList removeByUUID_G(String uuid, long groupId) throws NoSuchWishListException Removes the commerce wish list where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the commerce wish list that was removed
- Throws:
NoSuchWishListException
-
countByUUID_G
Returns the number of commerce wish lists where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching commerce wish lists
-
findByUuid_C
Returns all the commerce wish lists where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching commerce wish lists
-
findByUuid_C
Returns a range of all the commerce wish lists where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce wish lists
-
findByUuid_C
public static List<CommerceWishList> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce wish lists
-
findByUuid_C
public static List<CommerceWishList> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce wish lists
-
findByUuid_C_First
public static CommerceWishList findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the first commerce wish list in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce wish list
- Throws:
NoSuchWishListException
- if a matching commerce wish list could not be foundNoSuchWishListException
-
fetchByUuid_C_First
public static CommerceWishList fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
findByUuid_C_Last
public static CommerceWishList findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the last commerce wish list in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce wish list
- Throws:
NoSuchWishListException
- if a matching commerce wish list could not be foundNoSuchWishListException
-
fetchByUuid_C_Last
public static CommerceWishList fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
findByUuid_C_PrevAndNext
public static CommerceWishList[] findByUuid_C_PrevAndNext(long commerceWishListId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the commerce wish lists before and after the current commerce wish list in the ordered set where uuid = ? and companyId = ?.- Parameters:
commerceWishListId
- the primary key of the current commerce wish listuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce wish list
- Throws:
NoSuchWishListException
- if a commerce wish list with the primary key could not be foundNoSuchWishListException
-
removeByUuid_C
Removes all the commerce wish lists where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of commerce wish lists where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching commerce wish lists
-
findByGroupId
Returns all the commerce wish lists where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching commerce wish lists
-
findByGroupId
Returns a range of all the commerce wish lists where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce wish lists
-
findByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce wish lists
-
findByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce wish lists
-
findByGroupId_First
public static CommerceWishList findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the first commerce wish list in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce wish list
- Throws:
NoSuchWishListException
- if a matching commerce wish list could not be foundNoSuchWishListException
-
fetchByGroupId_First
public 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 = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
findByGroupId_Last
public static CommerceWishList findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the last commerce wish list in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce wish list
- Throws:
NoSuchWishListException
- if a matching commerce wish list could not be foundNoSuchWishListException
-
fetchByGroupId_Last
public 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 = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
findByGroupId_PrevAndNext
public static CommerceWishList[] findByGroupId_PrevAndNext(long commerceWishListId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the commerce wish lists before and after the current commerce wish list in the ordered set where groupId = ?.- Parameters:
commerceWishListId
- the primary key of the current commerce wish listgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce wish list
- Throws:
NoSuchWishListException
- if a commerce wish list with the primary key could not be foundNoSuchWishListException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the commerce wish lists where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of commerce wish lists where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching commerce wish lists
-
findByUserId
Returns all the commerce wish lists where userId = ?.- Parameters:
userId
- the user ID- Returns:
- the matching commerce wish lists
-
findByUserId
Returns a range of all the commerce wish lists where userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce wish lists
-
findByUserId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce wish lists
-
findByUserId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce wish lists
-
findByUserId_First
public static CommerceWishList findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the first commerce wish list in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce wish list
- Throws:
NoSuchWishListException
- if a matching commerce wish list could not be foundNoSuchWishListException
-
fetchByUserId_First
public 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 = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
findByUserId_Last
public static CommerceWishList findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the last commerce wish list in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce wish list
- Throws:
NoSuchWishListException
- if a matching commerce wish list could not be foundNoSuchWishListException
-
fetchByUserId_Last
public 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 = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
findByUserId_PrevAndNext
public static CommerceWishList[] findByUserId_PrevAndNext(long commerceWishListId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the commerce wish lists before and after the current commerce wish list in the ordered set where userId = ?.- Parameters:
commerceWishListId
- the primary key of the current commerce wish listuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce wish list
- Throws:
NoSuchWishListException
- if a commerce wish list with the primary key could not be foundNoSuchWishListException
-
removeByUserId
public static void removeByUserId(long userId) Removes all the commerce wish lists where userId = ? from the database.- Parameters:
userId
- the user ID
-
countByUserId
public static int countByUserId(long userId) Returns the number of commerce wish lists where userId = ?.- Parameters:
userId
- the user ID- Returns:
- the number of matching commerce wish lists
-
findByG_U
Returns all the commerce wish lists where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user ID- Returns:
- the matching commerce wish lists
-
findByG_U
Returns a range of all the commerce wish lists where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce wish lists
-
findByG_U
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce wish lists
-
findByG_U
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce wish lists
-
findByG_U_First
public static CommerceWishList findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the first commerce wish list in the ordered set where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce wish list
- Throws:
NoSuchWishListException
- if a matching commerce wish list could not be foundNoSuchWishListException
-
fetchByG_U_First
public 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 = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
findByG_U_Last
public static CommerceWishList findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the last commerce wish list in the ordered set where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce wish list
- Throws:
NoSuchWishListException
- if a matching commerce wish list could not be foundNoSuchWishListException
-
fetchByG_U_Last
public 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 = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
findByG_U_PrevAndNext
public static CommerceWishList[] findByG_U_PrevAndNext(long commerceWishListId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the commerce wish lists before and after the current commerce wish list in the ordered set where groupId = ? and userId = ?.- Parameters:
commerceWishListId
- the primary key of the current commerce wish listgroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce wish list
- Throws:
NoSuchWishListException
- if a commerce wish list with the primary key could not be foundNoSuchWishListException
-
removeByG_U
public static void removeByG_U(long groupId, long userId) Removes all the commerce wish lists where groupId = ? and userId = ? from the database.- Parameters:
groupId
- the group IDuserId
- the user ID
-
countByG_U
public static int countByG_U(long groupId, long userId) Returns the number of commerce wish lists where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user ID- Returns:
- the number of matching commerce wish lists
-
findByU_LtC
Returns all the commerce wish lists where userId = ? and createDate < ?.- Parameters:
userId
- the user IDcreateDate
- the create date- Returns:
- the matching commerce wish lists
-
findByU_LtC
Returns a range of all the commerce wish lists where userId = ? and createDate < ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce wish lists
-
findByU_LtC
public static List<CommerceWishList> findByU_LtC(long userId, 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 < ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce wish lists
-
findByU_LtC
public static List<CommerceWishList> findByU_LtC(long userId, 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 < ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce wish lists
-
findByU_LtC_First
public static CommerceWishList findByU_LtC_First(long userId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the first commerce wish list in the ordered set where userId = ? and createDate < ?.- Parameters:
userId
- the user IDcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce wish list
- Throws:
NoSuchWishListException
- if a matching commerce wish list could not be foundNoSuchWishListException
-
fetchByU_LtC_First
public static CommerceWishList fetchByU_LtC_First(long userId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the first commerce wish list in the ordered set where userId = ? and createDate < ?.- Parameters:
userId
- the user IDcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
findByU_LtC_Last
public static CommerceWishList findByU_LtC_Last(long userId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the last commerce wish list in the ordered set where userId = ? and createDate < ?.- Parameters:
userId
- the user IDcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce wish list
- Throws:
NoSuchWishListException
- if a matching commerce wish list could not be foundNoSuchWishListException
-
fetchByU_LtC_Last
public static CommerceWishList fetchByU_LtC_Last(long userId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the last commerce wish list in the ordered set where userId = ? and createDate < ?.- Parameters:
userId
- the user IDcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
findByU_LtC_PrevAndNext
public static CommerceWishList[] findByU_LtC_PrevAndNext(long commerceWishListId, long userId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the commerce wish lists before and after the current commerce wish list in the ordered set where userId = ? and createDate < ?.- Parameters:
commerceWishListId
- the primary key of the current commerce wish listuserId
- the user IDcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce wish list
- Throws:
NoSuchWishListException
- if a commerce wish list with the primary key could not be foundNoSuchWishListException
-
removeByU_LtC
Removes all the commerce wish lists where userId = ? and createDate < ? from the database.- Parameters:
userId
- the user IDcreateDate
- the create date
-
countByU_LtC
Returns the number of commerce wish lists where userId = ? and createDate < ?.- Parameters:
userId
- the user IDcreateDate
- the create date- Returns:
- the number of matching commerce wish lists
-
findByG_U_D
public static List<CommerceWishList> findByG_U_D(long groupId, long userId, boolean defaultWishList) Returns all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.- Parameters:
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish list- Returns:
- the matching commerce wish lists
-
findByG_U_D
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce wish lists
-
findByG_U_D
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce wish lists
-
findByG_U_D
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce wish lists
-
findByG_U_D_First
public static CommerceWishList findByG_U_D_First(long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the first commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.- Parameters:
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish listorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce wish list
- Throws:
NoSuchWishListException
- if a matching commerce wish list could not be foundNoSuchWishListException
-
fetchByG_U_D_First
public 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 = ?.- Parameters:
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish listorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
findByG_U_D_Last
public static CommerceWishList findByG_U_D_Last(long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the last commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.- Parameters:
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish listorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce wish list
- Throws:
NoSuchWishListException
- if a matching commerce wish list could not be foundNoSuchWishListException
-
fetchByG_U_D_Last
public 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 = ?.- Parameters:
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish listorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce wish list, or
null
if a matching commerce wish list could not be found
-
findByG_U_D_PrevAndNext
public static CommerceWishList[] findByG_U_D_PrevAndNext(long commerceWishListId, long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException Returns the commerce wish lists before and after the current commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next commerce wish list
- Throws:
NoSuchWishListException
- if a commerce wish list with the primary key could not be foundNoSuchWishListException
-
removeByG_U_D
public 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.- Parameters:
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish list
-
countByG_U_D
public static int countByG_U_D(long groupId, long userId, boolean defaultWishList) Returns the number of commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.- Parameters:
groupId
- the group IDuserId
- the user IDdefaultWishList
- the default wish list- Returns:
- the number of matching commerce wish lists
-
cacheResult
Caches the commerce wish list in the entity cache if it is enabled.- Parameters:
commerceWishList
- the commerce wish list
-
cacheResult
Caches the commerce wish lists in the entity cache if it is enabled.- Parameters:
commerceWishLists
- the commerce wish lists
-
create
Creates a new commerce wish list with the primary key. Does not add the commerce wish list to the database.- Parameters:
commerceWishListId
- the primary key for the new commerce wish list- Returns:
- the new commerce wish list
-
remove
Removes the commerce wish list with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceWishListId
- the primary key of the commerce wish list- Returns:
- the commerce wish list that was removed
- Throws:
NoSuchWishListException
- if a commerce wish list with the primary key could not be foundNoSuchWishListException
-
updateImpl
-
findByPrimaryKey
public static CommerceWishList findByPrimaryKey(long commerceWishListId) throws NoSuchWishListException Returns the commerce wish list with the primary key or throws aNoSuchWishListException
if it could not be found.- Parameters:
commerceWishListId
- the primary key of the commerce wish list- Returns:
- the commerce wish list
- Throws:
NoSuchWishListException
- if a commerce wish list with the primary key could not be foundNoSuchWishListException
-
fetchByPrimaryKey
Returns the commerce wish list with the primary key or returnsnull
if it could not be found.- Parameters:
commerceWishListId
- the primary key of the commerce wish list- Returns:
- the commerce wish list, or
null
if a commerce wish list with the primary key could not be found
-
findAll
Returns all the commerce wish lists.- Returns:
- the commerce wish lists
-
findAll
Returns a range of all the commerce wish lists.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
start
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)- Returns:
- the range of commerce wish lists
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of commerce wish lists
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce wish lists
-
removeAll
public static void removeAll()Removes all the commerce wish lists from the database. -
countAll
public static int countAll()Returns the number of commerce wish lists.- Returns:
- the number of commerce wish lists
-
getPersistence
-
setPersistence
-