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 Summary

    Modifier and Type
    Method
    Description
    int
    countByCommerceWishListId(long commerceWishListId)
    Returns the number of commerce wish list items where commerceWishListId = ?.
    int
    countByCPInstanceUuid(String CPInstanceUuid)
    Returns the number of commerce wish list items where CPInstanceUuid = ?.
    int
    countByCProductId(long CProductId)
    Returns the number of commerce wish list items where CProductId = ?.
    int
    countByCW_CP(long commerceWishListId, long CProductId)
    Returns the number of commerce wish list items where commerceWishListId = ? and CProductId = ?.
    int
    countByCW_CPI(long commerceWishListId, String CPInstanceUuid)
    Returns the number of commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.
    int
    countByCW_CPI_CP(long commerceWishListId, String CPInstanceUuid, long CProductId)
    Returns the number of commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ?.
    create(long commerceWishListItemId)
    Creates a new commerce wish list item with the primary key.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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.
    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.
    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 = ?.
    fetchByPrimaryKey(long commerceWishListItemId)
    Returns the commerce wish list item with the primary key or returns null if it could not be found.
    findByCommerceWishListId(long commerceWishListId)
    Returns all the commerce wish list items where commerceWishListId = ?.
    findByCommerceWishListId(long commerceWishListId, int start, int end)
    Returns a range of all the commerce wish list items where commerceWishListId = ?.
    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 = ?.
    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 = ?.
    findByCommerceWishListId_First(long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
    Returns the first commerce wish list item in the ordered set where commerceWishListId = ?.
    findByCPInstanceUuid(String CPInstanceUuid)
    Returns all the commerce wish list items where CPInstanceUuid = ?.
    findByCPInstanceUuid(String CPInstanceUuid, int start, int end)
    Returns a range of all the commerce wish list items where CPInstanceUuid = ?.
    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 = ?.
    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 = ?.
    findByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
    Returns the first commerce wish list item in the ordered set where CPInstanceUuid = ?.
    findByCProductId(long CProductId)
    Returns all the commerce wish list items where CProductId = ?.
    findByCProductId(long CProductId, int start, int end)
    Returns a range of all the commerce wish list items where CProductId = ?.
    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 = ?.
    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 = ?.
    findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
    Returns the first commerce wish list item in the ordered set where CProductId = ?.
    findByCW_CP(long commerceWishListId, long CProductId)
    Returns all the commerce wish list items where commerceWishListId = ? and CProductId = ?.
    findByCW_CP(long commerceWishListId, long CProductId, int start, int end)
    Returns a range of all the commerce wish list items where commerceWishListId = ? and CProductId = ?.
    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 = ?.
    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 = ?.
    findByCW_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 = ?.
    findByCW_CPI(long commerceWishListId, String CPInstanceUuid)
    Returns all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.
    findByCW_CPI(long commerceWishListId, String CPInstanceUuid, int start, int end)
    Returns a range of all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.
    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 = ?.
    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 = ?.
    findByCW_CPI_CP(long commerceWishListId, String CPInstanceUuid, long CProductId)
    Returns the commerce wish list item where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ? or throws a NoSuchWishListItemException if it could not be found.
    findByCW_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 = ?.
    findByPrimaryKey(long commerceWishListItemId)
    Returns the commerce wish list item with the primary key or throws a NoSuchWishListItemException if it could not be found.
    remove(long commerceWishListItemId)
    Removes the commerce wish list item with the primary key from the database.
    void
    removeByCommerceWishListId(long commerceWishListId)
    Removes all the commerce wish list items where commerceWishListId = ? from the database.
    void
    Removes all the commerce wish list items where CPInstanceUuid = ? from the database.
    void
    removeByCProductId(long CProductId)
    Removes all the commerce wish list items where CProductId = ? from the database.
    void
    removeByCW_CP(long commerceWishListId, long CProductId)
    Removes all the commerce wish list items where commerceWishListId = ? and CProductId = ? from the database.
    void
    removeByCW_CPI(long commerceWishListId, String CPInstanceUuid)
    Removes all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ? from the database.
    removeByCW_CPI_CP(long commerceWishListId, String CPInstanceUuid, long CProductId)
    Removes the commerce wish list item where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ? from the database.
    updateImpl(CommerceWishListItem commerceWishListItem)
     

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

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

    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.wish.list.model.impl.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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.wish.list.model.impl.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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.wish.list.model.impl.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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.wish.list.model.impl.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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.wish.list.model.impl.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
    • 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, 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
    • 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
    • fetchByCW_CPI_CP

      default 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
    • findByCommerceWishListId

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.wish.list.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.wish.list.model.impl.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
    • findByCPInstanceUuid

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.wish.list.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.wish.list.model.impl.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
    • findByCProductId

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.wish.list.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.wish.list.model.impl.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
    • findByCW_CPI

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.wish.list.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.wish.list.model.impl.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_CP

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.wish.list.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.wish.list.model.impl.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