@ProviderType public interface CommerceVirtualOrderItemPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceVirtualOrderItem>
Caching information and settings can be found in portal.properties
CommerceVirtualOrderItemUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceVirtualOrderItem commerceVirtualOrderItem)
Caches the commerce virtual order item in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceVirtualOrderItem> commerceVirtualOrderItems)
Caches the commerce virtual order items in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce virtual order items.
|
int |
countByCommerceOrderItemId(long commerceOrderItemId)
Returns the number of commerce virtual order items where commerceOrderItemId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce virtual order items where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce virtual order items where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce virtual order items where uuid = ?.
|
CommerceVirtualOrderItem |
create(long commerceVirtualOrderItemId)
Creates a new commerce virtual order item with the primary key.
|
CommerceVirtualOrderItem |
fetchByCommerceOrderItemId(long commerceOrderItemId)
Returns the commerce virtual order item where commerceOrderItemId = ? or returns
null if it could not be found. |
CommerceVirtualOrderItem |
fetchByCommerceOrderItemId(long commerceOrderItemId,
boolean useFinderCache)
Returns the commerce virtual order item where commerceOrderItemId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceVirtualOrderItem |
fetchByPrimaryKey(long commerceVirtualOrderItemId)
Returns the commerce virtual order item with the primary key or returns
null if it could not be found. |
CommerceVirtualOrderItem |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
Returns the first commerce virtual order item in the ordered set where uuid = ? and companyId = ?.
|
CommerceVirtualOrderItem |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
Returns the last commerce virtual order item in the ordered set where uuid = ? and companyId = ?.
|
CommerceVirtualOrderItem |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
Returns the first commerce virtual order item in the ordered set where uuid = ?.
|
CommerceVirtualOrderItem |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce virtual order item where uuid = ? and groupId = ? or returns
null if it could not be found. |
CommerceVirtualOrderItem |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the commerce virtual order item where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceVirtualOrderItem |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
Returns the last commerce virtual order item in the ordered set where uuid = ?.
|
java.util.List<CommerceVirtualOrderItem> |
findAll()
Returns all the commerce virtual order items.
|
java.util.List<CommerceVirtualOrderItem> |
findAll(int start,
int end)
Returns a range of all the commerce virtual order items.
|
java.util.List<CommerceVirtualOrderItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
Returns an ordered range of all the commerce virtual order items.
|
java.util.List<CommerceVirtualOrderItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce virtual order items.
|
CommerceVirtualOrderItem |
findByCommerceOrderItemId(long commerceOrderItemId)
Returns the commerce virtual order item where commerceOrderItemId = ? or throws a
NoSuchVirtualOrderItemException if it could not be found. |
CommerceVirtualOrderItem |
findByPrimaryKey(long commerceVirtualOrderItemId)
Returns the commerce virtual order item with the primary key or throws a
NoSuchVirtualOrderItemException if it could not be found. |
CommerceVirtualOrderItem |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
Returns the first commerce virtual order item in the ordered set where uuid = ? and companyId = ?.
|
CommerceVirtualOrderItem |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
Returns the last commerce virtual order item in the ordered set where uuid = ? and companyId = ?.
|
CommerceVirtualOrderItem[] |
findByUuid_C_PrevAndNext(long commerceVirtualOrderItemId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
Returns the commerce virtual order items before and after the current commerce virtual order item in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CommerceVirtualOrderItem> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce virtual order items where uuid = ? and companyId = ?.
|
java.util.List<CommerceVirtualOrderItem> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce virtual order items where uuid = ? and companyId = ?.
|
java.util.List<CommerceVirtualOrderItem> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
Returns an ordered range of all the commerce virtual order items where uuid = ? and companyId = ?.
|
java.util.List<CommerceVirtualOrderItem> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce virtual order items where uuid = ? and companyId = ?.
|
CommerceVirtualOrderItem |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
Returns the first commerce virtual order item in the ordered set where uuid = ?.
|
CommerceVirtualOrderItem |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce virtual order item where uuid = ? and groupId = ? or throws a
NoSuchVirtualOrderItemException if it could not be found. |
CommerceVirtualOrderItem |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
Returns the last commerce virtual order item in the ordered set where uuid = ?.
|
CommerceVirtualOrderItem[] |
findByUuid_PrevAndNext(long commerceVirtualOrderItemId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
Returns the commerce virtual order items before and after the current commerce virtual order item in the ordered set where uuid = ?.
|
java.util.List<CommerceVirtualOrderItem> |
findByUuid(java.lang.String uuid)
Returns all the commerce virtual order items where uuid = ?.
|
java.util.List<CommerceVirtualOrderItem> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce virtual order items where uuid = ?.
|
java.util.List<CommerceVirtualOrderItem> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
Returns an ordered range of all the commerce virtual order items where uuid = ?.
|
java.util.List<CommerceVirtualOrderItem> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce virtual order items where uuid = ?.
|
CommerceVirtualOrderItem |
remove(long commerceVirtualOrderItemId)
Removes the commerce virtual order item with the primary key from the database.
|
void |
removeAll()
Removes all the commerce virtual order items from the database.
|
CommerceVirtualOrderItem |
removeByCommerceOrderItemId(long commerceOrderItemId)
Removes the commerce virtual order item where commerceOrderItemId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce virtual order items where uuid = ? and companyId = ? from the database.
|
CommerceVirtualOrderItem |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce virtual order item where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce virtual order items where uuid = ? from the database.
|
CommerceVirtualOrderItem |
updateImpl(CommerceVirtualOrderItem commerceVirtualOrderItem) |
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<CommerceVirtualOrderItem> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceVirtualOrderItem> findByUuid(java.lang.String uuid, 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 CommerceVirtualOrderItemModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce virtual order itemsend
- the upper bound of the range of commerce virtual order items (not inclusive)java.util.List<CommerceVirtualOrderItem> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> 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 CommerceVirtualOrderItemModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce virtual order itemsend
- the upper bound of the range of commerce virtual order items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceVirtualOrderItem> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> 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 CommerceVirtualOrderItemModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce virtual order itemsend
- the upper bound of the range of commerce virtual order items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceVirtualOrderItem findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator) throws NoSuchVirtualOrderItemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVirtualOrderItemException
- if a matching commerce virtual order item could not be foundCommerceVirtualOrderItem fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce virtual order item could not be foundCommerceVirtualOrderItem findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator) throws NoSuchVirtualOrderItemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVirtualOrderItemException
- if a matching commerce virtual order item could not be foundCommerceVirtualOrderItem fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce virtual order item could not be foundCommerceVirtualOrderItem[] findByUuid_PrevAndNext(long commerceVirtualOrderItemId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator) throws NoSuchVirtualOrderItemException
commerceVirtualOrderItemId
- the primary key of the current commerce virtual order itemuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVirtualOrderItemException
- if a commerce virtual order item with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCommerceVirtualOrderItem findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchVirtualOrderItemException
NoSuchVirtualOrderItemException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchVirtualOrderItemException
- if a matching commerce virtual order item could not be foundCommerceVirtualOrderItem fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching commerce virtual order item could not be foundCommerceVirtualOrderItem fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce virtual order item could not be foundCommerceVirtualOrderItem removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchVirtualOrderItemException
uuid
- the uuidgroupId
- the group IDNoSuchVirtualOrderItemException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<CommerceVirtualOrderItem> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceVirtualOrderItem> findByUuid_C(java.lang.String uuid, long companyId, 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 CommerceVirtualOrderItemModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce virtual order itemsend
- the upper bound of the range of commerce virtual order items (not inclusive)java.util.List<CommerceVirtualOrderItem> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> 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 CommerceVirtualOrderItemModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce virtual order itemsend
- the upper bound of the range of commerce virtual order items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceVirtualOrderItem> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> 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 CommerceVirtualOrderItemModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce virtual order itemsend
- the upper bound of the range of commerce virtual order items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceVirtualOrderItem findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator) throws NoSuchVirtualOrderItemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVirtualOrderItemException
- if a matching commerce virtual order item could not be foundCommerceVirtualOrderItem fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce virtual order item could not be foundCommerceVirtualOrderItem findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator) throws NoSuchVirtualOrderItemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVirtualOrderItemException
- if a matching commerce virtual order item could not be foundCommerceVirtualOrderItem fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce virtual order item could not be foundCommerceVirtualOrderItem[] findByUuid_C_PrevAndNext(long commerceVirtualOrderItemId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> orderByComparator) throws NoSuchVirtualOrderItemException
commerceVirtualOrderItemId
- the primary key of the current commerce virtual order itemuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVirtualOrderItemException
- if a commerce virtual order item with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDCommerceVirtualOrderItem findByCommerceOrderItemId(long commerceOrderItemId) throws NoSuchVirtualOrderItemException
NoSuchVirtualOrderItemException
if it could not be found.commerceOrderItemId
- the commerce order item IDNoSuchVirtualOrderItemException
- if a matching commerce virtual order item could not be foundCommerceVirtualOrderItem fetchByCommerceOrderItemId(long commerceOrderItemId)
null
if it could not be found. Uses the finder cache.commerceOrderItemId
- the commerce order item IDnull
if a matching commerce virtual order item could not be foundCommerceVirtualOrderItem fetchByCommerceOrderItemId(long commerceOrderItemId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commerceOrderItemId
- the commerce order item IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce virtual order item could not be foundCommerceVirtualOrderItem removeByCommerceOrderItemId(long commerceOrderItemId) throws NoSuchVirtualOrderItemException
commerceOrderItemId
- the commerce order item IDNoSuchVirtualOrderItemException
int countByCommerceOrderItemId(long commerceOrderItemId)
commerceOrderItemId
- the commerce order item IDvoid cacheResult(CommerceVirtualOrderItem commerceVirtualOrderItem)
commerceVirtualOrderItem
- the commerce virtual order itemvoid cacheResult(java.util.List<CommerceVirtualOrderItem> commerceVirtualOrderItems)
commerceVirtualOrderItems
- the commerce virtual order itemsCommerceVirtualOrderItem create(long commerceVirtualOrderItemId)
commerceVirtualOrderItemId
- the primary key for the new commerce virtual order itemCommerceVirtualOrderItem remove(long commerceVirtualOrderItemId) throws NoSuchVirtualOrderItemException
commerceVirtualOrderItemId
- the primary key of the commerce virtual order itemNoSuchVirtualOrderItemException
- if a commerce virtual order item with the primary key could not be foundCommerceVirtualOrderItem updateImpl(CommerceVirtualOrderItem commerceVirtualOrderItem)
CommerceVirtualOrderItem findByPrimaryKey(long commerceVirtualOrderItemId) throws NoSuchVirtualOrderItemException
NoSuchVirtualOrderItemException
if it could not be found.commerceVirtualOrderItemId
- the primary key of the commerce virtual order itemNoSuchVirtualOrderItemException
- if a commerce virtual order item with the primary key could not be foundCommerceVirtualOrderItem fetchByPrimaryKey(long commerceVirtualOrderItemId)
null
if it could not be found.commerceVirtualOrderItemId
- the primary key of the commerce virtual order itemnull
if a commerce virtual order item with the primary key could not be foundjava.util.List<CommerceVirtualOrderItem> findAll()
java.util.List<CommerceVirtualOrderItem> 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 CommerceVirtualOrderItemModelImpl
.
start
- the lower bound of the range of commerce virtual order itemsend
- the upper bound of the range of commerce virtual order items (not inclusive)java.util.List<CommerceVirtualOrderItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> 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 CommerceVirtualOrderItemModelImpl
.
start
- the lower bound of the range of commerce virtual order itemsend
- the upper bound of the range of commerce virtual order items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceVirtualOrderItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem> 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 CommerceVirtualOrderItemModelImpl
.
start
- the lower bound of the range of commerce virtual order itemsend
- the upper bound of the range of commerce virtual order items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()