Interface CommerceOrderItemPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrderItem>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceOrderItem commerceOrderItem) Caches the commerce order item in the entity cache if it is enabled.void
cacheResult
(List<CommerceOrderItem> commerceOrderItems) Caches the commerce order items in the entity cache if it is enabled.int
countAll()
Returns the number of commerce order items.int
countByC_CPI
(long commerceOrderId, long CPInstanceId) Returns the number of commerce order items where commerceOrderId = ? and CPInstanceId = ?.int
countByC_S
(long commerceOrderId, boolean subscription) Returns the number of commerce order items where commerceOrderId = ? and subscription = ?.int
countByCommerceInventoryBookedQuantityId
(long commerceInventoryBookedQuantityId) Returns the number of commerce order items where commerceInventoryBookedQuantityId = ?.int
countByCommerceOrderId
(long commerceOrderId) Returns the number of commerce order items where commerceOrderId = ?.int
countByCPInstanceId
(long CPInstanceId) Returns the number of commerce order items where CPInstanceId = ?.int
countByCProductId
(long CProductId) Returns the number of commerce order items where CProductId = ?.int
countByCustomerCommerceOrderItemId
(long customerCommerceOrderItemId) Returns the number of commerce order items where customerCommerceOrderItemId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of commerce order items where externalReferenceCode = ? and companyId = ?.int
countByParentCommerceOrderItemId
(long parentCommerceOrderItemId) Returns the number of commerce order items where parentCommerceOrderItemId = ?.int
countByUuid
(String uuid) Returns the number of commerce order items where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce order items where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of commerce order items where uuid = ? and groupId = ?.create
(long commerceOrderItemId) Creates a new commerce order item with the primary key.fetchByC_CPI_First
(long commerceOrderId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where commerceOrderId = ? and CPInstanceId = ?.fetchByC_CPI_Last
(long commerceOrderId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where commerceOrderId = ? and CPInstanceId = ?.fetchByC_S_First
(long commerceOrderId, boolean subscription, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where commerceOrderId = ? and subscription = ?.fetchByC_S_Last
(long commerceOrderId, boolean subscription, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where commerceOrderId = ? and subscription = ?.fetchByCommerceInventoryBookedQuantityId
(long commerceInventoryBookedQuantityId) Returns the commerce order item where commerceInventoryBookedQuantityId = ? or returnsnull
if it could not be found.fetchByCommerceInventoryBookedQuantityId
(long commerceInventoryBookedQuantityId, boolean useFinderCache) Returns the commerce order item where commerceInventoryBookedQuantityId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCommerceOrderId_First
(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where commerceOrderId = ?.fetchByCommerceOrderId_Last
(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where commerceOrderId = ?.fetchByCPInstanceId_First
(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where CPInstanceId = ?.fetchByCPInstanceId_Last
(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where CPInstanceId = ?.fetchByCProductId_First
(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where CProductId = ?.fetchByCProductId_Last
(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where CProductId = ?.fetchByCustomerCommerceOrderItemId_First
(long customerCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where customerCommerceOrderItemId = ?.fetchByCustomerCommerceOrderItemId_Last
(long customerCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where customerCommerceOrderItemId = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the commerce order item where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce order item where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByParentCommerceOrderItemId_First
(long parentCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where parentCommerceOrderItemId = ?.fetchByParentCommerceOrderItemId_Last
(long parentCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where parentCommerceOrderItemId = ?.fetchByPrimaryKey
(long commerceOrderItemId) Returns the commerce order item with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the commerce order item where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the commerce order item where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where uuid = ?.findAll()
Returns all the commerce order items.findAll
(int start, int end) Returns a range of all the commerce order items.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items.findByC_CPI
(long commerceOrderId, long CPInstanceId) Returns all the commerce order items where commerceOrderId = ? and CPInstanceId = ?.findByC_CPI
(long commerceOrderId, long CPInstanceId, int start, int end) Returns a range of all the commerce order items where commerceOrderId = ? and CPInstanceId = ?.findByC_CPI
(long commerceOrderId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where commerceOrderId = ? and CPInstanceId = ?.findByC_CPI
(long commerceOrderId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where commerceOrderId = ? and CPInstanceId = ?.findByC_CPI_First
(long commerceOrderId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where commerceOrderId = ? and CPInstanceId = ?.findByC_CPI_Last
(long commerceOrderId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where commerceOrderId = ? and CPInstanceId = ?.findByC_CPI_PrevAndNext
(long commerceOrderItemId, long commerceOrderId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the commerce order items before and after the current commerce order item in the ordered set where commerceOrderId = ? and CPInstanceId = ?.findByC_S
(long commerceOrderId, boolean subscription) Returns all the commerce order items where commerceOrderId = ? and subscription = ?.findByC_S
(long commerceOrderId, boolean subscription, int start, int end) Returns a range of all the commerce order items where commerceOrderId = ? and subscription = ?.findByC_S
(long commerceOrderId, boolean subscription, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where commerceOrderId = ? and subscription = ?.findByC_S
(long commerceOrderId, boolean subscription, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where commerceOrderId = ? and subscription = ?.findByC_S_First
(long commerceOrderId, boolean subscription, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where commerceOrderId = ? and subscription = ?.findByC_S_Last
(long commerceOrderId, boolean subscription, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where commerceOrderId = ? and subscription = ?.findByC_S_PrevAndNext
(long commerceOrderItemId, long commerceOrderId, boolean subscription, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the commerce order items before and after the current commerce order item in the ordered set where commerceOrderId = ? and subscription = ?.findByCommerceInventoryBookedQuantityId
(long commerceInventoryBookedQuantityId) Returns the commerce order item where commerceInventoryBookedQuantityId = ? or throws aNoSuchOrderItemException
if it could not be found.findByCommerceOrderId
(long commerceOrderId) Returns all the commerce order items where commerceOrderId = ?.findByCommerceOrderId
(long commerceOrderId, int start, int end) Returns a range of all the commerce order items where commerceOrderId = ?.findByCommerceOrderId
(long commerceOrderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where commerceOrderId = ?.findByCommerceOrderId
(long commerceOrderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where commerceOrderId = ?.findByCommerceOrderId_First
(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where commerceOrderId = ?.findByCommerceOrderId_Last
(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where commerceOrderId = ?.findByCommerceOrderId_PrevAndNext
(long commerceOrderItemId, long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the commerce order items before and after the current commerce order item in the ordered set where commerceOrderId = ?.findByCPInstanceId
(long CPInstanceId) Returns all the commerce order items where CPInstanceId = ?.findByCPInstanceId
(long CPInstanceId, int start, int end) Returns a range of all the commerce order items where CPInstanceId = ?.findByCPInstanceId
(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where CPInstanceId = ?.findByCPInstanceId
(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where CPInstanceId = ?.findByCPInstanceId_First
(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where CPInstanceId = ?.findByCPInstanceId_Last
(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where CPInstanceId = ?.findByCPInstanceId_PrevAndNext
(long commerceOrderItemId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the commerce order items before and after the current commerce order item in the ordered set where CPInstanceId = ?.findByCProductId
(long CProductId) Returns all the commerce order items where CProductId = ?.findByCProductId
(long CProductId, int start, int end) Returns a range of all the commerce order items where CProductId = ?.findByCProductId
(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where CProductId = ?.findByCProductId
(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where CProductId = ?.findByCProductId_First
(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where CProductId = ?.findByCProductId_Last
(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where CProductId = ?.findByCProductId_PrevAndNext
(long commerceOrderItemId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the commerce order items before and after the current commerce order item in the ordered set where CProductId = ?.findByCustomerCommerceOrderItemId
(long customerCommerceOrderItemId) Returns all the commerce order items where customerCommerceOrderItemId = ?.findByCustomerCommerceOrderItemId
(long customerCommerceOrderItemId, int start, int end) Returns a range of all the commerce order items where customerCommerceOrderItemId = ?.findByCustomerCommerceOrderItemId
(long customerCommerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where customerCommerceOrderItemId = ?.findByCustomerCommerceOrderItemId
(long customerCommerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where customerCommerceOrderItemId = ?.findByCustomerCommerceOrderItemId_First
(long customerCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where customerCommerceOrderItemId = ?.findByCustomerCommerceOrderItemId_Last
(long customerCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where customerCommerceOrderItemId = ?.findByCustomerCommerceOrderItemId_PrevAndNext
(long commerceOrderItemId, long customerCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the commerce order items before and after the current commerce order item in the ordered set where customerCommerceOrderItemId = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the commerce order item where externalReferenceCode = ? and companyId = ? or throws aNoSuchOrderItemException
if it could not be found.findByParentCommerceOrderItemId
(long parentCommerceOrderItemId) Returns all the commerce order items where parentCommerceOrderItemId = ?.findByParentCommerceOrderItemId
(long parentCommerceOrderItemId, int start, int end) Returns a range of all the commerce order items where parentCommerceOrderItemId = ?.findByParentCommerceOrderItemId
(long parentCommerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where parentCommerceOrderItemId = ?.findByParentCommerceOrderItemId
(long parentCommerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where parentCommerceOrderItemId = ?.findByParentCommerceOrderItemId_First
(long parentCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where parentCommerceOrderItemId = ?.findByParentCommerceOrderItemId_Last
(long parentCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where parentCommerceOrderItemId = ?.findByParentCommerceOrderItemId_PrevAndNext
(long commerceOrderItemId, long parentCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the commerce order items before and after the current commerce order item in the ordered set where parentCommerceOrderItemId = ?.findByPrimaryKey
(long commerceOrderItemId) Returns the commerce order item with the primary key or throws aNoSuchOrderItemException
if it could not be found.findByUuid
(String uuid) Returns all the commerce order items where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the commerce order items where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the commerce order items where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce order items where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long commerceOrderItemId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the commerce order items before and after the current commerce order item in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the commerce order item where uuid = ? and groupId = ? or throws aNoSuchOrderItemException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long commerceOrderItemId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the commerce order items before and after the current commerce order item in the ordered set where uuid = ?.remove
(long commerceOrderItemId) Removes the commerce order item with the primary key from the database.void
Removes all the commerce order items from the database.void
removeByC_CPI
(long commerceOrderId, long CPInstanceId) Removes all the commerce order items where commerceOrderId = ? and CPInstanceId = ? from the database.void
removeByC_S
(long commerceOrderId, boolean subscription) Removes all the commerce order items where commerceOrderId = ? and subscription = ? from the database.removeByCommerceInventoryBookedQuantityId
(long commerceInventoryBookedQuantityId) Removes the commerce order item where commerceInventoryBookedQuantityId = ? from the database.void
removeByCommerceOrderId
(long commerceOrderId) Removes all the commerce order items where commerceOrderId = ? from the database.void
removeByCPInstanceId
(long CPInstanceId) Removes all the commerce order items where CPInstanceId = ? from the database.void
removeByCProductId
(long CProductId) Removes all the commerce order items where CProductId = ? from the database.void
removeByCustomerCommerceOrderItemId
(long customerCommerceOrderItemId) Removes all the commerce order items where customerCommerceOrderItemId = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the commerce order item where externalReferenceCode = ? and companyId = ? from the database.void
removeByParentCommerceOrderItemId
(long parentCommerceOrderItemId) Removes all the commerce order items where parentCommerceOrderItemId = ? from the database.void
removeByUuid
(String uuid) Removes all the commerce order items where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce order items where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the commerce order item where uuid = ? and groupId = ? from the database.updateImpl
(CommerceOrderItem commerceOrderItem) 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
-
findByUuid
Returns all the commerce order items where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching commerce order items
-
findByUuid
Returns a range of all the commerce order items where uuid = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)- Returns:
- the range of matching commerce order items
-
findByUuid
List<CommerceOrderItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where uuid = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce order items
-
findByUuid
List<CommerceOrderItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where uuid = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order 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 order items
-
findByUuid_First
CommerceOrderItem findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the first commerce order item in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByUuid_First
CommerceOrderItem fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByUuid_Last
CommerceOrderItem findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the last commerce order item in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByUuid_Last
CommerceOrderItem fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByUuid_PrevAndNext
CommerceOrderItem[] findByUuid_PrevAndNext(long commerceOrderItemId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the commerce order items before and after the current commerce order item in the ordered set where uuid = ?.- Parameters:
commerceOrderItemId
- the primary key of the current commerce order itemuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order item
- Throws:
NoSuchOrderItemException
- if a commerce order item with the primary key could not be found
-
removeByUuid
Removes all the commerce order items where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of commerce order items where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching commerce order items
-
findByUUID_G
Returns the commerce order item where uuid = ? and groupId = ? or throws aNoSuchOrderItemException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByUUID_G
Returns the commerce order item where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce order item, or
null
if a matching commerce order item could not be found
-
fetchByUUID_G
Returns the commerce order item where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce order item, or
null
if a matching commerce order item could not be found
-
removeByUUID_G
Removes the commerce order item where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the commerce order item that was removed
- Throws:
NoSuchOrderItemException
-
countByUUID_G
Returns the number of commerce order items where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching commerce order items
-
findByUuid_C
Returns all the commerce order items where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching commerce order items
-
findByUuid_C
Returns a range of all the commerce order items where uuid = ? and companyId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)- Returns:
- the range of matching commerce order items
-
findByUuid_C
List<CommerceOrderItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where uuid = ? and companyId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce order items
-
findByUuid_C
List<CommerceOrderItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where uuid = ? and companyId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order 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 order items
-
findByUuid_C_First
CommerceOrderItem findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the first commerce order item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByUuid_C_First
CommerceOrderItem fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByUuid_C_Last
CommerceOrderItem findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the last commerce order item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByUuid_C_Last
CommerceOrderItem fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByUuid_C_PrevAndNext
CommerceOrderItem[] findByUuid_C_PrevAndNext(long commerceOrderItemId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the commerce order items before and after the current commerce order item in the ordered set where uuid = ? and companyId = ?.- Parameters:
commerceOrderItemId
- the primary key of the current commerce order itemuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order item
- Throws:
NoSuchOrderItemException
- if a commerce order item with the primary key could not be found
-
removeByUuid_C
Removes all the commerce order items where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of commerce order items where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching commerce order items
-
findByCommerceInventoryBookedQuantityId
CommerceOrderItem findByCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId) throws NoSuchOrderItemException Returns the commerce order item where commerceInventoryBookedQuantityId = ? or throws aNoSuchOrderItemException
if it could not be found.- Parameters:
commerceInventoryBookedQuantityId
- the commerce inventory booked quantity ID- Returns:
- the matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByCommerceInventoryBookedQuantityId
Returns the commerce order item where commerceInventoryBookedQuantityId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
commerceInventoryBookedQuantityId
- the commerce inventory booked quantity ID- Returns:
- the matching commerce order item, or
null
if a matching commerce order item could not be found
-
fetchByCommerceInventoryBookedQuantityId
CommerceOrderItem fetchByCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId, boolean useFinderCache) Returns the commerce order item where commerceInventoryBookedQuantityId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
commerceInventoryBookedQuantityId
- the commerce inventory booked quantity IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce order item, or
null
if a matching commerce order item could not be found
-
removeByCommerceInventoryBookedQuantityId
CommerceOrderItem removeByCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId) throws NoSuchOrderItemException Removes the commerce order item where commerceInventoryBookedQuantityId = ? from the database.- Parameters:
commerceInventoryBookedQuantityId
- the commerce inventory booked quantity ID- Returns:
- the commerce order item that was removed
- Throws:
NoSuchOrderItemException
-
countByCommerceInventoryBookedQuantityId
int countByCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId) Returns the number of commerce order items where commerceInventoryBookedQuantityId = ?.- Parameters:
commerceInventoryBookedQuantityId
- the commerce inventory booked quantity ID- Returns:
- the number of matching commerce order items
-
findByCommerceOrderId
Returns all the commerce order items where commerceOrderId = ?.- Parameters:
commerceOrderId
- the commerce order ID- Returns:
- the matching commerce order items
-
findByCommerceOrderId
Returns a range of all the commerce order items where commerceOrderId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
commerceOrderId
- the commerce order IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)- Returns:
- the range of matching commerce order items
-
findByCommerceOrderId
List<CommerceOrderItem> findByCommerceOrderId(long commerceOrderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where commerceOrderId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
commerceOrderId
- the commerce order IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce order items
-
findByCommerceOrderId
List<CommerceOrderItem> findByCommerceOrderId(long commerceOrderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where commerceOrderId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
commerceOrderId
- the commerce order IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order 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 order items
-
findByCommerceOrderId_First
CommerceOrderItem findByCommerceOrderId_First(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the first commerce order item in the ordered set where commerceOrderId = ?.- Parameters:
commerceOrderId
- the commerce order IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByCommerceOrderId_First
CommerceOrderItem fetchByCommerceOrderId_First(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where commerceOrderId = ?.- Parameters:
commerceOrderId
- the commerce order IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByCommerceOrderId_Last
CommerceOrderItem findByCommerceOrderId_Last(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the last commerce order item in the ordered set where commerceOrderId = ?.- Parameters:
commerceOrderId
- the commerce order IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByCommerceOrderId_Last
CommerceOrderItem fetchByCommerceOrderId_Last(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where commerceOrderId = ?.- Parameters:
commerceOrderId
- the commerce order IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByCommerceOrderId_PrevAndNext
CommerceOrderItem[] findByCommerceOrderId_PrevAndNext(long commerceOrderItemId, long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the commerce order items before and after the current commerce order item in the ordered set where commerceOrderId = ?.- Parameters:
commerceOrderItemId
- the primary key of the current commerce order itemcommerceOrderId
- the commerce order IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order item
- Throws:
NoSuchOrderItemException
- if a commerce order item with the primary key could not be found
-
removeByCommerceOrderId
void removeByCommerceOrderId(long commerceOrderId) Removes all the commerce order items where commerceOrderId = ? from the database.- Parameters:
commerceOrderId
- the commerce order ID
-
countByCommerceOrderId
int countByCommerceOrderId(long commerceOrderId) Returns the number of commerce order items where commerceOrderId = ?.- Parameters:
commerceOrderId
- the commerce order ID- Returns:
- the number of matching commerce order items
-
findByCPInstanceId
Returns all the commerce order items where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance ID- Returns:
- the matching commerce order items
-
findByCPInstanceId
Returns a range of all the commerce order items where CPInstanceId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
CPInstanceId
- the cp instance IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)- Returns:
- the range of matching commerce order items
-
findByCPInstanceId
List<CommerceOrderItem> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where CPInstanceId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
CPInstanceId
- the cp instance IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce order items
-
findByCPInstanceId
List<CommerceOrderItem> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where CPInstanceId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
CPInstanceId
- the cp instance IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order 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 order items
-
findByCPInstanceId_First
CommerceOrderItem findByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the first commerce order item in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByCPInstanceId_First
CommerceOrderItem fetchByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByCPInstanceId_Last
CommerceOrderItem findByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the last commerce order item in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByCPInstanceId_Last
CommerceOrderItem fetchByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByCPInstanceId_PrevAndNext
CommerceOrderItem[] findByCPInstanceId_PrevAndNext(long commerceOrderItemId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the commerce order items before and after the current commerce order item in the ordered set where CPInstanceId = ?.- Parameters:
commerceOrderItemId
- the primary key of the current commerce order itemCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order item
- Throws:
NoSuchOrderItemException
- if a commerce order item with the primary key could not be found
-
removeByCPInstanceId
void removeByCPInstanceId(long CPInstanceId) Removes all the commerce order items where CPInstanceId = ? from the database.- Parameters:
CPInstanceId
- the cp instance ID
-
countByCPInstanceId
int countByCPInstanceId(long CPInstanceId) Returns the number of commerce order items where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance ID- Returns:
- the number of matching commerce order items
-
findByCProductId
Returns all the commerce order items where CProductId = ?.- Parameters:
CProductId
- the c product ID- Returns:
- the matching commerce order items
-
findByCProductId
Returns a range of all the commerce order 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 fromCommerceOrderItemModelImpl
.- Parameters:
CProductId
- the c product IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)- Returns:
- the range of matching commerce order items
-
findByCProductId
List<CommerceOrderItem> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order 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 fromCommerceOrderItemModelImpl
.- Parameters:
CProductId
- the c product IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce order items
-
findByCProductId
List<CommerceOrderItem> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order 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 fromCommerceOrderItemModelImpl
.- Parameters:
CProductId
- the c product IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order 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 order items
-
findByCProductId_First
CommerceOrderItem findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the first commerce order 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 order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByCProductId_First
CommerceOrderItem fetchByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order 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 order item, or
null
if a matching commerce order item could not be found
-
findByCProductId_Last
CommerceOrderItem findByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the last commerce order 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 order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByCProductId_Last
CommerceOrderItem fetchByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order 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 order item, or
null
if a matching commerce order item could not be found
-
findByCProductId_PrevAndNext
CommerceOrderItem[] findByCProductId_PrevAndNext(long commerceOrderItemId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the commerce order items before and after the current commerce order item in the ordered set where CProductId = ?.- Parameters:
commerceOrderItemId
- the primary key of the current commerce order itemCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order item
- Throws:
NoSuchOrderItemException
- if a commerce order item with the primary key could not be found
-
removeByCProductId
void removeByCProductId(long CProductId) Removes all the commerce order items where CProductId = ? from the database.- Parameters:
CProductId
- the c product ID
-
countByCProductId
int countByCProductId(long CProductId) Returns the number of commerce order items where CProductId = ?.- Parameters:
CProductId
- the c product ID- Returns:
- the number of matching commerce order items
-
findByCustomerCommerceOrderItemId
Returns all the commerce order items where customerCommerceOrderItemId = ?.- Parameters:
customerCommerceOrderItemId
- the customer commerce order item ID- Returns:
- the matching commerce order items
-
findByCustomerCommerceOrderItemId
List<CommerceOrderItem> findByCustomerCommerceOrderItemId(long customerCommerceOrderItemId, int start, int end) Returns a range of all the commerce order items where customerCommerceOrderItemId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
customerCommerceOrderItemId
- the customer commerce order item IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)- Returns:
- the range of matching commerce order items
-
findByCustomerCommerceOrderItemId
List<CommerceOrderItem> findByCustomerCommerceOrderItemId(long customerCommerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where customerCommerceOrderItemId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
customerCommerceOrderItemId
- the customer commerce order item IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce order items
-
findByCustomerCommerceOrderItemId
List<CommerceOrderItem> findByCustomerCommerceOrderItemId(long customerCommerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where customerCommerceOrderItemId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
customerCommerceOrderItemId
- the customer commerce order item IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order 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 order items
-
findByCustomerCommerceOrderItemId_First
CommerceOrderItem findByCustomerCommerceOrderItemId_First(long customerCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the first commerce order item in the ordered set where customerCommerceOrderItemId = ?.- Parameters:
customerCommerceOrderItemId
- the customer commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByCustomerCommerceOrderItemId_First
CommerceOrderItem fetchByCustomerCommerceOrderItemId_First(long customerCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where customerCommerceOrderItemId = ?.- Parameters:
customerCommerceOrderItemId
- the customer commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByCustomerCommerceOrderItemId_Last
CommerceOrderItem findByCustomerCommerceOrderItemId_Last(long customerCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the last commerce order item in the ordered set where customerCommerceOrderItemId = ?.- Parameters:
customerCommerceOrderItemId
- the customer commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByCustomerCommerceOrderItemId_Last
CommerceOrderItem fetchByCustomerCommerceOrderItemId_Last(long customerCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where customerCommerceOrderItemId = ?.- Parameters:
customerCommerceOrderItemId
- the customer commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByCustomerCommerceOrderItemId_PrevAndNext
CommerceOrderItem[] findByCustomerCommerceOrderItemId_PrevAndNext(long commerceOrderItemId, long customerCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the commerce order items before and after the current commerce order item in the ordered set where customerCommerceOrderItemId = ?.- Parameters:
commerceOrderItemId
- the primary key of the current commerce order itemcustomerCommerceOrderItemId
- the customer commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order item
- Throws:
NoSuchOrderItemException
- if a commerce order item with the primary key could not be found
-
removeByCustomerCommerceOrderItemId
void removeByCustomerCommerceOrderItemId(long customerCommerceOrderItemId) Removes all the commerce order items where customerCommerceOrderItemId = ? from the database.- Parameters:
customerCommerceOrderItemId
- the customer commerce order item ID
-
countByCustomerCommerceOrderItemId
int countByCustomerCommerceOrderItemId(long customerCommerceOrderItemId) Returns the number of commerce order items where customerCommerceOrderItemId = ?.- Parameters:
customerCommerceOrderItemId
- the customer commerce order item ID- Returns:
- the number of matching commerce order items
-
findByParentCommerceOrderItemId
Returns all the commerce order items where parentCommerceOrderItemId = ?.- Parameters:
parentCommerceOrderItemId
- the parent commerce order item ID- Returns:
- the matching commerce order items
-
findByParentCommerceOrderItemId
List<CommerceOrderItem> findByParentCommerceOrderItemId(long parentCommerceOrderItemId, int start, int end) Returns a range of all the commerce order items where parentCommerceOrderItemId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
parentCommerceOrderItemId
- the parent commerce order item IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)- Returns:
- the range of matching commerce order items
-
findByParentCommerceOrderItemId
List<CommerceOrderItem> findByParentCommerceOrderItemId(long parentCommerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where parentCommerceOrderItemId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
parentCommerceOrderItemId
- the parent commerce order item IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce order items
-
findByParentCommerceOrderItemId
List<CommerceOrderItem> findByParentCommerceOrderItemId(long parentCommerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where parentCommerceOrderItemId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
parentCommerceOrderItemId
- the parent commerce order item IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order 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 order items
-
findByParentCommerceOrderItemId_First
CommerceOrderItem findByParentCommerceOrderItemId_First(long parentCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the first commerce order item in the ordered set where parentCommerceOrderItemId = ?.- Parameters:
parentCommerceOrderItemId
- the parent commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByParentCommerceOrderItemId_First
CommerceOrderItem fetchByParentCommerceOrderItemId_First(long parentCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where parentCommerceOrderItemId = ?.- Parameters:
parentCommerceOrderItemId
- the parent commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByParentCommerceOrderItemId_Last
CommerceOrderItem findByParentCommerceOrderItemId_Last(long parentCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the last commerce order item in the ordered set where parentCommerceOrderItemId = ?.- Parameters:
parentCommerceOrderItemId
- the parent commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByParentCommerceOrderItemId_Last
CommerceOrderItem fetchByParentCommerceOrderItemId_Last(long parentCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where parentCommerceOrderItemId = ?.- Parameters:
parentCommerceOrderItemId
- the parent commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByParentCommerceOrderItemId_PrevAndNext
CommerceOrderItem[] findByParentCommerceOrderItemId_PrevAndNext(long commerceOrderItemId, long parentCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the commerce order items before and after the current commerce order item in the ordered set where parentCommerceOrderItemId = ?.- Parameters:
commerceOrderItemId
- the primary key of the current commerce order itemparentCommerceOrderItemId
- the parent commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order item
- Throws:
NoSuchOrderItemException
- if a commerce order item with the primary key could not be found
-
removeByParentCommerceOrderItemId
void removeByParentCommerceOrderItemId(long parentCommerceOrderItemId) Removes all the commerce order items where parentCommerceOrderItemId = ? from the database.- Parameters:
parentCommerceOrderItemId
- the parent commerce order item ID
-
countByParentCommerceOrderItemId
int countByParentCommerceOrderItemId(long parentCommerceOrderItemId) Returns the number of commerce order items where parentCommerceOrderItemId = ?.- Parameters:
parentCommerceOrderItemId
- the parent commerce order item ID- Returns:
- the number of matching commerce order items
-
findByC_CPI
Returns all the commerce order items where commerceOrderId = ? and CPInstanceId = ?.- Parameters:
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance ID- Returns:
- the matching commerce order items
-
findByC_CPI
Returns a range of all the commerce order items where commerceOrderId = ? and CPInstanceId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)- Returns:
- the range of matching commerce order items
-
findByC_CPI
List<CommerceOrderItem> findByC_CPI(long commerceOrderId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where commerceOrderId = ? and CPInstanceId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce order items
-
findByC_CPI
List<CommerceOrderItem> findByC_CPI(long commerceOrderId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where commerceOrderId = ? and CPInstanceId = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance IDstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order 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 order items
-
findByC_CPI_First
CommerceOrderItem findByC_CPI_First(long commerceOrderId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the first commerce order item in the ordered set where commerceOrderId = ? and CPInstanceId = ?.- Parameters:
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByC_CPI_First
CommerceOrderItem fetchByC_CPI_First(long commerceOrderId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where commerceOrderId = ? and CPInstanceId = ?.- Parameters:
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByC_CPI_Last
CommerceOrderItem findByC_CPI_Last(long commerceOrderId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the last commerce order item in the ordered set where commerceOrderId = ? and CPInstanceId = ?.- Parameters:
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByC_CPI_Last
CommerceOrderItem fetchByC_CPI_Last(long commerceOrderId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where commerceOrderId = ? and CPInstanceId = ?.- Parameters:
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByC_CPI_PrevAndNext
CommerceOrderItem[] findByC_CPI_PrevAndNext(long commerceOrderItemId, long commerceOrderId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the commerce order items before and after the current commerce order item in the ordered set where commerceOrderId = ? and CPInstanceId = ?.- Parameters:
commerceOrderItemId
- the primary key of the current commerce order itemcommerceOrderId
- the commerce order IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order item
- Throws:
NoSuchOrderItemException
- if a commerce order item with the primary key could not be found
-
removeByC_CPI
void removeByC_CPI(long commerceOrderId, long CPInstanceId) Removes all the commerce order items where commerceOrderId = ? and CPInstanceId = ? from the database.- Parameters:
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance ID
-
countByC_CPI
int countByC_CPI(long commerceOrderId, long CPInstanceId) Returns the number of commerce order items where commerceOrderId = ? and CPInstanceId = ?.- Parameters:
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance ID- Returns:
- the number of matching commerce order items
-
findByC_S
Returns all the commerce order items where commerceOrderId = ? and subscription = ?.- Parameters:
commerceOrderId
- the commerce order IDsubscription
- the subscription- Returns:
- the matching commerce order items
-
findByC_S
Returns a range of all the commerce order items where commerceOrderId = ? and subscription = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
commerceOrderId
- the commerce order IDsubscription
- the subscriptionstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)- Returns:
- the range of matching commerce order items
-
findByC_S
List<CommerceOrderItem> findByC_S(long commerceOrderId, boolean subscription, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order items where commerceOrderId = ? and subscription = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
commerceOrderId
- the commerce order IDsubscription
- the subscriptionstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce order items
-
findByC_S
List<CommerceOrderItem> findByC_S(long commerceOrderId, boolean subscription, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order items where commerceOrderId = ? and subscription = ?.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 fromCommerceOrderItemModelImpl
.- Parameters:
commerceOrderId
- the commerce order IDsubscription
- the subscriptionstart
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order 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 order items
-
findByC_S_First
CommerceOrderItem findByC_S_First(long commerceOrderId, boolean subscription, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the first commerce order item in the ordered set where commerceOrderId = ? and subscription = ?.- Parameters:
commerceOrderId
- the commerce order IDsubscription
- the subscriptionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByC_S_First
CommerceOrderItem fetchByC_S_First(long commerceOrderId, boolean subscription, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the first commerce order item in the ordered set where commerceOrderId = ? and subscription = ?.- Parameters:
commerceOrderId
- the commerce order IDsubscription
- the subscriptionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByC_S_Last
CommerceOrderItem findByC_S_Last(long commerceOrderId, boolean subscription, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the last commerce order item in the ordered set where commerceOrderId = ? and subscription = ?.- Parameters:
commerceOrderId
- the commerce order IDsubscription
- the subscriptionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByC_S_Last
CommerceOrderItem fetchByC_S_Last(long commerceOrderId, boolean subscription, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns the last commerce order item in the ordered set where commerceOrderId = ? and subscription = ?.- Parameters:
commerceOrderId
- the commerce order IDsubscription
- the subscriptionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order item, or
null
if a matching commerce order item could not be found
-
findByC_S_PrevAndNext
CommerceOrderItem[] findByC_S_PrevAndNext(long commerceOrderItemId, long commerceOrderId, boolean subscription, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException Returns the commerce order items before and after the current commerce order item in the ordered set where commerceOrderId = ? and subscription = ?.- Parameters:
commerceOrderItemId
- the primary key of the current commerce order itemcommerceOrderId
- the commerce order IDsubscription
- the subscriptionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order item
- Throws:
NoSuchOrderItemException
- if a commerce order item with the primary key could not be found
-
removeByC_S
void removeByC_S(long commerceOrderId, boolean subscription) Removes all the commerce order items where commerceOrderId = ? and subscription = ? from the database.- Parameters:
commerceOrderId
- the commerce order IDsubscription
- the subscription
-
countByC_S
int countByC_S(long commerceOrderId, boolean subscription) Returns the number of commerce order items where commerceOrderId = ? and subscription = ?.- Parameters:
commerceOrderId
- the commerce order IDsubscription
- the subscription- Returns:
- the number of matching commerce order items
-
findByERC_C
CommerceOrderItem findByERC_C(String externalReferenceCode, long companyId) throws NoSuchOrderItemException Returns the commerce order item where externalReferenceCode = ? and companyId = ? or throws aNoSuchOrderItemException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce order item
- Throws:
NoSuchOrderItemException
- if a matching commerce order item could not be found
-
fetchByERC_C
Returns the commerce order item where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce order item, or
null
if a matching commerce order item could not be found
-
fetchByERC_C
CommerceOrderItem fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce order item where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce order item, or
null
if a matching commerce order item could not be found
-
removeByERC_C
CommerceOrderItem removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchOrderItemException Removes the commerce order item where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the commerce order item that was removed
- Throws:
NoSuchOrderItemException
-
countByERC_C
Returns the number of commerce order items where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching commerce order items
-
cacheResult
Caches the commerce order item in the entity cache if it is enabled.- Parameters:
commerceOrderItem
- the commerce order item
-
cacheResult
Caches the commerce order items in the entity cache if it is enabled.- Parameters:
commerceOrderItems
- the commerce order items
-
create
Creates a new commerce order item with the primary key. Does not add the commerce order item to the database.- Parameters:
commerceOrderItemId
- the primary key for the new commerce order item- Returns:
- the new commerce order item
-
remove
Removes the commerce order item with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceOrderItemId
- the primary key of the commerce order item- Returns:
- the commerce order item that was removed
- Throws:
NoSuchOrderItemException
- if a commerce order item with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the commerce order item with the primary key or throws aNoSuchOrderItemException
if it could not be found.- Parameters:
commerceOrderItemId
- the primary key of the commerce order item- Returns:
- the commerce order item
- Throws:
NoSuchOrderItemException
- if a commerce order item with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce order item with the primary key or returnsnull
if it could not be found.- Parameters:
commerceOrderItemId
- the primary key of the commerce order item- Returns:
- the commerce order item, or
null
if a commerce order item with the primary key could not be found
-
findAll
List<CommerceOrderItem> findAll()Returns all the commerce order items.- Returns:
- the commerce order items
-
findAll
Returns a range of all the commerce order 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 fromCommerceOrderItemModelImpl
.- Parameters:
start
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)- Returns:
- the range of commerce order items
-
findAll
List<CommerceOrderItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) Returns an ordered range of all the commerce order 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 fromCommerceOrderItemModelImpl
.- Parameters:
start
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of commerce order items
-
findAll
List<CommerceOrderItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order 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 fromCommerceOrderItemModelImpl
.- Parameters:
start
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order 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 order items
-
removeAll
void removeAll()Removes all the commerce order items from the database. -
countAll
int countAll()Returns the number of commerce order items.- Returns:
- the number of commerce order items
-