@ProviderType public interface CommerceWishListItemPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceWishListItem>
Caching information and settings can be found in portal.properties
CommerceWishListItemUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceWishListItem commerceWishListItem)
Caches the commerce wish list item in the entity cache if it is enabled.
|
void |
cacheResult(java.util.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(java.lang.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_CP(long commerceWishListId,
java.lang.String CPInstanceUuid,
long CProductId)
Returns the number of commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ?.
|
int |
countByCW_CPI(long commerceWishListId,
java.lang.String CPInstanceUuid)
Returns the number of commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.
|
CommerceWishListItem |
create(long commerceWishListItemId)
Creates a new commerce wish list item with the primary key.
|
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 = ?.
|
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 = ?.
|
CommerceWishListItem |
fetchByCPInstanceUuid_First(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the first commerce wish list item in the ordered set where CPInstanceUuid = ?.
|
CommerceWishListItem |
fetchByCPInstanceUuid_Last(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the last commerce wish list item in the ordered set where CPInstanceUuid = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
CommerceWishListItem |
fetchByCW_CPI_CP(long commerceWishListId,
java.lang.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. |
CommerceWishListItem |
fetchByCW_CPI_CP(long commerceWishListId,
java.lang.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. |
CommerceWishListItem |
fetchByCW_CPI_First(long commerceWishListId,
java.lang.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 = ?.
|
CommerceWishListItem |
fetchByCW_CPI_Last(long commerceWishListId,
java.lang.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 = ?.
|
CommerceWishListItem |
fetchByPrimaryKey(long commerceWishListItemId)
Returns the commerce wish list item with the primary key or returns
null if it could not be found. |
java.util.List<CommerceWishListItem> |
findAll()
Returns all the commerce wish list items.
|
java.util.List<CommerceWishListItem> |
findAll(int start,
int end)
Returns a range of all the commerce wish list items.
|
java.util.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.
|
java.util.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.
|
CommerceWishListItem |
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 = ?.
|
CommerceWishListItem |
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 = ?.
|
CommerceWishListItem[] |
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 = ?.
|
java.util.List<CommerceWishListItem> |
findByCommerceWishListId(long commerceWishListId)
Returns all the commerce wish list items where commerceWishListId = ?.
|
java.util.List<CommerceWishListItem> |
findByCommerceWishListId(long commerceWishListId,
int start,
int end)
Returns a range of all the commerce wish list items where commerceWishListId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceWishListItem |
findByCPInstanceUuid_First(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the first commerce wish list item in the ordered set where CPInstanceUuid = ?.
|
CommerceWishListItem |
findByCPInstanceUuid_Last(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Returns the last commerce wish list item in the ordered set where CPInstanceUuid = ?.
|
CommerceWishListItem[] |
findByCPInstanceUuid_PrevAndNext(long commerceWishListItemId,
java.lang.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 = ?.
|
java.util.List<CommerceWishListItem> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid)
Returns all the commerce wish list items where CPInstanceUuid = ?.
|
java.util.List<CommerceWishListItem> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid,
int start,
int end)
Returns a range of all the commerce wish list items where CPInstanceUuid = ?.
|
java.util.List<CommerceWishListItem> |
findByCPInstanceUuid(java.lang.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 = ?.
|
java.util.List<CommerceWishListItem> |
findByCPInstanceUuid(java.lang.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 = ?.
|
CommerceWishListItem |
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 = ?.
|
CommerceWishListItem |
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 = ?.
|
CommerceWishListItem[] |
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 = ?.
|
java.util.List<CommerceWishListItem> |
findByCProductId(long CProductId)
Returns all the commerce wish list items where CProductId = ?.
|
java.util.List<CommerceWishListItem> |
findByCProductId(long CProductId,
int start,
int end)
Returns a range of all the commerce wish list items where CProductId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceWishListItem |
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 = ?.
|
CommerceWishListItem |
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 = ?.
|
CommerceWishListItem[] |
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 = ?.
|
java.util.List<CommerceWishListItem> |
findByCW_CP(long commerceWishListId,
long CProductId)
Returns all the commerce wish list items where commerceWishListId = ? and CProductId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceWishListItem |
findByCW_CPI_CP(long commerceWishListId,
java.lang.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. |
CommerceWishListItem |
findByCW_CPI_First(long commerceWishListId,
java.lang.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 = ?.
|
CommerceWishListItem |
findByCW_CPI_Last(long commerceWishListId,
java.lang.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 = ?.
|
CommerceWishListItem[] |
findByCW_CPI_PrevAndNext(long commerceWishListItemId,
long commerceWishListId,
java.lang.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 = ?.
|
java.util.List<CommerceWishListItem> |
findByCW_CPI(long commerceWishListId,
java.lang.String CPInstanceUuid)
Returns all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.
|
java.util.List<CommerceWishListItem> |
findByCW_CPI(long commerceWishListId,
java.lang.String CPInstanceUuid,
int start,
int end)
Returns a range of all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ?.
|
java.util.List<CommerceWishListItem> |
findByCW_CPI(long commerceWishListId,
java.lang.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 = ?.
|
java.util.List<CommerceWishListItem> |
findByCW_CPI(long commerceWishListId,
java.lang.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 = ?.
|
CommerceWishListItem |
findByPrimaryKey(long commerceWishListItemId)
Returns the commerce wish list item with the primary key or throws a
NoSuchWishListItemException if it could not be found. |
CommerceWishListItem |
remove(long commerceWishListItemId)
Removes the commerce wish list item with the primary key from the database.
|
void |
removeAll()
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(java.lang.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.
|
CommerceWishListItem |
removeByCW_CPI_CP(long commerceWishListId,
java.lang.String CPInstanceUuid,
long CProductId)
Removes the commerce wish list item where commerceWishListId = ? and CPInstanceUuid = ? and CProductId = ? from the database.
|
void |
removeByCW_CPI(long commerceWishListId,
java.lang.String CPInstanceUuid)
Removes all the commerce wish list items where commerceWishListId = ? and CPInstanceUuid = ? from the database.
|
CommerceWishListItem |
updateImpl(CommerceWishListItem commerceWishListItem) |
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, setDataSource, unregisterListener, update, update
java.util.List<CommerceWishListItem> findByCommerceWishListId(long commerceWishListId)
commerceWishListId
- the commerce wish list IDjava.util.List<CommerceWishListItem> findByCommerceWishListId(long commerceWishListId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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)java.util.List<CommerceWishListItem> findByCommerceWishListId(long commerceWishListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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 (optionally null
)java.util.List<CommerceWishListItem> findByCommerceWishListId(long commerceWishListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceWishListItem findByCommerceWishListId_First(long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListId
- the commerce wish list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundCommerceWishListItem fetchByCommerceWishListId_First(long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
commerceWishListId
- the commerce wish list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundCommerceWishListItem findByCommerceWishListId_Last(long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListId
- the commerce wish list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundCommerceWishListItem fetchByCommerceWishListId_Last(long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
commerceWishListId
- the commerce wish list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundCommerceWishListItem[] findByCommerceWishListId_PrevAndNext(long commerceWishListItemId, long commerceWishListId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListItemId
- the primary key of the current commerce wish list itemcommerceWishListId
- the commerce wish list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a commerce wish list item with the primary key could not be foundvoid removeByCommerceWishListId(long commerceWishListId)
commerceWishListId
- the commerce wish list IDint countByCommerceWishListId(long commerceWishListId)
commerceWishListId
- the commerce wish list IDjava.util.List<CommerceWishListItem> findByCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuidjava.util.List<CommerceWishListItem> findByCPInstanceUuid(java.lang.String CPInstanceUuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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)java.util.List<CommerceWishListItem> findByCPInstanceUuid(java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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 (optionally null
)java.util.List<CommerceWishListItem> findByCPInstanceUuid(java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceWishListItem findByCPInstanceUuid_First(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundCommerceWishListItem fetchByCPInstanceUuid_First(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundCommerceWishListItem findByCPInstanceUuid_Last(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundCommerceWishListItem fetchByCPInstanceUuid_Last(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundCommerceWishListItem[] findByCPInstanceUuid_PrevAndNext(long commerceWishListItemId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListItemId
- the primary key of the current commerce wish list itemCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a commerce wish list item with the primary key could not be foundvoid removeByCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuidint countByCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuidjava.util.List<CommerceWishListItem> findByCProductId(long CProductId)
CProductId
- the c product IDjava.util.List<CommerceWishListItem> findByCProductId(long CProductId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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)java.util.List<CommerceWishListItem> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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 (optionally null
)java.util.List<CommerceWishListItem> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceWishListItem findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundCommerceWishListItem fetchByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundCommerceWishListItem findByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundCommerceWishListItem fetchByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundCommerceWishListItem[] findByCProductId_PrevAndNext(long commerceWishListItemId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListItemId
- the primary key of the current commerce wish list itemCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a commerce wish list item with the primary key could not be foundvoid removeByCProductId(long CProductId)
CProductId
- the c product IDint countByCProductId(long CProductId)
CProductId
- the c product IDjava.util.List<CommerceWishListItem> findByCW_CPI(long commerceWishListId, java.lang.String CPInstanceUuid)
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidjava.util.List<CommerceWishListItem> findByCW_CPI(long commerceWishListId, java.lang.String CPInstanceUuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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)java.util.List<CommerceWishListItem> findByCW_CPI(long commerceWishListId, java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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 (optionally null
)java.util.List<CommerceWishListItem> findByCW_CPI(long commerceWishListId, java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceWishListItem findByCW_CPI_First(long commerceWishListId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundCommerceWishListItem fetchByCW_CPI_First(long commerceWishListId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundCommerceWishListItem findByCW_CPI_Last(long commerceWishListId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundCommerceWishListItem fetchByCW_CPI_Last(long commerceWishListId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundCommerceWishListItem[] findByCW_CPI_PrevAndNext(long commerceWishListItemId, long commerceWishListId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
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 (optionally null
)NoSuchWishListItemException
- if a commerce wish list item with the primary key could not be foundvoid removeByCW_CPI(long commerceWishListId, java.lang.String CPInstanceUuid)
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidint countByCW_CPI(long commerceWishListId, java.lang.String CPInstanceUuid)
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidjava.util.List<CommerceWishListItem> findByCW_CP(long commerceWishListId, long CProductId)
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDjava.util.List<CommerceWishListItem> findByCW_CP(long commerceWishListId, long CProductId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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)java.util.List<CommerceWishListItem> findByCW_CP(long commerceWishListId, long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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 (optionally null
)java.util.List<CommerceWishListItem> findByCW_CP(long commerceWishListId, long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceWishListItem findByCW_CP_First(long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundCommerceWishListItem fetchByCW_CP_First(long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundCommerceWishListItem findByCW_CP_Last(long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWishListItemException
- if a matching commerce wish list item could not be foundCommerceWishListItem fetchByCW_CP_Last(long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce wish list item could not be foundCommerceWishListItem[] findByCW_CP_PrevAndNext(long commerceWishListItemId, long commerceWishListId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws NoSuchWishListItemException
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 (optionally null
)NoSuchWishListItemException
- if a commerce wish list item with the primary key could not be foundvoid removeByCW_CP(long commerceWishListId, long CProductId)
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDint countByCW_CP(long commerceWishListId, long CProductId)
commerceWishListId
- the commerce wish list IDCProductId
- the c product IDCommerceWishListItem findByCW_CPI_CP(long commerceWishListId, java.lang.String CPInstanceUuid, long CProductId) throws NoSuchWishListItemException
NoSuchWishListItemException
if it could not be found.commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidCProductId
- the c product IDNoSuchWishListItemException
- if a matching commerce wish list item could not be foundCommerceWishListItem fetchByCW_CPI_CP(long commerceWishListId, java.lang.String CPInstanceUuid, long CProductId)
null
if it could not be found. Uses the finder cache.commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidCProductId
- the c product IDnull
if a matching commerce wish list item could not be foundCommerceWishListItem fetchByCW_CPI_CP(long commerceWishListId, java.lang.String CPInstanceUuid, long CProductId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidCProductId
- the c product IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce wish list item could not be foundCommerceWishListItem removeByCW_CPI_CP(long commerceWishListId, java.lang.String CPInstanceUuid, long CProductId) throws NoSuchWishListItemException
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidCProductId
- the c product IDNoSuchWishListItemException
int countByCW_CPI_CP(long commerceWishListId, java.lang.String CPInstanceUuid, long CProductId)
commerceWishListId
- the commerce wish list IDCPInstanceUuid
- the cp instance uuidCProductId
- the c product IDvoid cacheResult(CommerceWishListItem commerceWishListItem)
commerceWishListItem
- the commerce wish list itemvoid cacheResult(java.util.List<CommerceWishListItem> commerceWishListItems)
commerceWishListItems
- the commerce wish list itemsCommerceWishListItem create(long commerceWishListItemId)
commerceWishListItemId
- the primary key for the new commerce wish list itemCommerceWishListItem remove(long commerceWishListItemId) throws NoSuchWishListItemException
commerceWishListItemId
- the primary key of the commerce wish list itemNoSuchWishListItemException
- if a commerce wish list item with the primary key could not be foundCommerceWishListItem updateImpl(CommerceWishListItem commerceWishListItem)
CommerceWishListItem findByPrimaryKey(long commerceWishListItemId) throws NoSuchWishListItemException
NoSuchWishListItemException
if it could not be found.commerceWishListItemId
- the primary key of the commerce wish list itemNoSuchWishListItemException
- if a commerce wish list item with the primary key could not be foundCommerceWishListItem fetchByPrimaryKey(long commerceWishListItemId)
null
if it could not be found.commerceWishListItemId
- the primary key of the commerce wish list itemnull
if a commerce wish list item with the primary key could not be foundjava.util.List<CommerceWishListItem> findAll()
java.util.List<CommerceWishListItem> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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)java.util.List<CommerceWishListItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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 (optionally null
)java.util.List<CommerceWishListItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceWishListItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()