@ProviderType public interface CommerceOrderPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrder>
Caching information and settings can be found in portal.properties
CommerceOrderUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceOrder commerceOrder)
Caches the commerce order in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceOrder> commerceOrders)
Caches the commerce orders in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce orders.
|
int |
countByBillingAddressId(long billingAddressId)
Returns the number of commerce orders where billingAddressId = ?.
|
int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of commerce orders where companyId = ? and externalReferenceCode = ?.
|
int |
countByC_LtC_O(java.util.Date createDate,
long commerceAccountId,
int orderStatus)
Returns the number of commerce orders where createDate < ? and commerceAccountId = ? and orderStatus = ?.
|
int |
countByCommerceAccountId(long commerceAccountId)
Returns the number of commerce orders where commerceAccountId = ?.
|
int |
countByG_C_O(long groupId,
long commerceAccountId,
int orderStatus)
Returns the number of commerce orders where groupId = ? and commerceAccountId = ? and orderStatus = ?.
|
int |
countByG_C(long groupId,
long commerceAccountId)
Returns the number of commerce orders where groupId = ? and commerceAccountId = ?.
|
int |
countByG_CP(long groupId,
java.lang.String commercePaymentMethodKey)
Returns the number of commerce orders where groupId = ? and commercePaymentMethodKey = ?.
|
int |
countByG_U_O(long groupId,
long userId,
int orderStatus)
Returns the number of commerce orders where groupId = ? and userId = ? and orderStatus = ?.
|
int |
countByGroupId(long groupId)
Returns the number of commerce orders where groupId = ?.
|
int |
countByShippingAddressId(long shippingAddressId)
Returns the number of commerce orders where shippingAddressId = ?.
|
int |
countByU_LtC_O(long userId,
java.util.Date createDate,
int orderStatus)
Returns the number of commerce orders where userId = ? and createDate < ? and orderStatus = ?.
|
int |
countByUserId(long userId)
Returns the number of commerce orders where userId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce orders where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce orders where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce orders where uuid = ?.
|
CommerceOrder |
create(long commerceOrderId)
Creates a new commerce order with the primary key.
|
CommerceOrder |
fetchByBillingAddressId_First(long billingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where billingAddressId = ?.
|
CommerceOrder |
fetchByBillingAddressId_Last(long billingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where billingAddressId = ?.
|
CommerceOrder |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce order where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
CommerceOrder |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the commerce order where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceOrder |
fetchByC_LtC_O_First(java.util.Date createDate,
long commerceAccountId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where createDate < ? and commerceAccountId = ? and orderStatus = ?.
|
CommerceOrder |
fetchByC_LtC_O_Last(java.util.Date createDate,
long commerceAccountId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where createDate < ? and commerceAccountId = ? and orderStatus = ?.
|
CommerceOrder |
fetchByCommerceAccountId_First(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where commerceAccountId = ?.
|
CommerceOrder |
fetchByCommerceAccountId_Last(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where commerceAccountId = ?.
|
CommerceOrder |
fetchByG_C_First(long groupId,
long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ? and commerceAccountId = ?.
|
CommerceOrder |
fetchByG_C_Last(long groupId,
long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ? and commerceAccountId = ?.
|
CommerceOrder |
fetchByG_C_O_First(long groupId,
long commerceAccountId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ? and commerceAccountId = ? and orderStatus = ?.
|
CommerceOrder |
fetchByG_C_O_Last(long groupId,
long commerceAccountId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ? and commerceAccountId = ? and orderStatus = ?.
|
CommerceOrder |
fetchByG_CP_First(long groupId,
java.lang.String commercePaymentMethodKey,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ? and commercePaymentMethodKey = ?.
|
CommerceOrder |
fetchByG_CP_Last(long groupId,
java.lang.String commercePaymentMethodKey,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ? and commercePaymentMethodKey = ?.
|
CommerceOrder |
fetchByG_U_O_First(long groupId,
long userId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ? and userId = ? and orderStatus = ?.
|
CommerceOrder |
fetchByG_U_O_Last(long groupId,
long userId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ? and userId = ? and orderStatus = ?.
|
CommerceOrder |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ?.
|
CommerceOrder |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ?.
|
CommerceOrder |
fetchByPrimaryKey(long commerceOrderId)
Returns the commerce order with the primary key or returns
null if it could not be found. |
CommerceOrder |
fetchByShippingAddressId_First(long shippingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where shippingAddressId = ?.
|
CommerceOrder |
fetchByShippingAddressId_Last(long shippingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where shippingAddressId = ?.
|
CommerceOrder |
fetchByU_LtC_O_First(long userId,
java.util.Date createDate,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where userId = ? and createDate < ? and orderStatus = ?.
|
CommerceOrder |
fetchByU_LtC_O_Last(long userId,
java.util.Date createDate,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where userId = ? and createDate < ? and orderStatus = ?.
|
CommerceOrder |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where userId = ?.
|
CommerceOrder |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where userId = ?.
|
CommerceOrder |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrder |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrder |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where uuid = ?.
|
CommerceOrder |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce order where uuid = ? and groupId = ? or returns
null if it could not be found. |
CommerceOrder |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the commerce order where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceOrder |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where uuid = ?.
|
java.util.List<CommerceOrder> |
findAll()
Returns all the commerce orders.
|
java.util.List<CommerceOrder> |
findAll(int start,
int end)
Returns a range of all the commerce orders.
|
java.util.List<CommerceOrder> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders.
|
java.util.List<CommerceOrder> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce orders.
|
CommerceOrder |
findByBillingAddressId_First(long billingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where billingAddressId = ?.
|
CommerceOrder |
findByBillingAddressId_Last(long billingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where billingAddressId = ?.
|
CommerceOrder[] |
findByBillingAddressId_PrevAndNext(long commerceOrderId,
long billingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where billingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByBillingAddressId(long billingAddressId)
Returns all the commerce orders where billingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByBillingAddressId(long billingAddressId,
int start,
int end)
Returns a range of all the commerce orders where billingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByBillingAddressId(long billingAddressId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where billingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByBillingAddressId(long billingAddressId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce orders where billingAddressId = ?.
|
CommerceOrder |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce order where companyId = ? and externalReferenceCode = ? or throws a
NoSuchOrderException if it could not be found. |
CommerceOrder |
findByC_LtC_O_First(java.util.Date createDate,
long commerceAccountId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where createDate < ? and commerceAccountId = ? and orderStatus = ?.
|
CommerceOrder |
findByC_LtC_O_Last(java.util.Date createDate,
long commerceAccountId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where createDate < ? and commerceAccountId = ? and orderStatus = ?.
|
CommerceOrder[] |
findByC_LtC_O_PrevAndNext(long commerceOrderId,
java.util.Date createDate,
long commerceAccountId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where createDate < ? and commerceAccountId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByC_LtC_O(java.util.Date createDate,
long commerceAccountId,
int orderStatus)
Returns all the commerce orders where createDate < ? and commerceAccountId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByC_LtC_O(java.util.Date createDate,
long commerceAccountId,
int orderStatus,
int start,
int end)
Returns a range of all the commerce orders where createDate < ? and commerceAccountId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByC_LtC_O(java.util.Date createDate,
long commerceAccountId,
int orderStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where createDate < ? and commerceAccountId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByC_LtC_O(java.util.Date createDate,
long commerceAccountId,
int orderStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce orders where createDate < ? and commerceAccountId = ? and orderStatus = ?.
|
CommerceOrder |
findByCommerceAccountId_First(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where commerceAccountId = ?.
|
CommerceOrder |
findByCommerceAccountId_Last(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where commerceAccountId = ?.
|
CommerceOrder[] |
findByCommerceAccountId_PrevAndNext(long commerceOrderId,
long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where commerceAccountId = ?.
|
java.util.List<CommerceOrder> |
findByCommerceAccountId(long commerceAccountId)
Returns all the commerce orders where commerceAccountId = ?.
|
java.util.List<CommerceOrder> |
findByCommerceAccountId(long commerceAccountId,
int start,
int end)
Returns a range of all the commerce orders where commerceAccountId = ?.
|
java.util.List<CommerceOrder> |
findByCommerceAccountId(long commerceAccountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where commerceAccountId = ?.
|
java.util.List<CommerceOrder> |
findByCommerceAccountId(long commerceAccountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce orders where commerceAccountId = ?.
|
CommerceOrder |
findByG_C_First(long groupId,
long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ? and commerceAccountId = ?.
|
CommerceOrder |
findByG_C_Last(long groupId,
long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ? and commerceAccountId = ?.
|
CommerceOrder |
findByG_C_O_First(long groupId,
long commerceAccountId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ? and commerceAccountId = ? and orderStatus = ?.
|
CommerceOrder |
findByG_C_O_Last(long groupId,
long commerceAccountId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ? and commerceAccountId = ? and orderStatus = ?.
|
CommerceOrder[] |
findByG_C_O_PrevAndNext(long commerceOrderId,
long groupId,
long commerceAccountId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where groupId = ? and commerceAccountId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByG_C_O(long groupId,
long commerceAccountId,
int orderStatus)
Returns all the commerce orders where groupId = ? and commerceAccountId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByG_C_O(long groupId,
long commerceAccountId,
int orderStatus,
int start,
int end)
Returns a range of all the commerce orders where groupId = ? and commerceAccountId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByG_C_O(long groupId,
long commerceAccountId,
int orderStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where groupId = ? and commerceAccountId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByG_C_O(long groupId,
long commerceAccountId,
int orderStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce orders where groupId = ? and commerceAccountId = ? and orderStatus = ?.
|
CommerceOrder[] |
findByG_C_PrevAndNext(long commerceOrderId,
long groupId,
long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where groupId = ? and commerceAccountId = ?.
|
java.util.List<CommerceOrder> |
findByG_C(long groupId,
long commerceAccountId)
Returns all the commerce orders where groupId = ? and commerceAccountId = ?.
|
java.util.List<CommerceOrder> |
findByG_C(long groupId,
long commerceAccountId,
int start,
int end)
Returns a range of all the commerce orders where groupId = ? and commerceAccountId = ?.
|
java.util.List<CommerceOrder> |
findByG_C(long groupId,
long commerceAccountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where groupId = ? and commerceAccountId = ?.
|
java.util.List<CommerceOrder> |
findByG_C(long groupId,
long commerceAccountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce orders where groupId = ? and commerceAccountId = ?.
|
CommerceOrder |
findByG_CP_First(long groupId,
java.lang.String commercePaymentMethodKey,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ? and commercePaymentMethodKey = ?.
|
CommerceOrder |
findByG_CP_Last(long groupId,
java.lang.String commercePaymentMethodKey,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ? and commercePaymentMethodKey = ?.
|
CommerceOrder[] |
findByG_CP_PrevAndNext(long commerceOrderId,
long groupId,
java.lang.String commercePaymentMethodKey,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where groupId = ? and commercePaymentMethodKey = ?.
|
java.util.List<CommerceOrder> |
findByG_CP(long groupId,
java.lang.String commercePaymentMethodKey)
Returns all the commerce orders where groupId = ? and commercePaymentMethodKey = ?.
|
java.util.List<CommerceOrder> |
findByG_CP(long groupId,
java.lang.String commercePaymentMethodKey,
int start,
int end)
Returns a range of all the commerce orders where groupId = ? and commercePaymentMethodKey = ?.
|
java.util.List<CommerceOrder> |
findByG_CP(long groupId,
java.lang.String commercePaymentMethodKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where groupId = ? and commercePaymentMethodKey = ?.
|
java.util.List<CommerceOrder> |
findByG_CP(long groupId,
java.lang.String commercePaymentMethodKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce orders where groupId = ? and commercePaymentMethodKey = ?.
|
CommerceOrder |
findByG_U_O_First(long groupId,
long userId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ? and userId = ? and orderStatus = ?.
|
CommerceOrder |
findByG_U_O_Last(long groupId,
long userId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ? and userId = ? and orderStatus = ?.
|
CommerceOrder[] |
findByG_U_O_PrevAndNext(long commerceOrderId,
long groupId,
long userId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where groupId = ? and userId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByG_U_O(long groupId,
long userId,
int orderStatus)
Returns all the commerce orders where groupId = ? and userId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByG_U_O(long groupId,
long userId,
int orderStatus,
int start,
int end)
Returns a range of all the commerce orders where groupId = ? and userId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByG_U_O(long groupId,
long userId,
int orderStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where groupId = ? and userId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByG_U_O(long groupId,
long userId,
int orderStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce orders where groupId = ? and userId = ? and orderStatus = ?.
|
CommerceOrder |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ?.
|
CommerceOrder |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ?.
|
CommerceOrder[] |
findByGroupId_PrevAndNext(long commerceOrderId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where groupId = ?.
|
java.util.List<CommerceOrder> |
findByGroupId(long groupId)
Returns all the commerce orders where groupId = ?.
|
java.util.List<CommerceOrder> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce orders where groupId = ?.
|
java.util.List<CommerceOrder> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where groupId = ?.
|
java.util.List<CommerceOrder> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce orders where groupId = ?.
|
CommerceOrder |
findByPrimaryKey(long commerceOrderId)
Returns the commerce order with the primary key or throws a
NoSuchOrderException if it could not be found. |
CommerceOrder |
findByShippingAddressId_First(long shippingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where shippingAddressId = ?.
|
CommerceOrder |
findByShippingAddressId_Last(long shippingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where shippingAddressId = ?.
|
CommerceOrder[] |
findByShippingAddressId_PrevAndNext(long commerceOrderId,
long shippingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where shippingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByShippingAddressId(long shippingAddressId)
Returns all the commerce orders where shippingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByShippingAddressId(long shippingAddressId,
int start,
int end)
Returns a range of all the commerce orders where shippingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByShippingAddressId(long shippingAddressId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where shippingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByShippingAddressId(long shippingAddressId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce orders where shippingAddressId = ?.
|
CommerceOrder |
findByU_LtC_O_First(long userId,
java.util.Date createDate,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where userId = ? and createDate < ? and orderStatus = ?.
|
CommerceOrder |
findByU_LtC_O_Last(long userId,
java.util.Date createDate,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where userId = ? and createDate < ? and orderStatus = ?.
|
CommerceOrder[] |
findByU_LtC_O_PrevAndNext(long commerceOrderId,
long userId,
java.util.Date createDate,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where userId = ? and createDate < ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByU_LtC_O(long userId,
java.util.Date createDate,
int orderStatus)
Returns all the commerce orders where userId = ? and createDate < ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByU_LtC_O(long userId,
java.util.Date createDate,
int orderStatus,
int start,
int end)
Returns a range of all the commerce orders where userId = ? and createDate < ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByU_LtC_O(long userId,
java.util.Date createDate,
int orderStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where userId = ? and createDate < ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByU_LtC_O(long userId,
java.util.Date createDate,
int orderStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce orders where userId = ? and createDate < ? and orderStatus = ?.
|
CommerceOrder |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where userId = ?.
|
CommerceOrder |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where userId = ?.
|
CommerceOrder[] |
findByUserId_PrevAndNext(long commerceOrderId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where userId = ?.
|
java.util.List<CommerceOrder> |
findByUserId(long userId)
Returns all the commerce orders where userId = ?.
|
java.util.List<CommerceOrder> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the commerce orders where userId = ?.
|
java.util.List<CommerceOrder> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where userId = ?.
|
java.util.List<CommerceOrder> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce orders where userId = ?.
|
CommerceOrder |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrder |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrder[] |
findByUuid_C_PrevAndNext(long commerceOrderId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrder> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce orders where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrder> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce orders where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrder> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrder> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce orders where uuid = ? and companyId = ?.
|
CommerceOrder |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where uuid = ?.
|
CommerceOrder |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce order where uuid = ? and groupId = ? or throws a
NoSuchOrderException if it could not be found. |
CommerceOrder |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where uuid = ?.
|
CommerceOrder[] |
findByUuid_PrevAndNext(long commerceOrderId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where uuid = ?.
|
java.util.List<CommerceOrder> |
findByUuid(java.lang.String uuid)
Returns all the commerce orders where uuid = ?.
|
java.util.List<CommerceOrder> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce orders where uuid = ?.
|
java.util.List<CommerceOrder> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where uuid = ?.
|
java.util.List<CommerceOrder> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce orders where uuid = ?.
|
CommerceOrder |
remove(long commerceOrderId)
Removes the commerce order with the primary key from the database.
|
void |
removeAll()
Removes all the commerce orders from the database.
|
void |
removeByBillingAddressId(long billingAddressId)
Removes all the commerce orders where billingAddressId = ? from the database.
|
CommerceOrder |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the commerce order where companyId = ? and externalReferenceCode = ? from the database.
|
void |
removeByC_LtC_O(java.util.Date createDate,
long commerceAccountId,
int orderStatus)
Removes all the commerce orders where createDate < ? and commerceAccountId = ? and orderStatus = ? from the database.
|
void |
removeByCommerceAccountId(long commerceAccountId)
Removes all the commerce orders where commerceAccountId = ? from the database.
|
void |
removeByG_C_O(long groupId,
long commerceAccountId,
int orderStatus)
Removes all the commerce orders where groupId = ? and commerceAccountId = ? and orderStatus = ? from the database.
|
void |
removeByG_C(long groupId,
long commerceAccountId)
Removes all the commerce orders where groupId = ? and commerceAccountId = ? from the database.
|
void |
removeByG_CP(long groupId,
java.lang.String commercePaymentMethodKey)
Removes all the commerce orders where groupId = ? and commercePaymentMethodKey = ? from the database.
|
void |
removeByG_U_O(long groupId,
long userId,
int orderStatus)
Removes all the commerce orders where groupId = ? and userId = ? and orderStatus = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the commerce orders where groupId = ? from the database.
|
void |
removeByShippingAddressId(long shippingAddressId)
Removes all the commerce orders where shippingAddressId = ? from the database.
|
void |
removeByU_LtC_O(long userId,
java.util.Date createDate,
int orderStatus)
Removes all the commerce orders where userId = ? and createDate < ? and orderStatus = ? from the database.
|
void |
removeByUserId(long userId)
Removes all the commerce orders where userId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce orders where uuid = ? and companyId = ? from the database.
|
CommerceOrder |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce order where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce orders where uuid = ? from the database.
|
CommerceOrder |
updateImpl(CommerceOrder commerceOrder) |
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<CommerceOrder> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceOrder> 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 CommerceOrderModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrder> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrder findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder[] findByUuid_PrevAndNext(long commerceOrderId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId
- the primary key of the current commerce orderuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a commerce order with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCommerceOrder findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchOrderException
NoSuchOrderException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder 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 could not be foundCommerceOrder 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 could not be foundCommerceOrder removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchOrderException
uuid
- the uuidgroupId
- the group IDNoSuchOrderException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<CommerceOrder> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceOrder> 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 CommerceOrderModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrder> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrder findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder[] findByUuid_C_PrevAndNext(long commerceOrderId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId
- the primary key of the current commerce orderuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a commerce order 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 IDjava.util.List<CommerceOrder> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<CommerceOrder> findByGroupId(long groupId, 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 CommerceOrderModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrder> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrder findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder[] findByGroupId_PrevAndNext(long commerceOrderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId
- the primary key of the current commerce ordergroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a commerce order with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDjava.util.List<CommerceOrder> findByUserId(long userId)
userId
- the user IDjava.util.List<CommerceOrder> findByUserId(long userId, 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 CommerceOrderModelImpl
.
userId
- the user IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
userId
- the user IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrder> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
userId
- the user IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrder findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder[] findByUserId_PrevAndNext(long commerceOrderId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId
- the primary key of the current commerce orderuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a commerce order with the primary key could not be foundvoid removeByUserId(long userId)
userId
- the user IDint countByUserId(long userId)
userId
- the user IDjava.util.List<CommerceOrder> findByCommerceAccountId(long commerceAccountId)
commerceAccountId
- the commerce account IDjava.util.List<CommerceOrder> findByCommerceAccountId(long commerceAccountId, 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 CommerceOrderModelImpl
.
commerceAccountId
- the commerce account IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
commerceAccountId
- the commerce account IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrder> findByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
commerceAccountId
- the commerce account IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrder findByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
commerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder findByCommerceAccountId_Last(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByCommerceAccountId_Last(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
commerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder[] findByCommerceAccountId_PrevAndNext(long commerceOrderId, long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId
- the primary key of the current commerce ordercommerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a commerce order with the primary key could not be foundvoid removeByCommerceAccountId(long commerceAccountId)
commerceAccountId
- the commerce account IDint countByCommerceAccountId(long commerceAccountId)
commerceAccountId
- the commerce account IDjava.util.List<CommerceOrder> findByBillingAddressId(long billingAddressId)
billingAddressId
- the billing address IDjava.util.List<CommerceOrder> findByBillingAddressId(long billingAddressId, 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 CommerceOrderModelImpl
.
billingAddressId
- the billing address IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByBillingAddressId(long billingAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
billingAddressId
- the billing address IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrder> findByBillingAddressId(long billingAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
billingAddressId
- the billing address IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrder findByBillingAddressId_First(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
billingAddressId
- the billing address IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByBillingAddressId_First(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
billingAddressId
- the billing address IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder findByBillingAddressId_Last(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
billingAddressId
- the billing address IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByBillingAddressId_Last(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
billingAddressId
- the billing address IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder[] findByBillingAddressId_PrevAndNext(long commerceOrderId, long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId
- the primary key of the current commerce orderbillingAddressId
- the billing address IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a commerce order with the primary key could not be foundvoid removeByBillingAddressId(long billingAddressId)
billingAddressId
- the billing address IDint countByBillingAddressId(long billingAddressId)
billingAddressId
- the billing address IDjava.util.List<CommerceOrder> findByShippingAddressId(long shippingAddressId)
shippingAddressId
- the shipping address IDjava.util.List<CommerceOrder> findByShippingAddressId(long shippingAddressId, 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 CommerceOrderModelImpl
.
shippingAddressId
- the shipping address IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByShippingAddressId(long shippingAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
shippingAddressId
- the shipping address IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrder> findByShippingAddressId(long shippingAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
shippingAddressId
- the shipping address IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrder findByShippingAddressId_First(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
shippingAddressId
- the shipping address IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByShippingAddressId_First(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
shippingAddressId
- the shipping address IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder findByShippingAddressId_Last(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
shippingAddressId
- the shipping address IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByShippingAddressId_Last(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
shippingAddressId
- the shipping address IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder[] findByShippingAddressId_PrevAndNext(long commerceOrderId, long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId
- the primary key of the current commerce ordershippingAddressId
- the shipping address IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a commerce order with the primary key could not be foundvoid removeByShippingAddressId(long shippingAddressId)
shippingAddressId
- the shipping address IDint countByShippingAddressId(long shippingAddressId)
shippingAddressId
- the shipping address IDjava.util.List<CommerceOrder> findByG_C(long groupId, long commerceAccountId)
groupId
- the group IDcommerceAccountId
- the commerce account IDjava.util.List<CommerceOrder> findByG_C(long groupId, long commerceAccountId, 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 CommerceOrderModelImpl
.
groupId
- the group IDcommerceAccountId
- the commerce account IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByG_C(long groupId, long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
groupId
- the group IDcommerceAccountId
- the commerce account IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrder> findByG_C(long groupId, long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
groupId
- the group IDcommerceAccountId
- the commerce account IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrder findByG_C_First(long groupId, long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId
- the group IDcommerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByG_C_First(long groupId, long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId
- the group IDcommerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder findByG_C_Last(long groupId, long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId
- the group IDcommerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByG_C_Last(long groupId, long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId
- the group IDcommerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder[] findByG_C_PrevAndNext(long commerceOrderId, long groupId, long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId
- the primary key of the current commerce ordergroupId
- the group IDcommerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a commerce order with the primary key could not be foundvoid removeByG_C(long groupId, long commerceAccountId)
groupId
- the group IDcommerceAccountId
- the commerce account IDint countByG_C(long groupId, long commerceAccountId)
groupId
- the group IDcommerceAccountId
- the commerce account IDjava.util.List<CommerceOrder> findByG_CP(long groupId, java.lang.String commercePaymentMethodKey)
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keyjava.util.List<CommerceOrder> findByG_CP(long groupId, java.lang.String commercePaymentMethodKey, 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 CommerceOrderModelImpl
.
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keystart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByG_CP(long groupId, java.lang.String commercePaymentMethodKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keystart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrder> findByG_CP(long groupId, java.lang.String commercePaymentMethodKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keystart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrder findByG_CP_First(long groupId, java.lang.String commercePaymentMethodKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByG_CP_First(long groupId, java.lang.String commercePaymentMethodKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder findByG_CP_Last(long groupId, java.lang.String commercePaymentMethodKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByG_CP_Last(long groupId, java.lang.String commercePaymentMethodKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder[] findByG_CP_PrevAndNext(long commerceOrderId, long groupId, java.lang.String commercePaymentMethodKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId
- the primary key of the current commerce ordergroupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a commerce order with the primary key could not be foundvoid removeByG_CP(long groupId, java.lang.String commercePaymentMethodKey)
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keyint countByG_CP(long groupId, java.lang.String commercePaymentMethodKey)
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keyjava.util.List<CommerceOrder> findByG_U_O(long groupId, long userId, int orderStatus)
groupId
- the group IDuserId
- the user IDorderStatus
- the order statusjava.util.List<CommerceOrder> findByG_U_O(long groupId, long userId, int orderStatus, 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 CommerceOrderModelImpl
.
groupId
- the group IDuserId
- the user IDorderStatus
- the order statusstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByG_U_O(long groupId, long userId, int orderStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
groupId
- the group IDuserId
- the user IDorderStatus
- the order statusstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrder> findByG_U_O(long groupId, long userId, int orderStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
groupId
- the group IDuserId
- the user IDorderStatus
- the order statusstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrder findByG_U_O_First(long groupId, long userId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId
- the group IDuserId
- the user IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByG_U_O_First(long groupId, long userId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId
- the group IDuserId
- the user IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder findByG_U_O_Last(long groupId, long userId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId
- the group IDuserId
- the user IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByG_U_O_Last(long groupId, long userId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId
- the group IDuserId
- the user IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder[] findByG_U_O_PrevAndNext(long commerceOrderId, long groupId, long userId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId
- the primary key of the current commerce ordergroupId
- the group IDuserId
- the user IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a commerce order with the primary key could not be foundvoid removeByG_U_O(long groupId, long userId, int orderStatus)
groupId
- the group IDuserId
- the user IDorderStatus
- the order statusint countByG_U_O(long groupId, long userId, int orderStatus)
groupId
- the group IDuserId
- the user IDorderStatus
- the order statusjava.util.List<CommerceOrder> findByG_C_O(long groupId, long commerceAccountId, int orderStatus)
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order statusjava.util.List<CommerceOrder> findByG_C_O(long groupId, long commerceAccountId, int orderStatus, 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 CommerceOrderModelImpl
.
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order statusstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByG_C_O(long groupId, long commerceAccountId, int orderStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order statusstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrder> findByG_C_O(long groupId, long commerceAccountId, int orderStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order statusstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrder findByG_C_O_First(long groupId, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByG_C_O_First(long groupId, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder findByG_C_O_Last(long groupId, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByG_C_O_Last(long groupId, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder[] findByG_C_O_PrevAndNext(long commerceOrderId, long groupId, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId
- the primary key of the current commerce ordergroupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a commerce order with the primary key could not be foundvoid removeByG_C_O(long groupId, long commerceAccountId, int orderStatus)
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order statusint countByG_C_O(long groupId, long commerceAccountId, int orderStatus)
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order statusjava.util.List<CommerceOrder> findByU_LtC_O(long userId, java.util.Date createDate, int orderStatus)
userId
- the user IDcreateDate
- the create dateorderStatus
- the order statusjava.util.List<CommerceOrder> findByU_LtC_O(long userId, java.util.Date createDate, int orderStatus, 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 CommerceOrderModelImpl
.
userId
- the user IDcreateDate
- the create dateorderStatus
- the order statusstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByU_LtC_O(long userId, java.util.Date createDate, int orderStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
userId
- the user IDcreateDate
- the create dateorderStatus
- the order statusstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrder> findByU_LtC_O(long userId, java.util.Date createDate, int orderStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
userId
- the user IDcreateDate
- the create dateorderStatus
- the order statusstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrder findByU_LtC_O_First(long userId, java.util.Date createDate, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
userId
- the user IDcreateDate
- the create dateorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByU_LtC_O_First(long userId, java.util.Date createDate, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
userId
- the user IDcreateDate
- the create dateorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder findByU_LtC_O_Last(long userId, java.util.Date createDate, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
userId
- the user IDcreateDate
- the create dateorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByU_LtC_O_Last(long userId, java.util.Date createDate, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
userId
- the user IDcreateDate
- the create dateorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder[] findByU_LtC_O_PrevAndNext(long commerceOrderId, long userId, java.util.Date createDate, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId
- the primary key of the current commerce orderuserId
- the user IDcreateDate
- the create dateorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a commerce order with the primary key could not be foundvoid removeByU_LtC_O(long userId, java.util.Date createDate, int orderStatus)
userId
- the user IDcreateDate
- the create dateorderStatus
- the order statusint countByU_LtC_O(long userId, java.util.Date createDate, int orderStatus)
userId
- the user IDcreateDate
- the create dateorderStatus
- the order statusjava.util.List<CommerceOrder> findByC_LtC_O(java.util.Date createDate, long commerceAccountId, int orderStatus)
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order statusjava.util.List<CommerceOrder> findByC_LtC_O(java.util.Date createDate, long commerceAccountId, int orderStatus, 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 CommerceOrderModelImpl
.
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order statusstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByC_LtC_O(java.util.Date createDate, long commerceAccountId, int orderStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order statusstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrder> findByC_LtC_O(java.util.Date createDate, long commerceAccountId, int orderStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order statusstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrder findByC_LtC_O_First(java.util.Date createDate, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByC_LtC_O_First(java.util.Date createDate, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder findByC_LtC_O_Last(java.util.Date createDate, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByC_LtC_O_Last(java.util.Date createDate, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order could not be foundCommerceOrder[] findByC_LtC_O_PrevAndNext(long commerceOrderId, java.util.Date createDate, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId
- the primary key of the current commerce ordercreateDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderException
- if a commerce order with the primary key could not be foundvoid removeByC_LtC_O(java.util.Date createDate, long commerceAccountId, int orderStatus)
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order statusint countByC_LtC_O(java.util.Date createDate, long commerceAccountId, int orderStatus)
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order statusCommerceOrder findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchOrderException
NoSuchOrderException
if it could not be found.companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchOrderException
- if a matching commerce order could not be foundCommerceOrder fetchByC_ERC(long companyId, java.lang.String externalReferenceCode)
null
if it could not be found. Uses the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codenull
if a matching commerce order could not be foundCommerceOrder fetchByC_ERC(long companyId, java.lang.String externalReferenceCode, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codeuseFinderCache
- whether to use the finder cachenull
if a matching commerce order could not be foundCommerceOrder removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchOrderException
companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchOrderException
int countByC_ERC(long companyId, java.lang.String externalReferenceCode)
companyId
- the company IDexternalReferenceCode
- the external reference codevoid cacheResult(CommerceOrder commerceOrder)
commerceOrder
- the commerce ordervoid cacheResult(java.util.List<CommerceOrder> commerceOrders)
commerceOrders
- the commerce ordersCommerceOrder create(long commerceOrderId)
commerceOrderId
- the primary key for the new commerce orderCommerceOrder remove(long commerceOrderId) throws NoSuchOrderException
commerceOrderId
- the primary key of the commerce orderNoSuchOrderException
- if a commerce order with the primary key could not be foundCommerceOrder updateImpl(CommerceOrder commerceOrder)
CommerceOrder findByPrimaryKey(long commerceOrderId) throws NoSuchOrderException
NoSuchOrderException
if it could not be found.commerceOrderId
- the primary key of the commerce orderNoSuchOrderException
- if a commerce order with the primary key could not be foundCommerceOrder fetchByPrimaryKey(long commerceOrderId)
null
if it could not be found.commerceOrderId
- the primary key of the commerce ordernull
if a commerce order with the primary key could not be foundjava.util.List<CommerceOrder> findAll()
java.util.List<CommerceOrder> 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 CommerceOrderModelImpl
.
start
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
start
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> 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 CommerceOrderModelImpl
.
start
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()