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 voidcacheResult(CommerceWishList commerceWishList) Caches the commerce wish list in the entity cache if it is enabled.static voidcacheResult(List<CommerceWishList> commerceWishLists) Caches the commerce wish lists in the entity cache if it is enabled.static voidstatic voidclearCache(CommerceWishList commerceWishList) static intcountAll()Returns the number of commerce wish lists.static intcountByG_U(long groupId, long userId) Returns the number of commerce wish lists where groupId = ? and userId = ?.static intcountByG_U_D(long groupId, long userId, boolean defaultWishList) Returns the number of commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.static intcountByGroupId(long groupId) Returns the number of commerce wish lists where groupId = ?.static intcountByU_LtC(long userId, Date createDate) Returns the number of commerce wish lists where userId = ? and createDate < ?.static intcountByUserId(long userId) Returns the number of commerce wish lists where userId = ?.static intcountByUuid(String uuid) Returns the number of commerce wish lists where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of commerce wish lists where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of commerce wish lists where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CommerceWishListcreate(long commerceWishListId) Creates a new commerce wish list with the primary key.static CommerceWishListfetchByG_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 CommerceWishListfetchByG_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 CommerceWishListfetchByG_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 CommerceWishListfetchByG_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 CommerceWishListfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the first commerce wish list in the ordered set where groupId = ?.static CommerceWishListfetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the last commerce wish list in the ordered set where groupId = ?.static CommerceWishListfetchByPrimaryKey(long commerceWishListId) Returns the commerce wish list with the primary key or returnsnullif it could not be found.static Map<Serializable, CommerceWishList> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CommerceWishListfetchByU_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 CommerceWishListfetchByU_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 CommerceWishListfetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the first commerce wish list in the ordered set where userId = ?.static CommerceWishListfetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the last commerce wish list in the ordered set where userId = ?.static CommerceWishListfetchByUuid_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 CommerceWishListfetchByUuid_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 CommerceWishListfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the first commerce wish list in the ordered set where uuid = ?.static CommerceWishListfetchByUUID_G(String uuid, long groupId) Returns the commerce wish list where uuid = ? and groupId = ? or returnsnullif it could not be found.static CommerceWishListfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the commerce wish list where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static CommerceWishListfetchByUuid_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 CommerceWishListfindByG_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 CommerceWishListfindByG_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 CommerceWishListfindByG_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 CommerceWishListfindByG_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 CommerceWishListfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the first commerce wish list in the ordered set where groupId = ?.static CommerceWishListfindByGroupId_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 CommerceWishListfindByPrimaryKey(long commerceWishListId) Returns the commerce wish list with the primary key or throws aNoSuchWishListExceptionif 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 CommerceWishListfindByU_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 CommerceWishListfindByU_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 CommerceWishListfindByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the first commerce wish list in the ordered set where userId = ?.static CommerceWishListfindByUserId_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 CommerceWishListfindByUuid_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 CommerceWishListfindByUuid_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 CommerceWishListfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) Returns the first commerce wish list in the ordered set where uuid = ?.static CommerceWishListfindByUUID_G(String uuid, long groupId) Returns the commerce wish list where uuid = ? and groupId = ? or throws aNoSuchWishListExceptionif it could not be found.static CommerceWishListfindByUuid_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 CommerceWishListPersistencestatic CommerceWishListremove(long commerceWishListId) Removes the commerce wish list with the primary key from the database.static voidRemoves all the commerce wish lists from the database.static voidremoveByG_U(long groupId, long userId) Removes all the commerce wish lists where groupId = ? and userId = ? from the database.static voidremoveByG_U_D(long groupId, long userId, boolean defaultWishList) Removes all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ? from the database.static voidremoveByGroupId(long groupId) Removes all the commerce wish lists where groupId = ? from the database.static voidremoveByU_LtC(long userId, Date createDate) Removes all the commerce wish lists where userId = ? and createDate < ? from the database.static voidremoveByUserId(long userId) Removes all the commerce wish lists where userId = ? from the database.static voidremoveByUuid(String uuid) Removes all the commerce wish lists where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce wish lists where uuid = ? and companyId = ? from the database.static CommerceWishListremoveByUUID_G(String uuid, long groupId) Removes the commerce wish list where uuid = ? and groupId = ? from the database.static voidsetPersistence(CommerceWishListPersistence persistence) static CommerceWishListupdate(CommerceWishList commerceWishList) static CommerceWishListupdate(CommerceWishList commerceWishList, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommerceWishListupdateImpl(CommerceWishList commerceWishList)
-
Constructor Details
-
CommerceWishListUtil
public CommerceWishListUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<CommerceWishList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CommerceWishList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
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:
-
update
- See Also:
-
update
public static CommerceWishList update(CommerceWishList commerceWishList, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-
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
nullif 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
-
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
nullif 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
-
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 aNoSuchWishListExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching commerce wish list
-
fetchByUUID_G
Returns the commerce wish list where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching commerce wish list, or
nullif a matching commerce wish list could not be found
-
fetchByUUID_G
Returns the commerce wish list where uuid = ? and groupId = ? or returnsnullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-
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
nullif 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
-
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
nullif 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-
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
nullif 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
-
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
nullif 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-
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
nullif 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
-
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
nullif 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-
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
nullif 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
-
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
nullif 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-
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
nullif 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
-
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
nullif 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-
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
nullif 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
-
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
nullif 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
-
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
-
updateImpl
-
findByPrimaryKey
public static CommerceWishList findByPrimaryKey(long commerceWishListId) throws NoSuchWishListException Returns the commerce wish list with the primary key or throws aNoSuchWishListExceptionif it could not be found.- Parameters:
commerceWishListId- the primary key of the commerce wish list- Returns:
- the commerce wish list
-
fetchByPrimaryKey
Returns the commerce wish list with the primary key or returnsnullif it could not be found.- Parameters:
commerceWishListId- the primary key of the commerce wish list- Returns:
- the commerce wish list, or
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-