@ProviderType public interface CommerceOrderItemPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrderItem>
Caching information and settings can be found in portal.properties
CommerceOrderItemUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceOrderItem commerceOrderItem)
Caches the commerce order item in the entity cache if it is enabled.
|
void |
cacheResult(java.util.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(java.lang.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_C(java.lang.String uuid,
long companyId)
Returns the number of commerce order items where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce order items where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce order items where uuid = ?.
|
CommerceOrderItem |
create(long commerceOrderItemId)
Creates a new commerce order item with the primary key.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
CommerceOrderItem |
fetchByCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId)
Returns the commerce order item where commerceInventoryBookedQuantityId = ? or returns
null if it could not be found. |
CommerceOrderItem |
fetchByCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId,
boolean useFinderCache)
Returns the commerce order item where commerceInventoryBookedQuantityId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
CommerceOrderItem |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce order item where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
CommerceOrderItem |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the commerce order item where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
CommerceOrderItem |
fetchByPrimaryKey(long commerceOrderItemId)
Returns the commerce order item with the primary key or returns
null if it could not be found. |
CommerceOrderItem |
fetchByUuid_C_First(java.lang.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 = ?.
|
CommerceOrderItem |
fetchByUuid_C_Last(java.lang.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 = ?.
|
CommerceOrderItem |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Returns the first commerce order item in the ordered set where uuid = ?.
|
CommerceOrderItem |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce order item where uuid = ? and groupId = ? or returns
null if it could not be found. |
CommerceOrderItem |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the commerce order item where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceOrderItem |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Returns the last commerce order item in the ordered set where uuid = ?.
|
java.util.List<CommerceOrderItem> |
findAll()
Returns all the commerce order items.
|
java.util.List<CommerceOrderItem> |
findAll(int start,
int end)
Returns a range of all the commerce order items.
|
java.util.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.
|
java.util.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.
|
CommerceOrderItem |
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 = ?.
|
CommerceOrderItem |
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 = ?.
|
CommerceOrderItem[] |
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 = ?.
|
java.util.List<CommerceOrderItem> |
findByC_CPI(long commerceOrderId,
long CPInstanceId)
Returns all the commerce order items where commerceOrderId = ? and CPInstanceId = ?.
|
java.util.List<CommerceOrderItem> |
findByC_CPI(long commerceOrderId,
long CPInstanceId,
int start,
int end)
Returns a range of all the commerce order items where commerceOrderId = ? and CPInstanceId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceOrderItem |
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 = ?.
|
CommerceOrderItem |
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 = ?.
|
CommerceOrderItem[] |
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 = ?.
|
java.util.List<CommerceOrderItem> |
findByC_S(long commerceOrderId,
boolean subscription)
Returns all the commerce order items where commerceOrderId = ? and subscription = ?.
|
java.util.List<CommerceOrderItem> |
findByC_S(long commerceOrderId,
boolean subscription,
int start,
int end)
Returns a range of all the commerce order items where commerceOrderId = ? and subscription = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceOrderItem |
findByCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId)
Returns the commerce order item where commerceInventoryBookedQuantityId = ? or throws a
NoSuchOrderItemException if it could not be found. |
CommerceOrderItem |
findByCommerceOrderId_First(long commerceOrderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Returns the first commerce order item in the ordered set where commerceOrderId = ?.
|
CommerceOrderItem |
findByCommerceOrderId_Last(long commerceOrderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Returns the last commerce order item in the ordered set where commerceOrderId = ?.
|
CommerceOrderItem[] |
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 = ?.
|
java.util.List<CommerceOrderItem> |
findByCommerceOrderId(long commerceOrderId)
Returns all the commerce order items where commerceOrderId = ?.
|
java.util.List<CommerceOrderItem> |
findByCommerceOrderId(long commerceOrderId,
int start,
int end)
Returns a range of all the commerce order items where commerceOrderId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceOrderItem |
findByCPInstanceId_First(long CPInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Returns the first commerce order item in the ordered set where CPInstanceId = ?.
|
CommerceOrderItem |
findByCPInstanceId_Last(long CPInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Returns the last commerce order item in the ordered set where CPInstanceId = ?.
|
CommerceOrderItem[] |
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 = ?.
|
java.util.List<CommerceOrderItem> |
findByCPInstanceId(long CPInstanceId)
Returns all the commerce order items where CPInstanceId = ?.
|
java.util.List<CommerceOrderItem> |
findByCPInstanceId(long CPInstanceId,
int start,
int end)
Returns a range of all the commerce order items where CPInstanceId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceOrderItem |
findByCProductId_First(long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Returns the first commerce order item in the ordered set where CProductId = ?.
|
CommerceOrderItem |
findByCProductId_Last(long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Returns the last commerce order item in the ordered set where CProductId = ?.
|
CommerceOrderItem[] |
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 = ?.
|
java.util.List<CommerceOrderItem> |
findByCProductId(long CProductId)
Returns all the commerce order items where CProductId = ?.
|
java.util.List<CommerceOrderItem> |
findByCProductId(long CProductId,
int start,
int end)
Returns a range of all the commerce order items where CProductId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceOrderItem |
findByCustomerCommerceOrderItemId_First(long customerCommerceOrderItemId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Returns the first commerce order item in the ordered set where customerCommerceOrderItemId = ?.
|
CommerceOrderItem |
findByCustomerCommerceOrderItemId_Last(long customerCommerceOrderItemId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Returns the last commerce order item in the ordered set where customerCommerceOrderItemId = ?.
|
CommerceOrderItem[] |
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 = ?.
|
java.util.List<CommerceOrderItem> |
findByCustomerCommerceOrderItemId(long customerCommerceOrderItemId)
Returns all the commerce order items where customerCommerceOrderItemId = ?.
|
java.util.List<CommerceOrderItem> |
findByCustomerCommerceOrderItemId(long customerCommerceOrderItemId,
int start,
int end)
Returns a range of all the commerce order items where customerCommerceOrderItemId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceOrderItem |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce order item where externalReferenceCode = ? and companyId = ? or throws a
NoSuchOrderItemException if it could not be found. |
CommerceOrderItem |
findByParentCommerceOrderItemId_First(long parentCommerceOrderItemId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Returns the first commerce order item in the ordered set where parentCommerceOrderItemId = ?.
|
CommerceOrderItem |
findByParentCommerceOrderItemId_Last(long parentCommerceOrderItemId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Returns the last commerce order item in the ordered set where parentCommerceOrderItemId = ?.
|
CommerceOrderItem[] |
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 = ?.
|
java.util.List<CommerceOrderItem> |
findByParentCommerceOrderItemId(long parentCommerceOrderItemId)
Returns all the commerce order items where parentCommerceOrderItemId = ?.
|
java.util.List<CommerceOrderItem> |
findByParentCommerceOrderItemId(long parentCommerceOrderItemId,
int start,
int end)
Returns a range of all the commerce order items where parentCommerceOrderItemId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceOrderItem |
findByPrimaryKey(long commerceOrderItemId)
Returns the commerce order item with the primary key or throws a
NoSuchOrderItemException if it could not be found. |
CommerceOrderItem |
findByUuid_C_First(java.lang.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 = ?.
|
CommerceOrderItem |
findByUuid_C_Last(java.lang.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 = ?.
|
CommerceOrderItem[] |
findByUuid_C_PrevAndNext(long commerceOrderItemId,
java.lang.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 = ?.
|
java.util.List<CommerceOrderItem> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce order items where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderItem> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce order items where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderItem> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<CommerceOrderItem> |
findByUuid_C(java.lang.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 = ?.
|
CommerceOrderItem |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Returns the first commerce order item in the ordered set where uuid = ?.
|
CommerceOrderItem |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce order item where uuid = ? and groupId = ? or throws a
NoSuchOrderItemException if it could not be found. |
CommerceOrderItem |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Returns the last commerce order item in the ordered set where uuid = ?.
|
CommerceOrderItem[] |
findByUuid_PrevAndNext(long commerceOrderItemId,
java.lang.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 = ?.
|
java.util.List<CommerceOrderItem> |
findByUuid(java.lang.String uuid)
Returns all the commerce order items where uuid = ?.
|
java.util.List<CommerceOrderItem> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce order items where uuid = ?.
|
java.util.List<CommerceOrderItem> |
findByUuid(java.lang.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 = ?.
|
java.util.List<CommerceOrderItem> |
findByUuid(java.lang.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 = ?.
|
CommerceOrderItem |
remove(long commerceOrderItemId)
Removes the commerce order item with the primary key from the database.
|
void |
removeAll()
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.
|
CommerceOrderItem |
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.
|
CommerceOrderItem |
removeByERC_C(java.lang.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_C(java.lang.String uuid,
long companyId)
Removes all the commerce order items where uuid = ? and companyId = ? from the database.
|
CommerceOrderItem |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce order item where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce order items where uuid = ? from the database.
|
CommerceOrderItem |
updateImpl(CommerceOrderItem commerceOrderItem) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CommerceOrderItem> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceOrderItem> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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)java.util.List<CommerceOrderItem> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)java.util.List<CommerceOrderItem> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderItem findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem[] findByUuid_PrevAndNext(long commerceOrderItemId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
commerceOrderItemId
- the primary key of the current commerce order itemuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a commerce order item with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCommerceOrderItem findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchOrderItemException
NoSuchOrderItemException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching commerce order item could not be foundCommerceOrderItem fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce order item could not be foundCommerceOrderItem removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchOrderItemException
uuid
- the uuidgroupId
- the group IDNoSuchOrderItemException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<CommerceOrderItem> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceOrderItem> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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)java.util.List<CommerceOrderItem> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)java.util.List<CommerceOrderItem> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderItem findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem[] findByUuid_C_PrevAndNext(long commerceOrderItemId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
commerceOrderItemId
- the primary key of the current commerce order itemuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a commerce order item with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDCommerceOrderItem findByCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId) throws NoSuchOrderItemException
NoSuchOrderItemException
if it could not be found.commerceInventoryBookedQuantityId
- the commerce inventory booked quantity IDNoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId)
null
if it could not be found. Uses the finder cache.commerceInventoryBookedQuantityId
- the commerce inventory booked quantity IDnull
if a matching commerce order item could not be foundCommerceOrderItem fetchByCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commerceInventoryBookedQuantityId
- the commerce inventory booked quantity IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce order item could not be foundCommerceOrderItem removeByCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId) throws NoSuchOrderItemException
commerceInventoryBookedQuantityId
- the commerce inventory booked quantity IDNoSuchOrderItemException
int countByCommerceInventoryBookedQuantityId(long commerceInventoryBookedQuantityId)
commerceInventoryBookedQuantityId
- the commerce inventory booked quantity IDjava.util.List<CommerceOrderItem> findByCommerceOrderId(long commerceOrderId)
commerceOrderId
- the commerce order IDjava.util.List<CommerceOrderItem> findByCommerceOrderId(long commerceOrderId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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)java.util.List<CommerceOrderItem> findByCommerceOrderId(long commerceOrderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)java.util.List<CommerceOrderItem> findByCommerceOrderId(long commerceOrderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderItem findByCommerceOrderId_First(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
commerceOrderId
- the commerce order IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByCommerceOrderId_First(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
commerceOrderId
- the commerce order IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem findByCommerceOrderId_Last(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
commerceOrderId
- the commerce order IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByCommerceOrderId_Last(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
commerceOrderId
- the commerce order IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem[] findByCommerceOrderId_PrevAndNext(long commerceOrderItemId, long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
commerceOrderItemId
- the primary key of the current commerce order itemcommerceOrderId
- the commerce order IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a commerce order item with the primary key could not be foundvoid removeByCommerceOrderId(long commerceOrderId)
commerceOrderId
- the commerce order IDint countByCommerceOrderId(long commerceOrderId)
commerceOrderId
- the commerce order IDjava.util.List<CommerceOrderItem> findByCPInstanceId(long CPInstanceId)
CPInstanceId
- the cp instance IDjava.util.List<CommerceOrderItem> findByCPInstanceId(long CPInstanceId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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)java.util.List<CommerceOrderItem> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)java.util.List<CommerceOrderItem> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderItem findByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem findByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem[] findByCPInstanceId_PrevAndNext(long commerceOrderItemId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
commerceOrderItemId
- the primary key of the current commerce order itemCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a commerce order item with the primary key could not be foundvoid removeByCPInstanceId(long CPInstanceId)
CPInstanceId
- the cp instance IDint countByCPInstanceId(long CPInstanceId)
CPInstanceId
- the cp instance IDjava.util.List<CommerceOrderItem> findByCProductId(long CProductId)
CProductId
- the c product IDjava.util.List<CommerceOrderItem> findByCProductId(long CProductId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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)java.util.List<CommerceOrderItem> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)java.util.List<CommerceOrderItem> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderItem findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem findByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
CProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem[] findByCProductId_PrevAndNext(long commerceOrderItemId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
commerceOrderItemId
- the primary key of the current commerce order itemCProductId
- the c product IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a commerce order item with the primary key could not be foundvoid removeByCProductId(long CProductId)
CProductId
- the c product IDint countByCProductId(long CProductId)
CProductId
- the c product IDjava.util.List<CommerceOrderItem> findByCustomerCommerceOrderItemId(long customerCommerceOrderItemId)
customerCommerceOrderItemId
- the customer commerce order item IDjava.util.List<CommerceOrderItem> findByCustomerCommerceOrderItemId(long customerCommerceOrderItemId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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)java.util.List<CommerceOrderItem> findByCustomerCommerceOrderItemId(long customerCommerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)java.util.List<CommerceOrderItem> findByCustomerCommerceOrderItemId(long customerCommerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderItem findByCustomerCommerceOrderItemId_First(long customerCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
customerCommerceOrderItemId
- the customer commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByCustomerCommerceOrderItemId_First(long customerCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
customerCommerceOrderItemId
- the customer commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem findByCustomerCommerceOrderItemId_Last(long customerCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
customerCommerceOrderItemId
- the customer commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByCustomerCommerceOrderItemId_Last(long customerCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
customerCommerceOrderItemId
- the customer commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem[] findByCustomerCommerceOrderItemId_PrevAndNext(long commerceOrderItemId, long customerCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
commerceOrderItemId
- the primary key of the current commerce order itemcustomerCommerceOrderItemId
- the customer commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a commerce order item with the primary key could not be foundvoid removeByCustomerCommerceOrderItemId(long customerCommerceOrderItemId)
customerCommerceOrderItemId
- the customer commerce order item IDint countByCustomerCommerceOrderItemId(long customerCommerceOrderItemId)
customerCommerceOrderItemId
- the customer commerce order item IDjava.util.List<CommerceOrderItem> findByParentCommerceOrderItemId(long parentCommerceOrderItemId)
parentCommerceOrderItemId
- the parent commerce order item IDjava.util.List<CommerceOrderItem> findByParentCommerceOrderItemId(long parentCommerceOrderItemId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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)java.util.List<CommerceOrderItem> findByParentCommerceOrderItemId(long parentCommerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)java.util.List<CommerceOrderItem> findByParentCommerceOrderItemId(long parentCommerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderItem findByParentCommerceOrderItemId_First(long parentCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
parentCommerceOrderItemId
- the parent commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByParentCommerceOrderItemId_First(long parentCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
parentCommerceOrderItemId
- the parent commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem findByParentCommerceOrderItemId_Last(long parentCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
parentCommerceOrderItemId
- the parent commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByParentCommerceOrderItemId_Last(long parentCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
parentCommerceOrderItemId
- the parent commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem[] findByParentCommerceOrderItemId_PrevAndNext(long commerceOrderItemId, long parentCommerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
commerceOrderItemId
- the primary key of the current commerce order itemparentCommerceOrderItemId
- the parent commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a commerce order item with the primary key could not be foundvoid removeByParentCommerceOrderItemId(long parentCommerceOrderItemId)
parentCommerceOrderItemId
- the parent commerce order item IDint countByParentCommerceOrderItemId(long parentCommerceOrderItemId)
parentCommerceOrderItemId
- the parent commerce order item IDjava.util.List<CommerceOrderItem> findByC_CPI(long commerceOrderId, long CPInstanceId)
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance IDjava.util.List<CommerceOrderItem> findByC_CPI(long commerceOrderId, long CPInstanceId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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)java.util.List<CommerceOrderItem> findByC_CPI(long commerceOrderId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)java.util.List<CommerceOrderItem> findByC_CPI(long commerceOrderId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderItem findByC_CPI_First(long commerceOrderId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByC_CPI_First(long commerceOrderId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem findByC_CPI_Last(long commerceOrderId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByC_CPI_Last(long commerceOrderId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem[] findByC_CPI_PrevAndNext(long commerceOrderItemId, long commerceOrderId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
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 (optionally null
)NoSuchOrderItemException
- if a commerce order item with the primary key could not be foundvoid removeByC_CPI(long commerceOrderId, long CPInstanceId)
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance IDint countByC_CPI(long commerceOrderId, long CPInstanceId)
commerceOrderId
- the commerce order IDCPInstanceId
- the cp instance IDjava.util.List<CommerceOrderItem> findByC_S(long commerceOrderId, boolean subscription)
commerceOrderId
- the commerce order IDsubscription
- the subscriptionjava.util.List<CommerceOrderItem> findByC_S(long commerceOrderId, boolean subscription, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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)java.util.List<CommerceOrderItem> findByC_S(long commerceOrderId, boolean subscription, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)java.util.List<CommerceOrderItem> findByC_S(long commerceOrderId, boolean subscription, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderItem findByC_S_First(long commerceOrderId, boolean subscription, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
commerceOrderId
- the commerce order IDsubscription
- the subscriptionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByC_S_First(long commerceOrderId, boolean subscription, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
commerceOrderId
- the commerce order IDsubscription
- the subscriptionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem findByC_S_Last(long commerceOrderId, boolean subscription, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
commerceOrderId
- the commerce order IDsubscription
- the subscriptionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByC_S_Last(long commerceOrderId, boolean subscription, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
commerceOrderId
- the commerce order IDsubscription
- the subscriptionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order item could not be foundCommerceOrderItem[] findByC_S_PrevAndNext(long commerceOrderItemId, long commerceOrderId, boolean subscription, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator) throws NoSuchOrderItemException
commerceOrderItemId
- the primary key of the current commerce order itemcommerceOrderId
- the commerce order IDsubscription
- the subscriptionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderItemException
- if a commerce order item with the primary key could not be foundvoid removeByC_S(long commerceOrderId, boolean subscription)
commerceOrderId
- the commerce order IDsubscription
- the subscriptionint countByC_S(long commerceOrderId, boolean subscription)
commerceOrderId
- the commerce order IDsubscription
- the subscriptionCommerceOrderItem findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchOrderItemException
NoSuchOrderItemException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchOrderItemException
- if a matching commerce order item could not be foundCommerceOrderItem fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching commerce order item could not be foundCommerceOrderItem fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce order item could not be foundCommerceOrderItem removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchOrderItemException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchOrderItemException
int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDvoid cacheResult(CommerceOrderItem commerceOrderItem)
commerceOrderItem
- the commerce order itemvoid cacheResult(java.util.List<CommerceOrderItem> commerceOrderItems)
commerceOrderItems
- the commerce order itemsCommerceOrderItem create(long commerceOrderItemId)
commerceOrderItemId
- the primary key for the new commerce order itemCommerceOrderItem remove(long commerceOrderItemId) throws NoSuchOrderItemException
commerceOrderItemId
- the primary key of the commerce order itemNoSuchOrderItemException
- if a commerce order item with the primary key could not be foundCommerceOrderItem updateImpl(CommerceOrderItem commerceOrderItem)
CommerceOrderItem findByPrimaryKey(long commerceOrderItemId) throws NoSuchOrderItemException
NoSuchOrderItemException
if it could not be found.commerceOrderItemId
- the primary key of the commerce order itemNoSuchOrderItemException
- if a commerce order item with the primary key could not be foundCommerceOrderItem fetchByPrimaryKey(long commerceOrderItemId)
null
if it could not be found.commerceOrderItemId
- the primary key of the commerce order itemnull
if a commerce order item with the primary key could not be foundjava.util.List<CommerceOrderItem> findAll()
java.util.List<CommerceOrderItem> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
start
- the lower bound of the range of commerce order itemsend
- the upper bound of the range of commerce order items (not inclusive)java.util.List<CommerceOrderItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)java.util.List<CommerceOrderItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceOrderItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()