Interface CommerceWishListPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceWishList>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceWishList commerceWishList) Caches the commerce wish list in the entity cache if it is enabled.void
cacheResult
(List<CommerceWishList> commerceWishLists) Caches the commerce wish lists in the entity cache if it is enabled.int
countAll()
Returns the number of commerce wish lists.int
countByG_U
(long groupId, long userId) Returns the number of commerce wish lists where groupId = ? and userId = ?.int
countByG_U_D
(long groupId, long userId, boolean defaultWishList) Returns the number of commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.int
countByGroupId
(long groupId) Returns the number of commerce wish lists where groupId = ?.int
countByU_LtC
(long userId, Date createDate) Returns the number of commerce wish lists where userId = ? and createDate < ?.int
countByUserId
(long userId) Returns the number of commerce wish lists where userId = ?.int
countByUuid
(String uuid) Returns the number of commerce wish lists where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce wish lists where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of commerce wish lists where uuid = ? and groupId = ?.create
(long commerceWishListId) Creates a new commerce wish list with the primary key.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 = ?.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 = ?.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 = ?.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 = ?.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the first commerce wish list in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the last commerce wish list in the ordered set where groupId = ?.fetchByPrimaryKey
(long commerceWishListId) Returns the commerce wish list with the primary key or returnsnull
if it could not be found.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 < ?.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 < ?.fetchByUserId_First
(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the first commerce wish list in the ordered set where userId = ?.fetchByUserId_Last
(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the last commerce wish list in the ordered set where userId = ?.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 = ?.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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the first commerce wish list in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the commerce wish list where uuid = ? and groupId = ? or returnsnull
if it could not be found.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.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the last commerce wish list in the ordered set where uuid = ?.findAll()
Returns all the commerce wish lists.findAll
(int start, int end) Returns a range of all the commerce wish lists.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns an ordered range of all the commerce wish lists.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.findByG_U
(long groupId, long userId) Returns all the commerce wish lists where groupId = ? and userId = ?.findByG_U
(long groupId, long userId, int start, int end) Returns a range of all the commerce wish lists where groupId = ? and userId = ?.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 = ?.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 = ?.findByG_U_D
(long groupId, long userId, boolean defaultWishList) Returns all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByGroupId
(long groupId) Returns all the commerce wish lists where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the commerce wish lists where groupId = ?.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 = ?.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 = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the first commerce wish list in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the last commerce wish list in the ordered set where groupId = ?.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 = ?.findByPrimaryKey
(long commerceWishListId) Returns the commerce wish list with the primary key or throws aNoSuchWishListException
if it could not be found.findByU_LtC
(long userId, Date createDate) Returns all the commerce wish lists where userId = ? and createDate < ?.findByU_LtC
(long userId, Date createDate, int start, int end) Returns a range of all the commerce wish lists where userId = ? and createDate < ?.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 < ?.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 < ?.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 < ?.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 < ?.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 < ?.findByUserId
(long userId) Returns all the commerce wish lists where userId = ?.findByUserId
(long userId, int start, int end) Returns a range of all the commerce wish lists where userId = ?.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 = ?.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 = ?.findByUserId_First
(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the first commerce wish list in the ordered set where userId = ?.findByUserId_Last
(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the last commerce wish list in the ordered set where userId = ?.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 = ?.findByUuid
(String uuid) Returns all the commerce wish lists where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the commerce wish lists where uuid = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the commerce wish lists where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce wish lists where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the first commerce wish list in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the commerce wish list where uuid = ? and groupId = ? or throws aNoSuchWishListException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the last commerce wish list in the ordered set where uuid = ?.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 = ?.remove
(long commerceWishListId) Removes the commerce wish list with the primary key from the database.void
Removes all the commerce wish lists from the database.void
removeByG_U
(long groupId, long userId) Removes all the commerce wish lists where groupId = ? and userId = ? from the database.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.void
removeByGroupId
(long groupId) Removes all the commerce wish lists where groupId = ? from the database.void
removeByU_LtC
(long userId, Date createDate) Removes all the commerce wish lists where userId = ? and createDate < ? from the database.void
removeByUserId
(long userId) Removes all the commerce wish lists where userId = ? from the database.void
removeByUuid
(String uuid) Removes all the commerce wish lists where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce wish lists where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the commerce wish list where uuid = ? and groupId = ? from the database.updateImpl
(CommerceWishList commerceWishList) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
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
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
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
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 found
-
fetchByUuid_First
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
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 found
-
fetchByUuid_Last
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
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 found
-
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
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 found
-
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
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
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
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
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 found
-
fetchByUuid_C_First
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
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 found
-
fetchByUuid_C_Last
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
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 found
-
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
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
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
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 found
-
fetchByGroupId_First
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
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 found
-
fetchByGroupId_Last
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
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 found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the commerce wish lists where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
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
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
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
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 found
-
fetchByUserId_First
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
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 found
-
fetchByUserId_Last
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
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 found
-
removeByUserId
void removeByUserId(long userId) Removes all the commerce wish lists where userId = ? from the database.- Parameters:
userId
- the user ID
-
countByUserId
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
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
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
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 found
-
fetchByG_U_First
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
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 found
-
fetchByG_U_Last
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
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 found
-
removeByG_U
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
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
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
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
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 found
-
fetchByU_LtC_First
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
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 found
-
fetchByU_LtC_Last
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
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 found
-
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
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
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
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
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
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 found
-
fetchByG_U_D_First
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
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 found
-
fetchByG_U_D_Last
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
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 found
-
removeByG_U_D
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
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 found
-
updateImpl
-
findByPrimaryKey
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 found
-
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
List<CommerceWishList> 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
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
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
void removeAll()Removes all the commerce wish lists from the database. -
countAll
int countAll()Returns the number of commerce wish lists.- Returns:
- the number of commerce wish lists
-