Class CommerceWishListUtil

java.lang.Object
com.liferay.commerce.wish.list.service.persistence.CommerceWishListUtil

public class CommerceWishListUtil extends Object
The persistence utility for the commerce wish list service. This utility wraps 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 Details

    • CommerceWishListUtil

      public CommerceWishListUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(CommerceWishList commerceWishList)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,CommerceWishList> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<CommerceWishList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<CommerceWishList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<CommerceWishList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static CommerceWishList update(CommerceWishList commerceWishList)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static CommerceWishList update(CommerceWishList commerceWishList, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<CommerceWishList> findByUuid(String uuid)
      Returns all the commerce wish lists where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce wish lists
    • findByUuid

      public static List<CommerceWishList> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce wish lists where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      Returns:
      the range of matching commerce wish lists
    • findByUuid

      public static List<CommerceWishList> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns an ordered range of all the commerce wish lists where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce wish lists
    • findByUuid

      public static List<CommerceWishList> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce wish lists where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list
      Throws:
      NoSuchWishListException - if a matching commerce wish list could not be found
      NoSuchWishListException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list, or null if a matching commerce wish list could not be found
    • findByUuid_Last

      public static CommerceWishList findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
      Returns the last commerce wish list in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list
      Throws:
      NoSuchWishListException - if a matching commerce wish list could not be found
      NoSuchWishListException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list, or null if a matching commerce wish list could not be found
    • findByUuid_PrevAndNext

      public static CommerceWishList[] findByUuid_PrevAndNext(long commerceWishListId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
      Returns the commerce wish lists before and after the current commerce wish list in the ordered set where uuid = ?.
      Parameters:
      commerceWishListId - the primary key of the current commerce wish list
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce wish list
      Throws:
      NoSuchWishListException - if a commerce wish list with the primary key could not be found
      NoSuchWishListException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the commerce wish lists where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      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 a NoSuchWishListException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching commerce wish list
      Throws:
      NoSuchWishListException - if a matching commerce wish list could not be found
      NoSuchWishListException
    • fetchByUUID_G

      public static CommerceWishList fetchByUUID_G(String uuid, long groupId)
      Returns the commerce wish list where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching commerce wish list, or null if a matching commerce wish list could not be found
    • fetchByUUID_G

      public static CommerceWishList fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the commerce wish list where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce wish list, or null if a matching commerce wish list could not be found
    • removeByUUID_G

      public static CommerceWishList removeByUUID_G(String uuid, long groupId) throws NoSuchWishListException
      Removes the commerce wish list where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the commerce wish list that was removed
      Throws:
      NoSuchWishListException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of commerce wish lists where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching commerce wish lists
    • findByUuid_C

      public static List<CommerceWishList> findByUuid_C(String uuid, long companyId)
      Returns all the commerce wish lists where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce wish lists
    • findByUuid_C

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      Returns:
      the range of matching commerce wish lists
    • findByUuid_C

      public static List<CommerceWishList> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns an ordered range of all the commerce wish lists where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce wish lists
    • findByUuid_C

      public static List<CommerceWishList> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce wish lists where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list
      Throws:
      NoSuchWishListException - if a matching commerce wish list could not be found
      NoSuchWishListException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list, or null if a matching commerce wish list could not be found
    • findByUuid_C_Last

      public static CommerceWishList findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
      Returns the last commerce wish list in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list
      Throws:
      NoSuchWishListException - if a matching commerce wish list could not be found
      NoSuchWishListException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list, or null if a matching commerce wish list could not be found
    • findByUuid_C_PrevAndNext

      public static CommerceWishList[] findByUuid_C_PrevAndNext(long commerceWishListId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
      Returns the commerce wish lists before and after the current commerce wish list in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      commerceWishListId - the primary key of the current commerce wish list
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce wish list
      Throws:
      NoSuchWishListException - if a commerce wish list with the primary key could not be found
      NoSuchWishListException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the commerce wish lists where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of commerce wish lists where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce wish lists
    • findByGroupId

      public static List<CommerceWishList> findByGroupId(long groupId)
      Returns all the commerce wish lists where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching commerce wish lists
    • findByGroupId

      public static List<CommerceWishList> findByGroupId(long groupId, int start, int end)
      Returns a range of all the commerce wish lists where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      Returns:
      the range of matching commerce wish lists
    • findByGroupId

      public static List<CommerceWishList> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns an ordered range of all the commerce wish lists where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce wish lists
    • findByGroupId

      public static List<CommerceWishList> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce wish lists where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list
      Throws:
      NoSuchWishListException - if a matching commerce wish list could not be found
      NoSuchWishListException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list, or null if a matching commerce wish list could not be found
    • findByGroupId_Last

      public static CommerceWishList findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
      Returns the last commerce wish list in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list
      Throws:
      NoSuchWishListException - if a matching commerce wish list could not be found
      NoSuchWishListException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list, or null if a matching commerce wish list could not be found
    • findByGroupId_PrevAndNext

      public static CommerceWishList[] findByGroupId_PrevAndNext(long commerceWishListId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
      Returns the commerce wish lists before and after the current commerce wish list in the ordered set where groupId = ?.
      Parameters:
      commerceWishListId - the primary key of the current commerce wish list
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce wish list
      Throws:
      NoSuchWishListException - if a commerce wish list with the primary key could not be found
      NoSuchWishListException
    • 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

      public static List<CommerceWishList> findByUserId(long userId)
      Returns all the commerce wish lists where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the matching commerce wish lists
    • findByUserId

      public static List<CommerceWishList> findByUserId(long userId, int start, int end)
      Returns a range of all the commerce wish lists where userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      Returns:
      the range of matching commerce wish lists
    • findByUserId

      public static List<CommerceWishList> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns an ordered range of all the commerce wish lists where userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce wish lists
    • findByUserId

      public static List<CommerceWishList> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce wish lists where userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list
      Throws:
      NoSuchWishListException - if a matching commerce wish list could not be found
      NoSuchWishListException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list, or null if a matching commerce wish list could not be found
    • findByUserId_Last

      public static CommerceWishList findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
      Returns the last commerce wish list in the ordered set where userId = ?.
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list
      Throws:
      NoSuchWishListException - if a matching commerce wish list could not be found
      NoSuchWishListException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list, or null if a matching commerce wish list could not be found
    • findByUserId_PrevAndNext

      public static CommerceWishList[] findByUserId_PrevAndNext(long commerceWishListId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
      Returns the commerce wish lists before and after the current commerce wish list in the ordered set where userId = ?.
      Parameters:
      commerceWishListId - the primary key of the current commerce wish list
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce wish list
      Throws:
      NoSuchWishListException - if a commerce wish list with the primary key could not be found
      NoSuchWishListException
    • 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

      public static List<CommerceWishList> findByG_U(long groupId, long userId)
      Returns all the commerce wish lists where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      Returns:
      the matching commerce wish lists
    • findByG_U

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      Returns:
      the range of matching commerce wish lists
    • findByG_U

      public static List<CommerceWishList> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns an ordered range of all the commerce wish lists where groupId = ? and userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce wish lists
    • findByG_U

      public static List<CommerceWishList> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce wish lists where groupId = ? and userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list
      Throws:
      NoSuchWishListException - if a matching commerce wish list could not be found
      NoSuchWishListException
    • 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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list, or null if a matching commerce wish list could not be found
    • findByG_U_Last

      public static CommerceWishList findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
      Returns the last commerce wish list in the ordered set where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list
      Throws:
      NoSuchWishListException - if a matching commerce wish list could not be found
      NoSuchWishListException
    • 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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list, or null if a matching commerce wish list could not be found
    • findByG_U_PrevAndNext

      public static CommerceWishList[] findByG_U_PrevAndNext(long commerceWishListId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
      Returns the commerce wish lists before and after the current commerce wish list in the ordered set where groupId = ? and userId = ?.
      Parameters:
      commerceWishListId - the primary key of the current commerce wish list
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce wish list
      Throws:
      NoSuchWishListException - if a commerce wish list with the primary key could not be found
      NoSuchWishListException
    • 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 ID
      userId - 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 ID
      userId - the user ID
      Returns:
      the number of matching commerce wish lists
    • findByU_LtC

      public static List<CommerceWishList> findByU_LtC(long userId, Date createDate)
      Returns all the commerce wish lists where userId = ? and createDate < ?.
      Parameters:
      userId - the user ID
      createDate - the create date
      Returns:
      the matching commerce wish lists
    • findByU_LtC

      public 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 < ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      userId - the user ID
      createDate - the create date
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      Returns:
      the range of matching commerce wish lists
    • findByU_LtC

      public static List<CommerceWishList> findByU_LtC(long userId, Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns an ordered range of all the commerce wish lists where userId = ? and createDate < ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      userId - the user ID
      createDate - the create date
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce wish lists
    • findByU_LtC

      public static List<CommerceWishList> findByU_LtC(long userId, Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce wish lists where userId = ? and createDate < ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      userId - the user ID
      createDate - the create date
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      createDate - the create date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list
      Throws:
      NoSuchWishListException - if a matching commerce wish list could not be found
      NoSuchWishListException
    • 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 ID
      createDate - the create date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list, or null if a matching commerce wish list could not be found
    • findByU_LtC_Last

      public static CommerceWishList findByU_LtC_Last(long userId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
      Returns the last commerce wish list in the ordered set where userId = ? and createDate < ?.
      Parameters:
      userId - the user ID
      createDate - the create date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list
      Throws:
      NoSuchWishListException - if a matching commerce wish list could not be found
      NoSuchWishListException
    • 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 ID
      createDate - the create date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list, or null if a matching commerce wish list could not be found
    • findByU_LtC_PrevAndNext

      public static CommerceWishList[] findByU_LtC_PrevAndNext(long commerceWishListId, long userId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
      Returns the commerce wish lists before and after the current commerce wish list in the ordered set where userId = ? and createDate < ?.
      Parameters:
      commerceWishListId - the primary key of the current commerce wish list
      userId - the user ID
      createDate - the create date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce wish list
      Throws:
      NoSuchWishListException - if a commerce wish list with the primary key could not be found
      NoSuchWishListException
    • removeByU_LtC

      public static void removeByU_LtC(long userId, Date createDate)
      Removes all the commerce wish lists where userId = ? and createDate < ? from the database.
      Parameters:
      userId - the user ID
      createDate - the create date
    • countByU_LtC

      public static int countByU_LtC(long userId, Date createDate)
      Returns the number of commerce wish lists where userId = ? and createDate < ?.
      Parameters:
      userId - the user ID
      createDate - 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 ID
      userId - the user ID
      defaultWishList - the default wish list
      Returns:
      the matching commerce wish lists
    • findByG_U_D

      public static List<CommerceWishList> findByG_U_D(long groupId, long userId, boolean defaultWishList, int start, int end)
      Returns a range of all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      defaultWishList - the default wish list
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      Returns:
      the range of matching commerce wish lists
    • findByG_U_D

      public static List<CommerceWishList> findByG_U_D(long groupId, long userId, boolean defaultWishList, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns an ordered range of all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      defaultWishList - the default wish list
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce wish lists
    • findByG_U_D

      public static List<CommerceWishList> findByG_U_D(long groupId, long userId, boolean defaultWishList, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      defaultWishList - the default wish list
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      userId - the user ID
      defaultWishList - the default wish list
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list
      Throws:
      NoSuchWishListException - if a matching commerce wish list could not be found
      NoSuchWishListException
    • 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 ID
      userId - the user ID
      defaultWishList - the default wish list
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list, or null if a matching commerce wish list could not be found
    • findByG_U_D_Last

      public static CommerceWishList findByG_U_D_Last(long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
      Returns the last commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      defaultWishList - the default wish list
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list
      Throws:
      NoSuchWishListException - if a matching commerce wish list could not be found
      NoSuchWishListException
    • 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 ID
      userId - the user ID
      defaultWishList - the default wish list
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list, or null if a matching commerce wish list could not be found
    • findByG_U_D_PrevAndNext

      public static CommerceWishList[] findByG_U_D_PrevAndNext(long commerceWishListId, long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) throws NoSuchWishListException
      Returns the commerce wish lists before and after the current commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.
      Parameters:
      commerceWishListId - the primary key of the current commerce wish list
      groupId - the group ID
      userId - the user ID
      defaultWishList - the default wish list
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce wish list
      Throws:
      NoSuchWishListException - if a commerce wish list with the primary key could not be found
      NoSuchWishListException
    • 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 ID
      userId - the user ID
      defaultWishList - 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 ID
      userId - the user ID
      defaultWishList - the default wish list
      Returns:
      the number of matching commerce wish lists
    • cacheResult

      public static void cacheResult(CommerceWishList commerceWishList)
      Caches the commerce wish list in the entity cache if it is enabled.
      Parameters:
      commerceWishList - the commerce wish list
    • cacheResult

      public static void cacheResult(List<CommerceWishList> commerceWishLists)
      Caches the commerce wish lists in the entity cache if it is enabled.
      Parameters:
      commerceWishLists - the commerce wish lists
    • create

      public static CommerceWishList create(long commerceWishListId)
      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

      public static CommerceWishList remove(long commerceWishListId) throws NoSuchWishListException
      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
      NoSuchWishListException
    • updateImpl

      public static CommerceWishList updateImpl(CommerceWishList commerceWishList)
    • findByPrimaryKey

      public static CommerceWishList findByPrimaryKey(long commerceWishListId) throws NoSuchWishListException
      Returns the commerce wish list with the primary key or throws a NoSuchWishListException 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
      NoSuchWishListException
    • fetchByPrimaryKey

      public static CommerceWishList fetchByPrimaryKey(long commerceWishListId)
      Returns the commerce wish list with the primary key or returns null 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

      public static List<CommerceWishList> findAll()
      Returns all the commerce wish lists.
      Returns:
      the commerce wish lists
    • findAll

      public static List<CommerceWishList> findAll(int start, int end)
      Returns a range of all the commerce wish lists.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      Returns:
      the range of commerce wish lists
    • findAll

      public static List<CommerceWishList> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns an ordered range of all the commerce wish lists.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of commerce wish lists
    • findAll

      public static List<CommerceWishList> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce wish lists.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceWishListModelImpl.

      Parameters:
      start - the lower bound of the range of commerce wish lists
      end - the upper bound of the range of commerce wish lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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

      public static CommerceWishListPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CommerceWishListPersistence persistence)