Interface CommerceOrderPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrder>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceOrder commerceOrder) Caches the commerce order in the entity cache if it is enabled.void
cacheResult
(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_LtC_O
(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
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of commerce orders where externalReferenceCode = ? and companyId = ?.int
countByG_C
(long groupId, long commerceAccountId) Returns the number of commerce orders where groupId = ? and 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_CP
(long groupId, 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, 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
(String uuid) Returns the number of commerce orders where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce orders where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of commerce orders where uuid = ? and groupId = ?.create
(long commerceOrderId) Creates a new commerce order with the primary key.fetchByBillingAddressId_First
(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where billingAddressId = ?.fetchByBillingAddressId_Last
(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where billingAddressId = ?.fetchByC_LtC_O_First
(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 = ?.fetchByC_LtC_O_Last
(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 = ?.fetchByCommerceAccountId_First
(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where commerceAccountId = ?.fetchByCommerceAccountId_Last
(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where commerceAccountId = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the commerce order where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce order where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.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 = ?.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 = ?.fetchByG_CP_First
(long groupId, String commercePaymentMethodKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where groupId = ? and commercePaymentMethodKey = ?.fetchByG_CP_Last
(long groupId, String commercePaymentMethodKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where groupId = ? and commercePaymentMethodKey = ?.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 = ?.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 = ?.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where groupId = ?.fetchByPrimaryKey
(long commerceOrderId) Returns the commerce order with the primary key or returnsnull
if it could not be found.fetchByShippingAddressId_First
(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where shippingAddressId = ?.fetchByShippingAddressId_Last
(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where shippingAddressId = ?.fetchByU_LtC_O_First
(long userId, 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 = ?.fetchByU_LtC_O_Last
(long userId, 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 = ?.fetchByUserId_First
(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where userId = ?.fetchByUserId_Last
(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where userId = ?.fetchByUuid_C_First
(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 = ?.fetchByUuid_C_Last
(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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the commerce order where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the commerce order where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where uuid = ?.int
filterCountByG_C
(long groupId, long commerceAccountId) Returns the number of commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ?.int
filterCountByG_C_O
(long groupId, long commerceAccountId, int orderStatus) Returns the number of commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ? and orderStatus = ?.int
filterCountByG_CP
(long groupId, String commercePaymentMethodKey) Returns the number of commerce orders that the user has permission to view where groupId = ? and commercePaymentMethodKey = ?.int
filterCountByG_U_O
(long groupId, long userId, int orderStatus) Returns the number of commerce orders that the user has permission to view where groupId = ? and userId = ? and orderStatus = ?.int
filterCountByGroupId
(long groupId) Returns the number of commerce orders that the user has permission to view where groupId = ?.filterFindByG_C
(long groupId, long commerceAccountId) Returns all the commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ?.filterFindByG_C
(long groupId, long commerceAccountId, int start, int end) Returns a range of all the commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ?.filterFindByG_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 that the user has permissions to view where groupId = ? and commerceAccountId = ?.filterFindByG_C_O
(long groupId, long commerceAccountId, int orderStatus) Returns all the commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ? and orderStatus = ?.filterFindByG_C_O
(long groupId, long commerceAccountId, int orderStatus, int start, int end) Returns a range of all the commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ? and orderStatus = ?.filterFindByG_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 that the user has permissions to view where groupId = ? and commerceAccountId = ? and orderStatus = ?.filterFindByG_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 of commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ? and orderStatus = ?.filterFindByG_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 of commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ?.filterFindByG_CP
(long groupId, String commercePaymentMethodKey) Returns all the commerce orders that the user has permission to view where groupId = ? and commercePaymentMethodKey = ?.filterFindByG_CP
(long groupId, String commercePaymentMethodKey, int start, int end) Returns a range of all the commerce orders that the user has permission to view where groupId = ? and commercePaymentMethodKey = ?.filterFindByG_CP
(long groupId, String commercePaymentMethodKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns an ordered range of all the commerce orders that the user has permissions to view where groupId = ? and commercePaymentMethodKey = ?.filterFindByG_CP_PrevAndNext
(long commerceOrderId, long groupId, 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 of commerce orders that the user has permission to view where groupId = ? and commercePaymentMethodKey = ?.filterFindByG_U_O
(long groupId, long userId, int orderStatus) Returns all the commerce orders that the user has permission to view where groupId = ? and userId = ? and orderStatus = ?.filterFindByG_U_O
(long groupId, long userId, int orderStatus, int start, int end) Returns a range of all the commerce orders that the user has permission to view where groupId = ? and userId = ? and orderStatus = ?.filterFindByG_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 that the user has permissions to view where groupId = ? and userId = ? and orderStatus = ?.filterFindByG_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 of commerce orders that the user has permission to view where groupId = ? and userId = ? and orderStatus = ?.filterFindByGroupId
(long groupId) Returns all the commerce orders that the user has permission to view where groupId = ?.filterFindByGroupId
(long groupId, int start, int end) Returns a range of all the commerce orders that the user has permission to view where groupId = ?.filterFindByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns an ordered range of all the commerce orders that the user has permissions to view where groupId = ?.filterFindByGroupId_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 of commerce orders that the user has permission to view where groupId = ?.findAll()
Returns all the commerce orders.findAll
(int start, int end) Returns a range of all the commerce orders.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns an ordered range of all the commerce orders.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce orders.findByBillingAddressId
(long billingAddressId) Returns all the commerce orders where billingAddressId = ?.findByBillingAddressId
(long billingAddressId, int start, int end) Returns a range of all the commerce orders where billingAddressId = ?.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 = ?.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 = ?.findByBillingAddressId_First
(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where billingAddressId = ?.findByBillingAddressId_Last
(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where billingAddressId = ?.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 = ?.findByC_LtC_O
(Date createDate, long commerceAccountId, int orderStatus) Returns all the commerce orders where createDate < ? and commerceAccountId = ? and orderStatus = ?.findByC_LtC_O
(Date createDate, long commerceAccountId, int orderStatus, int start, int end) Returns a range of all the commerce orders where createDate < ? and commerceAccountId = ? and orderStatus = ?.findByC_LtC_O
(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 = ?.findByC_LtC_O
(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 = ?.findByC_LtC_O_First
(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 = ?.findByC_LtC_O_Last
(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 = ?.findByC_LtC_O_PrevAndNext
(long commerceOrderId, 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 = ?.findByCommerceAccountId
(long commerceAccountId) Returns all the commerce orders where commerceAccountId = ?.findByCommerceAccountId
(long commerceAccountId, int start, int end) Returns a range of all the commerce orders where commerceAccountId = ?.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 = ?.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 = ?.findByCommerceAccountId_First
(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where commerceAccountId = ?.findByCommerceAccountId_Last
(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where commerceAccountId = ?.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 = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the commerce order where externalReferenceCode = ? and companyId = ? or throws aNoSuchOrderException
if it could not be found.findByG_C
(long groupId, long commerceAccountId) Returns all the commerce orders where groupId = ? and commerceAccountId = ?.findByG_C
(long groupId, long commerceAccountId, int start, int end) Returns a range of all the commerce orders where groupId = ? and commerceAccountId = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByG_C_O
(long groupId, long commerceAccountId, int orderStatus) Returns all the commerce orders where groupId = ? and commerceAccountId = ? and orderStatus = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByG_CP
(long groupId, String commercePaymentMethodKey) Returns all the commerce orders where groupId = ? and commercePaymentMethodKey = ?.findByG_CP
(long groupId, String commercePaymentMethodKey, int start, int end) Returns a range of all the commerce orders where groupId = ? and commercePaymentMethodKey = ?.findByG_CP
(long groupId, 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 = ?.findByG_CP
(long groupId, 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 = ?.findByG_CP_First
(long groupId, String commercePaymentMethodKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where groupId = ? and commercePaymentMethodKey = ?.findByG_CP_Last
(long groupId, String commercePaymentMethodKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where groupId = ? and commercePaymentMethodKey = ?.findByG_CP_PrevAndNext
(long commerceOrderId, long groupId, 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 = ?.findByG_U_O
(long groupId, long userId, int orderStatus) Returns all the commerce orders where groupId = ? and userId = ? and orderStatus = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByGroupId
(long groupId) Returns all the commerce orders where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the commerce orders where groupId = ?.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 = ?.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 = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where groupId = ?.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 = ?.findByPrimaryKey
(long commerceOrderId) Returns the commerce order with the primary key or throws aNoSuchOrderException
if it could not be found.findByShippingAddressId
(long shippingAddressId) Returns all the commerce orders where shippingAddressId = ?.findByShippingAddressId
(long shippingAddressId, int start, int end) Returns a range of all the commerce orders where shippingAddressId = ?.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 = ?.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 = ?.findByShippingAddressId_First
(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where shippingAddressId = ?.findByShippingAddressId_Last
(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where shippingAddressId = ?.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 = ?.findByU_LtC_O
(long userId, Date createDate, int orderStatus) Returns all the commerce orders where userId = ? and createDate < ? and orderStatus = ?.findByU_LtC_O
(long userId, Date createDate, int orderStatus, int start, int end) Returns a range of all the commerce orders where userId = ? and createDate < ? and orderStatus = ?.findByU_LtC_O
(long userId, 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 = ?.findByU_LtC_O
(long userId, 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 = ?.findByU_LtC_O_First
(long userId, 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 = ?.findByU_LtC_O_Last
(long userId, 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 = ?.findByU_LtC_O_PrevAndNext
(long commerceOrderId, long userId, 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 = ?.findByUserId
(long userId) Returns all the commerce orders where userId = ?.findByUserId
(long userId, int start, int end) Returns a range of all the commerce orders where userId = ?.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 = ?.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 = ?.findByUserId_First
(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where userId = ?.findByUserId_Last
(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where userId = ?.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 = ?.findByUuid
(String uuid) Returns all the commerce orders where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the commerce orders where uuid = ?.findByUuid
(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 = ?.findByUuid
(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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the commerce orders where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce orders where uuid = ? and companyId = ?.findByUuid_C
(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 = ?.findByUuid_C
(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 = ?.findByUuid_C_First
(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 = ?.findByUuid_C_Last
(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 = ?.findByUuid_C_PrevAndNext
(long commerceOrderId, 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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the commerce order where uuid = ? and groupId = ? or throws aNoSuchOrderException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long commerceOrderId, 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 = ?.remove
(long commerceOrderId) Removes the commerce order with the primary key from the database.void
Removes all the commerce orders from the database.void
removeByBillingAddressId
(long billingAddressId) Removes all the commerce orders where billingAddressId = ? from the database.void
removeByC_LtC_O
(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.removeByERC_C
(String externalReferenceCode, long companyId) Removes the commerce order where externalReferenceCode = ? and companyId = ? from the database.void
removeByG_C
(long groupId, long commerceAccountId) Removes all the commerce orders where groupId = ? and 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_CP
(long groupId, 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, 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
(String uuid) Removes all the commerce orders where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce orders where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the commerce order where uuid = ? and groupId = ? from the database.updateImpl
(CommerceOrder commerceOrder) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the commerce orders where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching commerce orders
-
findByUuid
Returns a range of all the commerce orders where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)- Returns:
- the range of matching commerce orders
-
findByUuid
List<CommerceOrder> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders
-
findByUuid
List<CommerceOrder> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce orders
-
findByUuid_First
CommerceOrder findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the first commerce order in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByUuid_First
CommerceOrder fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order, or
null
if a matching commerce order could not be found
-
findByUuid_Last
CommerceOrder findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the last commerce order in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByUuid_Last
CommerceOrder fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order, or
null
if a matching commerce order could not be found
-
findByUuid_PrevAndNext
CommerceOrder[] findByUuid_PrevAndNext(long commerceOrderId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set where uuid = ?.- Parameters:
commerceOrderId
- the primary key of the current commerce orderuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
removeByUuid
Removes all the commerce orders where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of commerce orders where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching commerce orders
-
findByUUID_G
Returns the commerce order where uuid = ? and groupId = ? or throws aNoSuchOrderException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByUUID_G
Returns the commerce order where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce order, or
null
if a matching commerce order could not be found
-
fetchByUUID_G
Returns the commerce order where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce order, or
null
if a matching commerce order could not be found
-
removeByUUID_G
Removes the commerce order where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the commerce order that was removed
- Throws:
NoSuchOrderException
-
countByUUID_G
Returns the number of commerce orders where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching commerce orders
-
findByUuid_C
Returns all the commerce orders where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching commerce orders
-
findByUuid_C
Returns a range of all the commerce orders where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce orders
-
findByUuid_C
List<CommerceOrder> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders
-
findByUuid_C
List<CommerceOrder> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce orders
-
findByUuid_C_First
CommerceOrder findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the first commerce order in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByUuid_C_First
CommerceOrder fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order, or
null
if a matching commerce order could not be found
-
findByUuid_C_Last
CommerceOrder findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the last commerce order in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByUuid_C_Last
CommerceOrder fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order, or
null
if a matching commerce order could not be found
-
findByUuid_C_PrevAndNext
CommerceOrder[] findByUuid_C_PrevAndNext(long commerceOrderId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set where uuid = ? and companyId = ?.- Parameters:
commerceOrderId
- the primary key of the current commerce orderuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
removeByUuid_C
Removes all the commerce orders where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of commerce orders where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching commerce orders
-
findByGroupId
Returns all the commerce orders where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching commerce orders
-
findByGroupId
Returns a range of all the commerce orders where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)- Returns:
- the range of matching commerce orders
-
findByGroupId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders
-
findByGroupId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce orders
-
findByGroupId_First
CommerceOrder findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the first commerce order in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByGroupId_First
CommerceOrder fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order, or
null
if a matching commerce order could not be found
-
findByGroupId_Last
CommerceOrder findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the last commerce order in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByGroupId_Last
CommerceOrder fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order, or
null
if a matching commerce order could not be found
-
findByGroupId_PrevAndNext
CommerceOrder[] findByGroupId_PrevAndNext(long commerceOrderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set where groupId = ?.- Parameters:
commerceOrderId
- the primary key of the current commerce ordergroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
filterFindByGroupId
Returns all the commerce orders that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching commerce orders that the user has permission to view
-
filterFindByGroupId
Returns a range of all the commerce orders that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)- Returns:
- the range of matching commerce orders that the user has permission to view
-
filterFindByGroupId
List<CommerceOrder> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns an ordered range of all the commerce orders that the user has permissions to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders that the user has permission to view
-
filterFindByGroupId_PrevAndNext
CommerceOrder[] filterFindByGroupId_PrevAndNext(long commerceOrderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set of commerce orders that the user has permission to view where groupId = ?.- Parameters:
commerceOrderId
- the primary key of the current commerce ordergroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the commerce orders where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of commerce orders where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching commerce orders
-
filterCountByGroupId
int filterCountByGroupId(long groupId) Returns the number of commerce orders that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching commerce orders that the user has permission to view
-
findByUserId
Returns all the commerce orders where userId = ?.- Parameters:
userId
- the user ID- Returns:
- the matching commerce orders
-
findByUserId
Returns a range of all the commerce orders where userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
userId
- the user IDstart
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)- Returns:
- the range of matching commerce orders
-
findByUserId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders
-
findByUserId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce orders
-
findByUserId_First
CommerceOrder findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the first commerce order in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByUserId_First
CommerceOrder fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order, or
null
if a matching commerce order could not be found
-
findByUserId_Last
CommerceOrder findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the last commerce order in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByUserId_Last
CommerceOrder fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order, or
null
if a matching commerce order could not be found
-
findByUserId_PrevAndNext
CommerceOrder[] findByUserId_PrevAndNext(long commerceOrderId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set where userId = ?.- Parameters:
commerceOrderId
- the primary key of the current commerce orderuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
removeByUserId
void removeByUserId(long userId) Removes all the commerce orders where userId = ? from the database.- Parameters:
userId
- the user ID
-
countByUserId
int countByUserId(long userId) Returns the number of commerce orders where userId = ?.- Parameters:
userId
- the user ID- Returns:
- the number of matching commerce orders
-
findByBillingAddressId
Returns all the commerce orders where billingAddressId = ?.- Parameters:
billingAddressId
- the billing address ID- Returns:
- the matching commerce orders
-
findByBillingAddressId
Returns a range of all the commerce orders where billingAddressId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce orders
-
findByBillingAddressId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders
-
findByBillingAddressId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce orders
-
findByBillingAddressId_First
CommerceOrder findByBillingAddressId_First(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the first commerce order in the ordered set where billingAddressId = ?.- Parameters:
billingAddressId
- the billing address IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByBillingAddressId_First
CommerceOrder fetchByBillingAddressId_First(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where billingAddressId = ?.- Parameters:
billingAddressId
- the billing address IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order, or
null
if a matching commerce order could not be found
-
findByBillingAddressId_Last
CommerceOrder findByBillingAddressId_Last(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the last commerce order in the ordered set where billingAddressId = ?.- Parameters:
billingAddressId
- the billing address IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByBillingAddressId_Last
CommerceOrder fetchByBillingAddressId_Last(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where billingAddressId = ?.- Parameters:
billingAddressId
- the billing address IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order, or
null
if a matching commerce order could not be found
-
findByBillingAddressId_PrevAndNext
CommerceOrder[] findByBillingAddressId_PrevAndNext(long commerceOrderId, long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set where billingAddressId = ?.- Parameters:
commerceOrderId
- the primary key of the current commerce orderbillingAddressId
- the billing address IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
removeByBillingAddressId
void removeByBillingAddressId(long billingAddressId) Removes all the commerce orders where billingAddressId = ? from the database.- Parameters:
billingAddressId
- the billing address ID
-
countByBillingAddressId
int countByBillingAddressId(long billingAddressId) Returns the number of commerce orders where billingAddressId = ?.- Parameters:
billingAddressId
- the billing address ID- Returns:
- the number of matching commerce orders
-
findByCommerceAccountId
Returns all the commerce orders where commerceAccountId = ?.- Parameters:
commerceAccountId
- the commerce account ID- Returns:
- the matching commerce orders
-
findByCommerceAccountId
Returns a range of all the commerce orders where commerceAccountId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce orders
-
findByCommerceAccountId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders
-
findByCommerceAccountId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce orders
-
findByCommerceAccountId_First
CommerceOrder findByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the first commerce order in the ordered set where commerceAccountId = ?.- Parameters:
commerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByCommerceAccountId_First
CommerceOrder fetchByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where commerceAccountId = ?.- Parameters:
commerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order, or
null
if a matching commerce order could not be found
-
findByCommerceAccountId_Last
CommerceOrder findByCommerceAccountId_Last(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the last commerce order in the ordered set where commerceAccountId = ?.- Parameters:
commerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByCommerceAccountId_Last
CommerceOrder fetchByCommerceAccountId_Last(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where commerceAccountId = ?.- Parameters:
commerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order, or
null
if a matching commerce order could not be found
-
findByCommerceAccountId_PrevAndNext
CommerceOrder[] findByCommerceAccountId_PrevAndNext(long commerceOrderId, long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set where commerceAccountId = ?.- Parameters:
commerceOrderId
- the primary key of the current commerce ordercommerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
removeByCommerceAccountId
void removeByCommerceAccountId(long commerceAccountId) Removes all the commerce orders where commerceAccountId = ? from the database.- Parameters:
commerceAccountId
- the commerce account ID
-
countByCommerceAccountId
int countByCommerceAccountId(long commerceAccountId) Returns the number of commerce orders where commerceAccountId = ?.- Parameters:
commerceAccountId
- the commerce account ID- Returns:
- the number of matching commerce orders
-
findByShippingAddressId
Returns all the commerce orders where shippingAddressId = ?.- Parameters:
shippingAddressId
- the shipping address ID- Returns:
- the matching commerce orders
-
findByShippingAddressId
Returns a range of all the commerce orders where shippingAddressId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce orders
-
findByShippingAddressId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders
-
findByShippingAddressId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce orders
-
findByShippingAddressId_First
CommerceOrder findByShippingAddressId_First(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the first commerce order in the ordered set where shippingAddressId = ?.- Parameters:
shippingAddressId
- the shipping address IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByShippingAddressId_First
CommerceOrder fetchByShippingAddressId_First(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where shippingAddressId = ?.- Parameters:
shippingAddressId
- the shipping address IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order, or
null
if a matching commerce order could not be found
-
findByShippingAddressId_Last
CommerceOrder findByShippingAddressId_Last(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the last commerce order in the ordered set where shippingAddressId = ?.- Parameters:
shippingAddressId
- the shipping address IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByShippingAddressId_Last
CommerceOrder fetchByShippingAddressId_Last(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where shippingAddressId = ?.- Parameters:
shippingAddressId
- the shipping address IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order, or
null
if a matching commerce order could not be found
-
findByShippingAddressId_PrevAndNext
CommerceOrder[] findByShippingAddressId_PrevAndNext(long commerceOrderId, long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set where shippingAddressId = ?.- Parameters:
commerceOrderId
- the primary key of the current commerce ordershippingAddressId
- the shipping address IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
removeByShippingAddressId
void removeByShippingAddressId(long shippingAddressId) Removes all the commerce orders where shippingAddressId = ? from the database.- Parameters:
shippingAddressId
- the shipping address ID
-
countByShippingAddressId
int countByShippingAddressId(long shippingAddressId) Returns the number of commerce orders where shippingAddressId = ?.- Parameters:
shippingAddressId
- the shipping address ID- Returns:
- the number of matching commerce orders
-
findByG_C
Returns all the commerce orders where groupId = ? and commerceAccountId = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account ID- Returns:
- the matching commerce orders
-
findByG_C
Returns a range of all the commerce orders where groupId = ? and commerceAccountId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce orders
-
findByG_C
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders
-
findByG_C
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce orders
-
findByG_C_First
CommerceOrder findByG_C_First(long groupId, long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the first commerce order in the ordered set where groupId = ? and commerceAccountId = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByG_C_First
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 = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order, or
null
if a matching commerce order could not be found
-
findByG_C_Last
CommerceOrder findByG_C_Last(long groupId, long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the last commerce order in the ordered set where groupId = ? and commerceAccountId = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByG_C_Last
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 = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order, or
null
if a matching commerce order could not be found
-
findByG_C_PrevAndNext
CommerceOrder[] findByG_C_PrevAndNext(long commerceOrderId, long groupId, long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set where groupId = ? and commerceAccountId = ?.- Parameters:
commerceOrderId
- the primary key of the current commerce ordergroupId
- the group IDcommerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
filterFindByG_C
Returns all the commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account ID- Returns:
- the matching commerce orders that the user has permission to view
-
filterFindByG_C
Returns a range of all the commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce orders that the user has permission to view
-
filterFindByG_C
List<CommerceOrder> filterFindByG_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 that the user has permissions to view where groupId = ? and commerceAccountId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders that the user has permission to view
-
filterFindByG_C_PrevAndNext
CommerceOrder[] filterFindByG_C_PrevAndNext(long commerceOrderId, long groupId, long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set of commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ?.- Parameters:
commerceOrderId
- the primary key of the current commerce ordergroupId
- the group IDcommerceAccountId
- the commerce account IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
removeByG_C
void removeByG_C(long groupId, long commerceAccountId) Removes all the commerce orders where groupId = ? and commerceAccountId = ? from the database.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account ID
-
countByG_C
int countByG_C(long groupId, long commerceAccountId) Returns the number of commerce orders where groupId = ? and commerceAccountId = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account ID- Returns:
- the number of matching commerce orders
-
filterCountByG_C
int filterCountByG_C(long groupId, long commerceAccountId) Returns the number of commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account ID- Returns:
- the number of matching commerce orders that the user has permission to view
-
findByG_CP
Returns all the commerce orders where groupId = ? and commercePaymentMethodKey = ?.- Parameters:
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method key- Returns:
- the matching commerce orders
-
findByG_CP
Returns a range of all the commerce orders where groupId = ? and commercePaymentMethodKey = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce orders
-
findByG_CP
List<CommerceOrder> findByG_CP(long groupId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders
-
findByG_CP
List<CommerceOrder> findByG_CP(long groupId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce orders
-
findByG_CP_First
CommerceOrder findByG_CP_First(long groupId, String commercePaymentMethodKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the first commerce order in the ordered set where groupId = ? and commercePaymentMethodKey = ?.- Parameters:
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByG_CP_First
CommerceOrder fetchByG_CP_First(long groupId, String commercePaymentMethodKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the first commerce order in the ordered set where groupId = ? and commercePaymentMethodKey = ?.- Parameters:
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order, or
null
if a matching commerce order could not be found
-
findByG_CP_Last
CommerceOrder findByG_CP_Last(long groupId, String commercePaymentMethodKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the last commerce order in the ordered set where groupId = ? and commercePaymentMethodKey = ?.- Parameters:
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByG_CP_Last
CommerceOrder fetchByG_CP_Last(long groupId, String commercePaymentMethodKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns the last commerce order in the ordered set where groupId = ? and commercePaymentMethodKey = ?.- Parameters:
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order, or
null
if a matching commerce order could not be found
-
findByG_CP_PrevAndNext
CommerceOrder[] findByG_CP_PrevAndNext(long commerceOrderId, long groupId, String commercePaymentMethodKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set where groupId = ? and commercePaymentMethodKey = ?.- Parameters:
commerceOrderId
- the primary key of the current commerce ordergroupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
filterFindByG_CP
Returns all the commerce orders that the user has permission to view where groupId = ? and commercePaymentMethodKey = ?.- Parameters:
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method key- Returns:
- the matching commerce orders that the user has permission to view
-
filterFindByG_CP
List<CommerceOrder> filterFindByG_CP(long groupId, String commercePaymentMethodKey, int start, int end) Returns a range of all the commerce orders that the user has permission to view where groupId = ? and commercePaymentMethodKey = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce orders that the user has permission to view
-
filterFindByG_CP
List<CommerceOrder> filterFindByG_CP(long groupId, String commercePaymentMethodKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns an ordered range of all the commerce orders that the user has permissions to view where groupId = ? and commercePaymentMethodKey = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders that the user has permission to view
-
filterFindByG_CP_PrevAndNext
CommerceOrder[] filterFindByG_CP_PrevAndNext(long commerceOrderId, long groupId, String commercePaymentMethodKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set of commerce orders that the user has permission to view where groupId = ? and commercePaymentMethodKey = ?.- Parameters:
commerceOrderId
- the primary key of the current commerce ordergroupId
- the group IDcommercePaymentMethodKey
- the commerce payment method keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
removeByG_CP
Removes all the commerce orders where groupId = ? and commercePaymentMethodKey = ? from the database.- Parameters:
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method key
-
countByG_CP
Returns the number of commerce orders where groupId = ? and commercePaymentMethodKey = ?.- Parameters:
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method key- Returns:
- the number of matching commerce orders
-
filterCountByG_CP
Returns the number of commerce orders that the user has permission to view where groupId = ? and commercePaymentMethodKey = ?.- Parameters:
groupId
- the group IDcommercePaymentMethodKey
- the commerce payment method key- Returns:
- the number of matching commerce orders that the user has permission to view
-
findByG_U_O
Returns all the commerce orders where groupId = ? and userId = ? and orderStatus = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderStatus
- the order status- Returns:
- the matching commerce orders
-
findByG_U_O
Returns a range of all the commerce orders where groupId = ? and userId = ? and orderStatus = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce orders
-
findByG_U_O
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders
-
findByG_U_O
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce orders
-
findByG_U_O_First
CommerceOrder findByG_U_O_First(long groupId, long userId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the first commerce order in the ordered set where groupId = ? and userId = ? and orderStatus = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByG_U_O_First
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 = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order, or
null
if a matching commerce order could not be found
-
findByG_U_O_Last
CommerceOrder findByG_U_O_Last(long groupId, long userId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the last commerce order in the ordered set where groupId = ? and userId = ? and orderStatus = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByG_U_O_Last
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 = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order, or
null
if a matching commerce order could not be found
-
findByG_U_O_PrevAndNext
CommerceOrder[] findByG_U_O_PrevAndNext(long commerceOrderId, long groupId, long userId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set where groupId = ? and userId = ? and orderStatus = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
filterFindByG_U_O
Returns all the commerce orders that the user has permission to view where groupId = ? and userId = ? and orderStatus = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderStatus
- the order status- Returns:
- the matching commerce orders that the user has permission to view
-
filterFindByG_U_O
List<CommerceOrder> filterFindByG_U_O(long groupId, long userId, int orderStatus, int start, int end) Returns a range of all the commerce orders that the user has permission to view where groupId = ? and userId = ? and orderStatus = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce orders that the user has permission to view
-
filterFindByG_U_O
List<CommerceOrder> filterFindByG_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 that the user has permissions to view where groupId = ? and userId = ? and orderStatus = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders that the user has permission to view
-
filterFindByG_U_O_PrevAndNext
CommerceOrder[] filterFindByG_U_O_PrevAndNext(long commerceOrderId, long groupId, long userId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set of commerce orders that the user has permission to view where groupId = ? and userId = ? and orderStatus = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
removeByG_U_O
void removeByG_U_O(long groupId, long userId, int orderStatus) Removes all the commerce orders where groupId = ? and userId = ? and orderStatus = ? from the database.- Parameters:
groupId
- the group IDuserId
- the user IDorderStatus
- the order status
-
countByG_U_O
int countByG_U_O(long groupId, long userId, int orderStatus) Returns the number of commerce orders where groupId = ? and userId = ? and orderStatus = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderStatus
- the order status- Returns:
- the number of matching commerce orders
-
filterCountByG_U_O
int filterCountByG_U_O(long groupId, long userId, int orderStatus) Returns the number of commerce orders that the user has permission to view where groupId = ? and userId = ? and orderStatus = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderStatus
- the order status- Returns:
- the number of matching commerce orders that the user has permission to view
-
findByG_C_O
Returns all the commerce orders where groupId = ? and commerceAccountId = ? and orderStatus = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order status- Returns:
- the matching commerce orders
-
findByG_C_O
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce orders
-
findByG_C_O
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders
-
findByG_C_O
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce orders
-
findByG_C_O_First
CommerceOrder findByG_C_O_First(long groupId, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the first commerce order in the ordered set where groupId = ? and commerceAccountId = ? and orderStatus = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByG_C_O_First
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 = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order, or
null
if a matching commerce order could not be found
-
findByG_C_O_Last
CommerceOrder findByG_C_O_Last(long groupId, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the last commerce order in the ordered set where groupId = ? and commerceAccountId = ? and orderStatus = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByG_C_O_Last
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 = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order, or
null
if a matching commerce order could not be found
-
findByG_C_O_PrevAndNext
CommerceOrder[] findByG_C_O_PrevAndNext(long commerceOrderId, long groupId, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set where groupId = ? and commerceAccountId = ? and orderStatus = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
filterFindByG_C_O
Returns all the commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ? and orderStatus = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order status- Returns:
- the matching commerce orders that the user has permission to view
-
filterFindByG_C_O
List<CommerceOrder> filterFindByG_C_O(long groupId, long commerceAccountId, int orderStatus, int start, int end) Returns a range of all the commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ? and orderStatus = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce orders that the user has permission to view
-
filterFindByG_C_O
List<CommerceOrder> filterFindByG_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 that the user has permissions to view where groupId = ? and commerceAccountId = ? and orderStatus = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders that the user has permission to view
-
filterFindByG_C_O_PrevAndNext
CommerceOrder[] filterFindByG_C_O_PrevAndNext(long commerceOrderId, long groupId, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set of commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ? and orderStatus = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
removeByG_C_O
void removeByG_C_O(long groupId, long commerceAccountId, int orderStatus) Removes all the commerce orders where groupId = ? and commerceAccountId = ? and orderStatus = ? from the database.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order status
-
countByG_C_O
int countByG_C_O(long groupId, long commerceAccountId, int orderStatus) Returns the number of commerce orders where groupId = ? and commerceAccountId = ? and orderStatus = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order status- Returns:
- the number of matching commerce orders
-
filterCountByG_C_O
int filterCountByG_C_O(long groupId, long commerceAccountId, int orderStatus) Returns the number of commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ? and orderStatus = ?.- Parameters:
groupId
- the group IDcommerceAccountId
- the commerce account IDorderStatus
- the order status- Returns:
- the number of matching commerce orders that the user has permission to view
-
findByU_LtC_O
Returns all the commerce orders where userId = ? and createDate < ? and orderStatus = ?.- Parameters:
userId
- the user IDcreateDate
- the create dateorderStatus
- the order status- Returns:
- the matching commerce orders
-
findByU_LtC_O
List<CommerceOrder> findByU_LtC_O(long userId, Date createDate, int orderStatus, int start, int end) Returns a range of all the commerce orders where userId = ? and createDate < ? and orderStatus = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce orders
-
findByU_LtC_O
List<CommerceOrder> findByU_LtC_O(long userId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders
-
findByU_LtC_O
List<CommerceOrder> findByU_LtC_O(long userId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce orders
-
findByU_LtC_O_First
CommerceOrder findByU_LtC_O_First(long userId, Date createDate, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the first commerce order in the ordered set where userId = ? and createDate < ? and orderStatus = ?.- Parameters:
userId
- the user IDcreateDate
- the create dateorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByU_LtC_O_First
CommerceOrder fetchByU_LtC_O_First(long userId, 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 = ?.- Parameters:
userId
- the user IDcreateDate
- the create dateorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order, or
null
if a matching commerce order could not be found
-
findByU_LtC_O_Last
CommerceOrder findByU_LtC_O_Last(long userId, Date createDate, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the last commerce order in the ordered set where userId = ? and createDate < ? and orderStatus = ?.- Parameters:
userId
- the user IDcreateDate
- the create dateorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByU_LtC_O_Last
CommerceOrder fetchByU_LtC_O_Last(long userId, 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 = ?.- Parameters:
userId
- the user IDcreateDate
- the create dateorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order, or
null
if a matching commerce order could not be found
-
findByU_LtC_O_PrevAndNext
CommerceOrder[] findByU_LtC_O_PrevAndNext(long commerceOrderId, long userId, Date createDate, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set where userId = ? and createDate < ? and orderStatus = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
removeByU_LtC_O
Removes all the commerce orders where userId = ? and createDate < ? and orderStatus = ? from the database.- Parameters:
userId
- the user IDcreateDate
- the create dateorderStatus
- the order status
-
countByU_LtC_O
Returns the number of commerce orders where userId = ? and createDate < ? and orderStatus = ?.- Parameters:
userId
- the user IDcreateDate
- the create dateorderStatus
- the order status- Returns:
- the number of matching commerce orders
-
findByC_LtC_O
Returns all the commerce orders where createDate < ? and commerceAccountId = ? and orderStatus = ?.- Parameters:
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order status- Returns:
- the matching commerce orders
-
findByC_LtC_O
List<CommerceOrder> findByC_LtC_O(Date createDate, long commerceAccountId, int orderStatus, int start, int end) Returns a range of all the commerce orders where createDate < ? and commerceAccountId = ? and orderStatus = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce orders
-
findByC_LtC_O
List<CommerceOrder> findByC_LtC_O(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce orders
-
findByC_LtC_O
List<CommerceOrder> findByC_LtC_O(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce orders
-
findByC_LtC_O_First
CommerceOrder findByC_LtC_O_First(Date createDate, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the first commerce order in the ordered set where createDate < ? and commerceAccountId = ? and orderStatus = ?.- Parameters:
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByC_LtC_O_First
CommerceOrder fetchByC_LtC_O_First(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 = ?.- Parameters:
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order, or
null
if a matching commerce order could not be found
-
findByC_LtC_O_Last
CommerceOrder findByC_LtC_O_Last(Date createDate, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the last commerce order in the ordered set where createDate < ? and commerceAccountId = ? and orderStatus = ?.- Parameters:
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByC_LtC_O_Last
CommerceOrder fetchByC_LtC_O_Last(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 = ?.- Parameters:
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order, or
null
if a matching commerce order could not be found
-
findByC_LtC_O_PrevAndNext
CommerceOrder[] findByC_LtC_O_PrevAndNext(long commerceOrderId, Date createDate, long commerceAccountId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException Returns the commerce orders before and after the current commerce order in the ordered set where createDate < ? and commerceAccountId = ? and orderStatus = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
removeByC_LtC_O
Removes all the commerce orders where createDate < ? and commerceAccountId = ? and orderStatus = ? from the database.- Parameters:
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order status
-
countByC_LtC_O
Returns the number of commerce orders where createDate < ? and commerceAccountId = ? and orderStatus = ?.- Parameters:
createDate
- the create datecommerceAccountId
- the commerce account IDorderStatus
- the order status- Returns:
- the number of matching commerce orders
-
findByERC_C
Returns the commerce order where externalReferenceCode = ? and companyId = ? or throws aNoSuchOrderException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce order
- Throws:
NoSuchOrderException
- if a matching commerce order could not be found
-
fetchByERC_C
Returns the commerce order where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce order, or
null
if a matching commerce order could not be found
-
fetchByERC_C
Returns the commerce order where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce order, or
null
if a matching commerce order could not be found
-
removeByERC_C
CommerceOrder removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchOrderException Removes the commerce order where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the commerce order that was removed
- Throws:
NoSuchOrderException
-
countByERC_C
Returns the number of commerce orders where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching commerce orders
-
cacheResult
Caches the commerce order in the entity cache if it is enabled.- Parameters:
commerceOrder
- the commerce order
-
cacheResult
Caches the commerce orders in the entity cache if it is enabled.- Parameters:
commerceOrders
- the commerce orders
-
create
Creates a new commerce order with the primary key. Does not add the commerce order to the database.- Parameters:
commerceOrderId
- the primary key for the new commerce order- Returns:
- the new commerce order
-
remove
Removes the commerce order with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceOrderId
- the primary key of the commerce order- Returns:
- the commerce order that was removed
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the commerce order with the primary key or throws aNoSuchOrderException
if it could not be found.- Parameters:
commerceOrderId
- the primary key of the commerce order- Returns:
- the commerce order
- Throws:
NoSuchOrderException
- if a commerce order with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce order with the primary key or returnsnull
if it could not be found.- Parameters:
commerceOrderId
- the primary key of the commerce order- Returns:
- the commerce order, or
null
if a commerce order with the primary key could not be found
-
findAll
List<CommerceOrder> findAll()Returns all the commerce orders.- Returns:
- the commerce orders
-
findAll
Returns a range of all the commerce orders.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
start
- the lower bound of the range of commerce ordersend
- the upper bound of the range of commerce orders (not inclusive)- Returns:
- the range of commerce orders
-
findAll
List<CommerceOrder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) Returns an ordered range of all the commerce orders.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of commerce orders
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceOrderModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce orders
-
removeAll
void removeAll()Removes all the commerce orders from the database. -
countAll
int countAll()Returns the number of commerce orders.- Returns:
- the number of commerce orders
-