Interface CommerceWishListPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceWishList>

@ProviderType public interface CommerceWishListPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceWishList>
The persistence interface for the commerce wish list service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(CommerceWishList commerceWishList)
    Caches the commerce wish list in the entity cache if it is enabled.
    void
    cacheResult(List<CommerceWishList> commerceWishLists)
    Caches the commerce wish lists in the entity cache if it is enabled.
    int
    Returns the number of commerce wish lists.
    int
    countByG_U(long groupId, long userId)
    Returns the number of commerce wish lists where groupId = ? and userId = ?.
    int
    countByG_U_D(long groupId, long userId, boolean defaultWishList)
    Returns the number of commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.
    int
    countByGroupId(long groupId)
    Returns the number of commerce wish lists where groupId = ?.
    int
    countByU_LtC(long userId, Date createDate)
    Returns the number of commerce wish lists where userId = ? and createDate < ?.
    int
    countByUserId(long userId)
    Returns the number of commerce wish lists where userId = ?.
    int
    Returns the number of commerce wish lists where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of commerce wish lists where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of commerce wish lists where uuid = ? and groupId = ?.
    create(long commerceWishListId)
    Creates a new commerce wish list with the primary key.
    fetchByG_U_D_First(long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the first commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.
    fetchByG_U_D_Last(long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the last commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.
    fetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the first commerce wish list in the ordered set where groupId = ? and userId = ?.
    fetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the last commerce wish list in the ordered set where groupId = ? and userId = ?.
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the first commerce wish list in the ordered set where groupId = ?.
    fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the last commerce wish list in the ordered set where groupId = ?.
    fetchByPrimaryKey(long commerceWishListId)
    Returns the commerce wish list with the primary key or returns null if it could not be found.
    fetchByU_LtC_First(long userId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the first commerce wish list in the ordered set where userId = ? and createDate < ?.
    fetchByU_LtC_Last(long userId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the last commerce wish list in the ordered set where userId = ? and createDate < ?.
    fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the first commerce wish list in the ordered set where userId = ?.
    fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the last commerce wish list in the ordered set where userId = ?.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the first commerce wish list in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the last commerce wish list in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the first commerce wish list in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the commerce wish list where uuid = ? and groupId = ? or returns null if it could not be found.
    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.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the last commerce wish list in the ordered set where uuid = ?.
    Returns all the commerce wish lists.
    findAll(int start, int end)
    Returns a range of all the commerce wish lists.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns an ordered range of all the commerce wish lists.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce wish lists.
    findByG_U(long groupId, long userId)
    Returns all the commerce wish lists where groupId = ? and userId = ?.
    findByG_U(long groupId, long userId, int start, int end)
    Returns a range of all the commerce wish lists where groupId = ? and userId = ?.
    findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns an ordered range of all the commerce wish lists where groupId = ? and userId = ?.
    findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce wish lists where groupId = ? and userId = ?.
    findByG_U_D(long groupId, long userId, boolean defaultWishList)
    Returns all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.
    findByG_U_D(long groupId, long userId, boolean defaultWishList, int start, int end)
    Returns a range of all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.
    findByG_U_D(long groupId, long userId, boolean defaultWishList, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns an ordered range of all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.
    findByG_U_D(long groupId, long userId, boolean defaultWishList, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.
    findByG_U_D_First(long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the first commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.
    findByG_U_D_Last(long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the last commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.
    findByG_U_D_PrevAndNext(long commerceWishListId, long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the commerce wish lists before and after the current commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.
    findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the first commerce wish list in the ordered set where groupId = ? and userId = ?.
    findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the last commerce wish list in the ordered set where groupId = ? and userId = ?.
    findByG_U_PrevAndNext(long commerceWishListId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the commerce wish lists before and after the current commerce wish list in the ordered set where groupId = ? and userId = ?.
    findByGroupId(long groupId)
    Returns all the commerce wish lists where groupId = ?.
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the commerce wish lists where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns an ordered range of all the commerce wish lists where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce wish lists where groupId = ?.
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the first commerce wish list in the ordered set where groupId = ?.
    findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the last commerce wish list in the ordered set where groupId = ?.
    findByGroupId_PrevAndNext(long commerceWishListId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the commerce wish lists before and after the current commerce wish list in the ordered set where groupId = ?.
    findByPrimaryKey(long commerceWishListId)
    Returns the commerce wish list with the primary key or throws a NoSuchWishListException if it could not be found.
    findByU_LtC(long userId, Date createDate)
    Returns all the commerce wish lists where userId = ? and createDate < ?.
    findByU_LtC(long userId, Date createDate, int start, int end)
    Returns a range of all the commerce wish lists where userId = ? and createDate < ?.
    findByU_LtC(long userId, Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns an ordered range of all the commerce wish lists where userId = ? and createDate < ?.
    findByU_LtC(long userId, Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce wish lists where userId = ? and createDate < ?.
    findByU_LtC_First(long userId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the first commerce wish list in the ordered set where userId = ? and createDate < ?.
    findByU_LtC_Last(long userId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the last commerce wish list in the ordered set where userId = ? and createDate < ?.
    findByU_LtC_PrevAndNext(long commerceWishListId, long userId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the commerce wish lists before and after the current commerce wish list in the ordered set where userId = ? and createDate < ?.
    findByUserId(long userId)
    Returns all the commerce wish lists where userId = ?.
    findByUserId(long userId, int start, int end)
    Returns a range of all the commerce wish lists where userId = ?.
    findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns an ordered range of all the commerce wish lists where userId = ?.
    findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce wish lists where userId = ?.
    findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the first commerce wish list in the ordered set where userId = ?.
    findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the last commerce wish list in the ordered set where userId = ?.
    findByUserId_PrevAndNext(long commerceWishListId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the commerce wish lists before and after the current commerce wish list in the ordered set where userId = ?.
    Returns all the commerce wish lists where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the commerce wish lists where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns an ordered range of all the commerce wish lists where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce wish lists where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the commerce wish lists where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the commerce wish lists where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns an ordered range of all the commerce wish lists where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce wish lists where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the first commerce wish list in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the last commerce wish list in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long commerceWishListId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the commerce wish lists before and after the current commerce wish list in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the first commerce wish list in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the commerce wish list where uuid = ? and groupId = ? or throws a NoSuchWishListException if it could not be found.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the last commerce wish list in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long commerceWishListId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
    Returns the commerce wish lists before and after the current commerce wish list in the ordered set where uuid = ?.
    remove(long commerceWishListId)
    Removes the commerce wish list with the primary key from the database.
    void
    Removes all the commerce wish lists from the database.
    void
    removeByG_U(long groupId, long userId)
    Removes all the commerce wish lists where groupId = ? and userId = ? from the database.
    void
    removeByG_U_D(long groupId, long userId, boolean defaultWishList)
    Removes all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ? from the database.
    void
    removeByGroupId(long groupId)
    Removes all the commerce wish lists where groupId = ? from the database.
    void
    removeByU_LtC(long userId, Date createDate)
    Removes all the commerce wish lists where userId = ? and createDate < ? from the database.
    void
    removeByUserId(long userId)
    Removes all the commerce wish lists where userId = ? from the database.
    void
    Removes all the commerce wish lists where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the commerce wish lists where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the commerce wish list where uuid = ? and groupId = ? from the database.
    updateImpl(CommerceWishList commerceWishList)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByUuid

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

      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

      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

      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

      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
    • fetchByUuid_First

      CommerceWishList fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns the first commerce wish list in the ordered set where uuid = ?.
      Parameters:
      uuid - the 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

      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
    • fetchByUuid_Last

      CommerceWishList fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns the last commerce wish list in the ordered set where uuid = ?.
      Parameters:
      uuid - the 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

      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
    • removeByUuid

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

      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

      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
    • fetchByUUID_G

      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

      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

      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

      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

      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

      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

      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

      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

      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
    • fetchByUuid_C_First

      CommerceWishList fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns the first commerce wish list in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the 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

      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
    • fetchByUuid_C_Last

      CommerceWishList fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns the last commerce wish list in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the 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

      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
    • removeByUuid_C

      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

      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

      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

      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

      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

      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

      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
    • fetchByGroupId_First

      CommerceWishList fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns the first commerce wish list in the ordered set where groupId = ?.
      Parameters:
      groupId - the group 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

      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
    • fetchByGroupId_Last

      CommerceWishList fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns the last commerce wish list in the ordered set where groupId = ?.
      Parameters:
      groupId - the group 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

      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
    • removeByGroupId

      void removeByGroupId(long groupId)
      Removes all the commerce wish lists where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      int countByGroupId(long groupId)
      Returns the number of commerce wish lists where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching commerce wish lists
    • findByUserId

      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

      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

      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

      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

      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
    • fetchByUserId_First

      CommerceWishList fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns the first commerce wish list in the ordered set where userId = ?.
      Parameters:
      userId - the user 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

      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
    • fetchByUserId_Last

      CommerceWishList fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns the last commerce wish list in the ordered set where userId = ?.
      Parameters:
      userId - the user 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

      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
    • removeByUserId

      void removeByUserId(long userId)
      Removes all the commerce wish lists where userId = ? from the database.
      Parameters:
      userId - the user ID
    • countByUserId

      int countByUserId(long userId)
      Returns the number of commerce wish lists where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the number of matching commerce wish lists
    • findByG_U

      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

      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

      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

      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

      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
    • fetchByG_U_First

      CommerceWishList fetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns the first commerce wish list in the ordered set where groupId = ? and userId = ?.
      Parameters:
      groupId - the group 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

      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
    • fetchByG_U_Last

      CommerceWishList fetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns the last commerce wish list in the ordered set where groupId = ? and userId = ?.
      Parameters:
      groupId - the group 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

      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
    • removeByG_U

      void removeByG_U(long groupId, long userId)
      Removes all the commerce wish lists where groupId = ? and userId = ? from the database.
      Parameters:
      groupId - the group ID
      userId - the user ID
    • countByG_U

      int countByG_U(long groupId, long userId)
      Returns the number of commerce wish lists where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      Returns:
      the number of matching commerce wish lists
    • findByU_LtC

      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

      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

      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

      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

      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
    • fetchByU_LtC_First

      CommerceWishList fetchByU_LtC_First(long userId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns the first commerce wish list in the ordered set where userId = ? and createDate < ?.
      Parameters:
      userId - the user 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

      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
    • fetchByU_LtC_Last

      CommerceWishList fetchByU_LtC_Last(long userId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns the last commerce wish list in the ordered set where userId = ? and createDate < ?.
      Parameters:
      userId - the user 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

      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
    • removeByU_LtC

      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

      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

      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

      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

      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

      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

      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
    • fetchByG_U_D_First

      CommerceWishList fetchByG_U_D_First(long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns the first commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.
      Parameters:
      groupId - the group 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

      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
    • fetchByG_U_D_Last

      CommerceWishList fetchByG_U_D_Last(long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
      Returns the last commerce wish list in the ordered set where groupId = ? and userId = ? and defaultWishList = ?.
      Parameters:
      groupId - the group 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

      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
    • removeByG_U_D

      void removeByG_U_D(long groupId, long userId, boolean defaultWishList)
      Removes all the commerce wish lists where groupId = ? and userId = ? and defaultWishList = ? from the database.
      Parameters:
      groupId - the group ID
      userId - the user ID
      defaultWishList - the default wish list
    • countByG_U_D

      int countByG_U_D(long groupId, long userId, boolean defaultWishList)
      Returns the number of commerce wish lists where groupId = ? and userId = ? and defaultWishList = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      defaultWishList - the default wish list
      Returns:
      the number of matching commerce wish lists
    • cacheResult

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

      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

      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

      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
    • updateImpl

      CommerceWishList updateImpl(CommerceWishList commerceWishList)
    • findByPrimaryKey

      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
    • fetchByPrimaryKey

      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

      Returns all the commerce wish lists.
      Returns:
      the commerce wish lists
    • findAll

      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

      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

      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

      void removeAll()
      Removes all the commerce wish lists from the database.
    • countAll

      int countAll()
      Returns the number of commerce wish lists.
      Returns:
      the number of commerce wish lists