Interface CommerceWishListItemPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceWishListItem>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceWishListItem commerceWishListItem) Caches the commerce wish list item in the entity cache if it is enabled.void
cacheResult
(List<CommerceWishListItem> commerceWishListItems) Caches the commerce wish list items in the entity cache if it is enabled.int
countAll()
Returns the number of commerce wish list items.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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_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 = ?.fetchByCW_CPI_CP
(long commerceWishListId, String CPInstanceUuid, long CProductId) Returns the commerce wish list item where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ? or returnsnull
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 returnsnull
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 = ?.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 = ?.fetchByPrimaryKey
(long commerceWishListItemId) Returns the commerce wish list item with the primary key or returnsnull
if it could not be found.findAll()
Returns all the commerce wish list items.findAll
(int start, int end) Returns a range of all the commerce wish list items.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) Returns an ordered range of all the commerce wish list items.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.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 = ?.findByCommerceWishListId_Last
(long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) Returns the last commerce wish list item in the ordered set where commerceWishListId = ?.findByCommerceWishListId_PrevAndNext
(long commerceWishListItemId, long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) Returns the commerce wish list items before and after the current 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 = ?.findByCPInstanceUuid_Last
(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) Returns the last commerce wish list item in the ordered set where CPInstanceUuid = ?.findByCPInstanceUuid_PrevAndNext
(long commerceWishListItemId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) Returns the commerce wish list items before and after the current 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 = ?.findByCProductId_Last
(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) Returns the last commerce wish list item in the ordered set where CProductId = ?.findByCProductId_PrevAndNext
(long commerceWishListItemId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) Returns the commerce wish list items before and after the current 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_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 = ?.findByCW_CP_PrevAndNext
(long commerceWishListItemId, long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) Returns the commerce wish list items before and after the current 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 aNoSuchWishListItemException
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 = ?.findByCW_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 = ?.findByCW_CPI_PrevAndNext
(long commerceWishListItemId, long commerceWishListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) Returns the commerce wish list items before and after the current 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 aNoSuchWishListItemException
if it could not be found.remove
(long commerceWishListItemId) Removes the commerce wish list item with the primary key from the database.void
Removes all the commerce wish list items from the database.void
removeByCommerceWishListId
(long commerceWishListId) Removes all the commerce wish list items where commerceWishListId = ? from the database.void
removeByCPInstanceUuid
(String CPInstanceUuid) 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
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByCommerceWishListId
Returns all the commerce wish list items where commerceWishListId = ?.- Parameters:
commerceWishListId
- the commerce wish list ID- Returns:
- the matching commerce wish list items
-
findByCommerceWishListId
Returns a range of all the commerce wish list items where commerceWishListId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
commerceWishListId
- the commerce wish list IDstart
- the lower bound of the range of commerce wish list itemsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
commerceWishListId
- the commerce wish list IDstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
commerceWishListId
- the commerce wish list IDstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce wish 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 itemcommerceWishListId
- the commerce wish list IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Returns all the commerce wish list items where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuid- Returns:
- the matching commerce wish list items
-
findByCPInstanceUuid
Returns a range of all the commerce wish list items where CPInstanceUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
CPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of commerce wish list itemsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
CPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
CPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce wish 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 itemCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the commerce wish list items where CPInstanceUuid = ? from the database.- Parameters:
CPInstanceUuid
- the cp instance uuid
-
countByCPInstanceUuid
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
Returns all the commerce wish list items where CProductId = ?.- Parameters:
CProductId
- the c product ID- Returns:
- the matching commerce wish list items
-
findByCProductId
Returns a range of all the commerce wish list items where CProductId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
CProductId
- the c product IDstart
- the lower bound of the range of commerce wish list itemsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
CProductId
- the c product IDstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
CProductId
- the c product IDstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce wish 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 itemCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Returns all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.- Parameters:
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of commerce wish list itemsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce wish 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 IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 itemcommerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ? from the database.- Parameters:
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuid
-
countByCW_CPI
Returns the number of commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.- Parameters:
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuid- Returns:
- the number of matching commerce wish list items
-
findByCW_CP
Returns all the commerce wish list items where commerceWishListId = ? and CProductId = ?.- Parameters:
commerceWishListId
- the commerce wish list IDCProductId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDstart
- the lower bound of the range of commerce wish list itemsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDstart
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce wish 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 IDCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 itemcommerceWishListId
- the commerce wish list IDCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDCProductId
- 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 IDCProductId
- 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 aNoSuchWishListItemException
if it could not be found.- Parameters:
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidCProductId
- 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 returnsnull
if it could not be found. Uses the finder cache.- Parameters:
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidCProductId
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidCProductId
- the c product IDuseFinderCache
- 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 IDCPInstanceUuid
- the cp instance uuidCProductId
- the c product ID- Returns:
- the commerce wish list item that was removed
- Throws:
NoSuchWishListItemException
-
countByCW_CPI_CP
Returns the number of commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ?.- Parameters:
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidCProductId
- the c product ID- Returns:
- the number of matching commerce wish list items
-
cacheResult
Caches the commerce wish list item in the entity cache if it is enabled.- Parameters:
commerceWishListItem
- the commerce wish list item
-
cacheResult
Caches the commerce wish list items in the entity cache if it is enabled.- Parameters:
commerceWishListItems
- the commerce wish list items
-
create
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
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
-
findByPrimaryKey
CommerceWishListItem findByPrimaryKey(long commerceWishListItemId) throws NoSuchWishListItemException Returns the commerce wish list item with the primary key or throws aNoSuchWishListItemException
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
Returns the commerce wish list item with the primary key or returnsnull
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
List<CommerceWishListItem> findAll()Returns all the commerce wish list items.- Returns:
- the commerce wish list items
-
findAll
Returns a range of all the commerce wish list items.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
start
- the lower bound of the range of commerce wish list itemsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
start
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceWishListItemModelImpl
.- Parameters:
start
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce wish 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
-