Interface CommerceWishListItemPersistence

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

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByCommerceWishListId

      List<CommerceWishListItem> findByCommerceWishListId(long commerceWishListId)
      Returns all the commerce wish list items where commerceWishListId = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      Returns:
      the matching commerce wish list items
    • findByCommerceWishListId

      List<CommerceWishListItem> findByCommerceWishListId(long commerceWishListId, int start, int end)
      Returns a range of all the commerce wish list items where commerceWishListId = ?.

      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 CommerceWishListItemModelImpl.

      Parameters:
      commerceWishListId - the commerce wish list ID
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (not inclusive)
      Returns:
      the range of matching commerce wish list items
    • findByCommerceWishListId

      List<CommerceWishListItem> findByCommerceWishListId(long commerceWishListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns an ordered range of all the commerce wish list items where commerceWishListId = ?.

      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 CommerceWishListItemModelImpl.

      Parameters:
      commerceWishListId - the commerce wish list ID
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce wish list items
    • findByCommerceWishListId

      List<CommerceWishListItem> findByCommerceWishListId(long commerceWishListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce wish list items where commerceWishListId = ?.

      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 CommerceWishListItemModelImpl.

      Parameters:
      commerceWishListId - the commerce wish list ID
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (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 list items
    • findByCommerceWishListId_First

      CommerceWishListItem findByCommerceWishListId_First(long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
      Returns the first commerce wish list item in the ordered set where commerceWishListId = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list item
      Throws:
      NoSuchWishListItemException - if a matching commerce wish list item could not be found
    • fetchByCommerceWishListId_First

      CommerceWishListItem fetchByCommerceWishListId_First(long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns the first commerce wish list item in the ordered set where commerceWishListId = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list item, or null if a matching commerce wish list item could not be found
    • findByCommerceWishListId_Last

      CommerceWishListItem findByCommerceWishListId_Last(long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
      Returns the last commerce wish list item in the ordered set where commerceWishListId = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list item
      Throws:
      NoSuchWishListItemException - if a matching commerce wish list item could not be found
    • fetchByCommerceWishListId_Last

      CommerceWishListItem fetchByCommerceWishListId_Last(long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns the last commerce wish list item in the ordered set where commerceWishListId = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list item, or null if a matching commerce wish list item could not be found
    • findByCommerceWishListId_PrevAndNext

      CommerceWishListItem[] findByCommerceWishListId_PrevAndNext(long commerceWishListItemId, long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
      Returns the commerce wish list items before and after the current commerce wish list item in the ordered set where commerceWishListId = ?.
      Parameters:
      commerceWishListItemId - the primary key of the current commerce wish list item
      commerceWishListId - the commerce wish list ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce wish list item
      Throws:
      NoSuchWishListItemException - if a commerce wish list item with the primary key could not be found
    • removeByCommerceWishListId

      void removeByCommerceWishListId(long commerceWishListId)
      Removes all the commerce wish list items where commerceWishListId = ? from the database.
      Parameters:
      commerceWishListId - the commerce wish list ID
    • countByCommerceWishListId

      int countByCommerceWishListId(long commerceWishListId)
      Returns the number of commerce wish list items where commerceWishListId = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      Returns:
      the number of matching commerce wish list items
    • findByCPInstanceUuid

      List<CommerceWishListItem> findByCPInstanceUuid(String CPInstanceUuid)
      Returns all the commerce wish list items where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      Returns:
      the matching commerce wish list items
    • findByCPInstanceUuid

      List<CommerceWishListItem> findByCPInstanceUuid(String CPInstanceUuid, int start, int end)
      Returns a range of all the commerce wish list items where CPInstanceUuid = ?.

      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 CommerceWishListItemModelImpl.

      Parameters:
      CPInstanceUuid - the cp instance uuid
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (not inclusive)
      Returns:
      the range of matching commerce wish list items
    • findByCPInstanceUuid

      List<CommerceWishListItem> findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns an ordered range of all the commerce wish list items where CPInstanceUuid = ?.

      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 CommerceWishListItemModelImpl.

      Parameters:
      CPInstanceUuid - the cp instance uuid
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce wish list items
    • findByCPInstanceUuid

      List<CommerceWishListItem> findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce wish list items where CPInstanceUuid = ?.

      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 CommerceWishListItemModelImpl.

      Parameters:
      CPInstanceUuid - the cp instance uuid
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (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 list items
    • findByCPInstanceUuid_First

      CommerceWishListItem findByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
      Returns the first commerce wish list item in the ordered set where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list item
      Throws:
      NoSuchWishListItemException - if a matching commerce wish list item could not be found
    • fetchByCPInstanceUuid_First

      CommerceWishListItem fetchByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns the first commerce wish list item in the ordered set where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list item, or null if a matching commerce wish list item could not be found
    • findByCPInstanceUuid_Last

      CommerceWishListItem findByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
      Returns the last commerce wish list item in the ordered set where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list item
      Throws:
      NoSuchWishListItemException - if a matching commerce wish list item could not be found
    • fetchByCPInstanceUuid_Last

      CommerceWishListItem fetchByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns the last commerce wish list item in the ordered set where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list item, or null if a matching commerce wish list item could not be found
    • findByCPInstanceUuid_PrevAndNext

      CommerceWishListItem[] findByCPInstanceUuid_PrevAndNext(long commerceWishListItemId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
      Returns the commerce wish list items before and after the current commerce wish list item in the ordered set where CPInstanceUuid = ?.
      Parameters:
      commerceWishListItemId - the primary key of the current commerce wish list item
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce wish list item
      Throws:
      NoSuchWishListItemException - if a commerce wish list item with the primary key could not be found
    • removeByCPInstanceUuid

      void removeByCPInstanceUuid(String CPInstanceUuid)
      Removes all the commerce wish list items where CPInstanceUuid = ? from the database.
      Parameters:
      CPInstanceUuid - the cp instance uuid
    • countByCPInstanceUuid

      int countByCPInstanceUuid(String CPInstanceUuid)
      Returns the number of commerce wish list items where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      Returns:
      the number of matching commerce wish list items
    • findByCProductId

      List<CommerceWishListItem> findByCProductId(long CProductId)
      Returns all the commerce wish list items where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      Returns:
      the matching commerce wish list items
    • findByCProductId

      List<CommerceWishListItem> findByCProductId(long CProductId, int start, int end)
      Returns a range of all the commerce wish list items where CProductId = ?.

      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 CommerceWishListItemModelImpl.

      Parameters:
      CProductId - the c product ID
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (not inclusive)
      Returns:
      the range of matching commerce wish list items
    • findByCProductId

      List<CommerceWishListItem> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns an ordered range of all the commerce wish list items where CProductId = ?.

      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 CommerceWishListItemModelImpl.

      Parameters:
      CProductId - the c product ID
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce wish list items
    • findByCProductId

      List<CommerceWishListItem> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce wish list items where CProductId = ?.

      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 CommerceWishListItemModelImpl.

      Parameters:
      CProductId - the c product ID
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (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 list items
    • findByCProductId_First

      CommerceWishListItem findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
      Returns the first commerce wish list item in the ordered set where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list item
      Throws:
      NoSuchWishListItemException - if a matching commerce wish list item could not be found
    • fetchByCProductId_First

      CommerceWishListItem fetchByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns the first commerce wish list item in the ordered set where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list item, or null if a matching commerce wish list item could not be found
    • findByCProductId_Last

      CommerceWishListItem findByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
      Returns the last commerce wish list item in the ordered set where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list item
      Throws:
      NoSuchWishListItemException - if a matching commerce wish list item could not be found
    • fetchByCProductId_Last

      CommerceWishListItem fetchByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns the last commerce wish list item in the ordered set where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list item, or null if a matching commerce wish list item could not be found
    • findByCProductId_PrevAndNext

      CommerceWishListItem[] findByCProductId_PrevAndNext(long commerceWishListItemId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
      Returns the commerce wish list items before and after the current commerce wish list item in the ordered set where CProductId = ?.
      Parameters:
      commerceWishListItemId - the primary key of the current commerce wish list item
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce wish list item
      Throws:
      NoSuchWishListItemException - if a commerce wish list item with the primary key could not be found
    • removeByCProductId

      void removeByCProductId(long CProductId)
      Removes all the commerce wish list items where CProductId = ? from the database.
      Parameters:
      CProductId - the c product ID
    • countByCProductId

      int countByCProductId(long CProductId)
      Returns the number of commerce wish list items where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      Returns:
      the number of matching commerce wish list items
    • findByCW_CPI

      List<CommerceWishListItem> findByCW_CPI(long commerceWishListId, String CPInstanceUuid)
      Returns all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
      Returns:
      the matching commerce wish list items
    • findByCW_CPI

      List<CommerceWishListItem> findByCW_CPI(long commerceWishListId, String CPInstanceUuid, int start, int end)
      Returns a range of all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.

      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 CommerceWishListItemModelImpl.

      Parameters:
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (not inclusive)
      Returns:
      the range of matching commerce wish list items
    • findByCW_CPI

      List<CommerceWishListItem> findByCW_CPI(long commerceWishListId, String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns an ordered range of all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.

      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 CommerceWishListItemModelImpl.

      Parameters:
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce wish list items
    • findByCW_CPI

      List<CommerceWishListItem> findByCW_CPI(long commerceWishListId, String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.

      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 CommerceWishListItemModelImpl.

      Parameters:
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (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 list items
    • findByCW_CPI_First

      CommerceWishListItem findByCW_CPI_First(long commerceWishListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
      Returns the first commerce wish list item in the ordered set where commerceWishListId = ? and CPInstanceUuid = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list item
      Throws:
      NoSuchWishListItemException - if a matching commerce wish list item could not be found
    • fetchByCW_CPI_First

      CommerceWishListItem fetchByCW_CPI_First(long commerceWishListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns the first commerce wish list item in the ordered set where commerceWishListId = ? and CPInstanceUuid = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list item, or null if a matching commerce wish list item could not be found
    • findByCW_CPI_Last

      CommerceWishListItem findByCW_CPI_Last(long commerceWishListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
      Returns the last commerce wish list item in the ordered set where commerceWishListId = ? and CPInstanceUuid = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list item
      Throws:
      NoSuchWishListItemException - if a matching commerce wish list item could not be found
    • fetchByCW_CPI_Last

      CommerceWishListItem fetchByCW_CPI_Last(long commerceWishListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns the last commerce wish list item in the ordered set where commerceWishListId = ? and CPInstanceUuid = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list item, or null if a matching commerce wish list item could not be found
    • findByCW_CPI_PrevAndNext

      CommerceWishListItem[] findByCW_CPI_PrevAndNext(long commerceWishListItemId, long commerceWishListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
      Returns the commerce wish list items before and after the current commerce wish list item in the ordered set where commerceWishListId = ? and CPInstanceUuid = ?.
      Parameters:
      commerceWishListItemId - the primary key of the current commerce wish list item
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce wish list item
      Throws:
      NoSuchWishListItemException - if a commerce wish list item with the primary key could not be found
    • removeByCW_CPI

      void removeByCW_CPI(long commerceWishListId, String CPInstanceUuid)
      Removes all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ? from the database.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
    • countByCW_CPI

      int countByCW_CPI(long commerceWishListId, String CPInstanceUuid)
      Returns the number of commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
      Returns:
      the number of matching commerce wish list items
    • findByCW_CP

      List<CommerceWishListItem> findByCW_CP(long commerceWishListId, long CProductId)
      Returns all the commerce wish list items where commerceWishListId = ? and CProductId = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CProductId - the c product ID
      Returns:
      the matching commerce wish list items
    • findByCW_CP

      List<CommerceWishListItem> findByCW_CP(long commerceWishListId, long CProductId, int start, int end)
      Returns a range of all the commerce wish list items where commerceWishListId = ? and CProductId = ?.

      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 CommerceWishListItemModelImpl.

      Parameters:
      commerceWishListId - the commerce wish list ID
      CProductId - the c product ID
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (not inclusive)
      Returns:
      the range of matching commerce wish list items
    • findByCW_CP

      List<CommerceWishListItem> findByCW_CP(long commerceWishListId, long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns an ordered range of all the commerce wish list items where commerceWishListId = ? and CProductId = ?.

      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 CommerceWishListItemModelImpl.

      Parameters:
      commerceWishListId - the commerce wish list ID
      CProductId - the c product ID
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce wish list items
    • findByCW_CP

      List<CommerceWishListItem> findByCW_CP(long commerceWishListId, long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce wish list items where commerceWishListId = ? and CProductId = ?.

      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 CommerceWishListItemModelImpl.

      Parameters:
      commerceWishListId - the commerce wish list ID
      CProductId - the c product ID
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (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 list items
    • findByCW_CP_First

      CommerceWishListItem findByCW_CP_First(long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
      Returns the first commerce wish list item in the ordered set where commerceWishListId = ? and CProductId = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list item
      Throws:
      NoSuchWishListItemException - if a matching commerce wish list item could not be found
    • fetchByCW_CP_First

      CommerceWishListItem fetchByCW_CP_First(long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns the first commerce wish list item in the ordered set where commerceWishListId = ? and CProductId = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce wish list item, or null if a matching commerce wish list item could not be found
    • findByCW_CP_Last

      CommerceWishListItem findByCW_CP_Last(long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
      Returns the last commerce wish list item in the ordered set where commerceWishListId = ? and CProductId = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list item
      Throws:
      NoSuchWishListItemException - if a matching commerce wish list item could not be found
    • fetchByCW_CP_Last

      CommerceWishListItem fetchByCW_CP_Last(long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns the last commerce wish list item in the ordered set where commerceWishListId = ? and CProductId = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce wish list item, or null if a matching commerce wish list item could not be found
    • findByCW_CP_PrevAndNext

      CommerceWishListItem[] findByCW_CP_PrevAndNext(long commerceWishListItemId, long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
      Returns the commerce wish list items before and after the current commerce wish list item in the ordered set where commerceWishListId = ? and CProductId = ?.
      Parameters:
      commerceWishListItemId - the primary key of the current commerce wish list item
      commerceWishListId - the commerce wish list ID
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce wish list item
      Throws:
      NoSuchWishListItemException - if a commerce wish list item with the primary key could not be found
    • removeByCW_CP

      void removeByCW_CP(long commerceWishListId, long CProductId)
      Removes all the commerce wish list items where commerceWishListId = ? and CProductId = ? from the database.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CProductId - the c product ID
    • countByCW_CP

      int countByCW_CP(long commerceWishListId, long CProductId)
      Returns the number of commerce wish list items where commerceWishListId = ? and CProductId = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CProductId - the c product ID
      Returns:
      the number of matching commerce wish list items
    • findByCW_CPI_CP

      CommerceWishListItem findByCW_CPI_CP(long commerceWishListId, String CPInstanceUuid, long CProductId) throws NoSuchWishListItemException
      Returns the commerce wish list item where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ? or throws a NoSuchWishListItemException if it could not be found.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
      CProductId - the c product ID
      Returns:
      the matching commerce wish list item
      Throws:
      NoSuchWishListItemException - if a matching commerce wish list item could not be found
    • fetchByCW_CPI_CP

      CommerceWishListItem fetchByCW_CPI_CP(long commerceWishListId, String CPInstanceUuid, long CProductId)
      Returns the commerce wish list item where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
      CProductId - the c product ID
      Returns:
      the matching commerce wish list item, or null if a matching commerce wish list item could not be found
    • fetchByCW_CPI_CP

      CommerceWishListItem fetchByCW_CPI_CP(long commerceWishListId, String CPInstanceUuid, long CProductId, boolean useFinderCache)
      Returns the commerce wish list item where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
      CProductId - the c product ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce wish list item, or null if a matching commerce wish list item could not be found
    • removeByCW_CPI_CP

      CommerceWishListItem removeByCW_CPI_CP(long commerceWishListId, String CPInstanceUuid, long CProductId) throws NoSuchWishListItemException
      Removes the commerce wish list item where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ? from the database.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
      CProductId - the c product ID
      Returns:
      the commerce wish list item that was removed
      Throws:
      NoSuchWishListItemException
    • countByCW_CPI_CP

      int countByCW_CPI_CP(long commerceWishListId, String CPInstanceUuid, long CProductId)
      Returns the number of commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ?.
      Parameters:
      commerceWishListId - the commerce wish list ID
      CPInstanceUuid - the cp instance uuid
      CProductId - the c product ID
      Returns:
      the number of matching commerce wish list items
    • cacheResult

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

      void cacheResult(List<CommerceWishListItem> commerceWishListItems)
      Caches the commerce wish list items in the entity cache if it is enabled.
      Parameters:
      commerceWishListItems - the commerce wish list items
    • create

      CommerceWishListItem create(long commerceWishListItemId)
      Creates a new commerce wish list item with the primary key. Does not add the commerce wish list item to the database.
      Parameters:
      commerceWishListItemId - the primary key for the new commerce wish list item
      Returns:
      the new commerce wish list item
    • remove

      CommerceWishListItem remove(long commerceWishListItemId) throws NoSuchWishListItemException
      Removes the commerce wish list item with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceWishListItemId - the primary key of the commerce wish list item
      Returns:
      the commerce wish list item that was removed
      Throws:
      NoSuchWishListItemException - if a commerce wish list item with the primary key could not be found
    • updateImpl

      CommerceWishListItem updateImpl(CommerceWishListItem commerceWishListItem)
    • findByPrimaryKey

      CommerceWishListItem findByPrimaryKey(long commerceWishListItemId) throws NoSuchWishListItemException
      Returns the commerce wish list item with the primary key or throws a NoSuchWishListItemException if it could not be found.
      Parameters:
      commerceWishListItemId - the primary key of the commerce wish list item
      Returns:
      the commerce wish list item
      Throws:
      NoSuchWishListItemException - if a commerce wish list item with the primary key could not be found
    • fetchByPrimaryKey

      CommerceWishListItem fetchByPrimaryKey(long commerceWishListItemId)
      Returns the commerce wish list item with the primary key or returns null if it could not be found.
      Parameters:
      commerceWishListItemId - the primary key of the commerce wish list item
      Returns:
      the commerce wish list item, or null if a commerce wish list item with the primary key could not be found
    • findAll

      Returns all the commerce wish list items.
      Returns:
      the commerce wish list items
    • findAll

      List<CommerceWishListItem> findAll(int start, int end)
      Returns a range of all the commerce wish list items.

      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 CommerceWishListItemModelImpl.

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

      List<CommerceWishListItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
      Returns an ordered range of all the commerce wish list items.

      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 CommerceWishListItemModelImpl.

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

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

      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 CommerceWishListItemModelImpl.

      Parameters:
      start - the lower bound of the range of commerce wish list items
      end - the upper bound of the range of commerce wish list items (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 list items
    • removeAll

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

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