Interface CommerceOrderPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrder>

@ProviderType public interface CommerceOrderPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrder>
The persistence interface for the commerce order service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
    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
    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 returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the commerce order where externalReferenceCode = ? and companyId = ? or returns null 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 returns null 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 returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the commerce order where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    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 = ?.
    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 a NoSuchOrderException 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 a NoSuchOrderException 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 = ?.
    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 a NoSuchOrderException 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
    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

      List<CommerceOrder> findByUuid(String uuid)
      Returns all the commerce orders where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce orders
    • findByUuid

      List<CommerceOrder> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce orders where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 order
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce order
      Throws:
      NoSuchOrderException - if a commerce order with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the commerce orders where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of commerce orders where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce orders
    • findByUUID_G

      CommerceOrder findByUUID_G(String uuid, long groupId) throws NoSuchOrderException
      Returns the commerce order where uuid = ? and groupId = ? or throws a NoSuchOrderException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching commerce order
      Throws:
      NoSuchOrderException - if a matching commerce order could not be found
    • fetchByUUID_G

      CommerceOrder fetchByUUID_G(String uuid, long groupId)
      Returns the commerce order where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching commerce order, or null if a matching commerce order could not be found
    • fetchByUUID_G

      CommerceOrder fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the commerce order where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce order, or null if a matching commerce order could not be found
    • removeByUUID_G

      CommerceOrder removeByUUID_G(String uuid, long groupId) throws NoSuchOrderException
      Removes the commerce order where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the commerce order that was removed
      Throws:
      NoSuchOrderException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of commerce orders where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching commerce orders
    • findByUuid_C

      List<CommerceOrder> findByUuid_C(String uuid, long companyId)
      Returns all the commerce orders where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce orders
    • findByUuid_C

      List<CommerceOrder> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce orders where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 order
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce order
      Throws:
      NoSuchOrderException - if a commerce order with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the commerce orders where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of commerce orders where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce orders
    • findByGroupId

      List<CommerceOrder> findByGroupId(long groupId)
      Returns all the commerce orders where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching commerce orders
    • findByGroupId

      List<CommerceOrder> findByGroupId(long groupId, int start, int end)
      Returns a range of all the commerce orders where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 order
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce order
      Throws:
      NoSuchOrderException - if a commerce order with the primary key could not be found
    • filterFindByGroupId

      List<CommerceOrder> filterFindByGroupId(long groupId)
      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

      List<CommerceOrder> filterFindByGroupId(long groupId, int start, int end)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 order
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<CommerceOrder> findByUserId(long userId)
      Returns all the commerce orders where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the matching commerce orders
    • findByUserId

      List<CommerceOrder> findByUserId(long userId, int start, int end)
      Returns a range of all the commerce orders where userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 order
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<CommerceOrder> findByBillingAddressId(long billingAddressId)
      Returns all the commerce orders where billingAddressId = ?.
      Parameters:
      billingAddressId - the billing address ID
      Returns:
      the matching commerce orders
    • findByBillingAddressId

      List<CommerceOrder> findByBillingAddressId(long billingAddressId, int start, int end)
      Returns a range of all the commerce orders where billingAddressId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      billingAddressId - the billing address ID
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      billingAddressId - the billing address ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      billingAddressId - the billing address ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 order
      billingAddressId - the billing address ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<CommerceOrder> findByCommerceAccountId(long commerceAccountId)
      Returns all the commerce orders where commerceAccountId = ?.
      Parameters:
      commerceAccountId - the commerce account ID
      Returns:
      the matching commerce orders
    • findByCommerceAccountId

      List<CommerceOrder> findByCommerceAccountId(long commerceAccountId, int start, int end)
      Returns a range of all the commerce orders where commerceAccountId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      commerceAccountId - the commerce account ID
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      commerceAccountId - the commerce account ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      commerceAccountId - the commerce account ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 order
      commerceAccountId - the commerce account ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<CommerceOrder> findByShippingAddressId(long shippingAddressId)
      Returns all the commerce orders where shippingAddressId = ?.
      Parameters:
      shippingAddressId - the shipping address ID
      Returns:
      the matching commerce orders
    • findByShippingAddressId

      List<CommerceOrder> findByShippingAddressId(long shippingAddressId, int start, int end)
      Returns a range of all the commerce orders where shippingAddressId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      shippingAddressId - the shipping address ID
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      shippingAddressId - the shipping address ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      shippingAddressId - the shipping address ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 order
      shippingAddressId - the shipping address ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<CommerceOrder> findByG_C(long groupId, long commerceAccountId)
      Returns all the commerce orders where groupId = ? and commerceAccountId = ?.
      Parameters:
      groupId - the group ID
      commerceAccountId - the commerce account ID
      Returns:
      the matching commerce orders
    • findByG_C

      List<CommerceOrder> findByG_C(long groupId, long commerceAccountId, int start, int end)
      Returns a range of all the commerce orders where groupId = ? and commerceAccountId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      commerceAccountId - the commerce account ID
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      commerceAccountId - the commerce account ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      commerceAccountId - the commerce account ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      commerceAccountId - the commerce account ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      commerceAccountId - the commerce account ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      commerceAccountId - the commerce account ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      commerceAccountId - the commerce account ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 order
      groupId - the group ID
      commerceAccountId - the commerce account ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce order
      Throws:
      NoSuchOrderException - if a commerce order with the primary key could not be found
    • filterFindByG_C

      List<CommerceOrder> filterFindByG_C(long groupId, long commerceAccountId)
      Returns all the commerce orders that the user has permission to view where groupId = ? and commerceAccountId = ?.
      Parameters:
      groupId - the group ID
      commerceAccountId - the commerce account ID
      Returns:
      the matching commerce orders that the user has permission to view
    • filterFindByG_C

      List<CommerceOrder> 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      commerceAccountId - the commerce account ID
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      commerceAccountId - the commerce account ID
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 order
      groupId - the group ID
      commerceAccountId - the commerce account ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      commerceAccountId - 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 ID
      commerceAccountId - 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 ID
      commerceAccountId - the commerce account ID
      Returns:
      the number of matching commerce orders that the user has permission to view
    • findByG_CP

      List<CommerceOrder> findByG_CP(long groupId, String commercePaymentMethodKey)
      Returns all the commerce orders where groupId = ? and commercePaymentMethodKey = ?.
      Parameters:
      groupId - the group ID
      commercePaymentMethodKey - the commerce payment method key
      Returns:
      the matching commerce orders
    • findByG_CP

      List<CommerceOrder> findByG_CP(long groupId, String commercePaymentMethodKey, int start, int end)
      Returns a range of all the commerce orders where groupId = ? and commercePaymentMethodKey = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      commercePaymentMethodKey - the commerce payment method key
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      commercePaymentMethodKey - the commerce payment method key
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      commercePaymentMethodKey - the commerce payment method key
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      commercePaymentMethodKey - the commerce payment method key
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      commercePaymentMethodKey - the commerce payment method key
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      commercePaymentMethodKey - the commerce payment method key
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      commercePaymentMethodKey - the commerce payment method key
      orderByComparator - the comparator to order the set by (optionally null)
      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 order
      groupId - the group ID
      commercePaymentMethodKey - the commerce payment method key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce order
      Throws:
      NoSuchOrderException - if a commerce order with the primary key could not be found
    • filterFindByG_CP

      List<CommerceOrder> filterFindByG_CP(long groupId, String commercePaymentMethodKey)
      Returns all the commerce orders that the user has permission to view where groupId = ? and commercePaymentMethodKey = ?.
      Parameters:
      groupId - the group ID
      commercePaymentMethodKey - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      commercePaymentMethodKey - the commerce payment method key
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      commercePaymentMethodKey - the commerce payment method key
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 order
      groupId - the group ID
      commercePaymentMethodKey - the commerce payment method key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce order
      Throws:
      NoSuchOrderException - if a commerce order with the primary key could not be found
    • removeByG_CP

      void removeByG_CP(long groupId, String commercePaymentMethodKey)
      Removes all the commerce orders where groupId = ? and commercePaymentMethodKey = ? from the database.
      Parameters:
      groupId - the group ID
      commercePaymentMethodKey - the commerce payment method key
    • countByG_CP

      int countByG_CP(long groupId, String commercePaymentMethodKey)
      Returns the number of commerce orders where groupId = ? and commercePaymentMethodKey = ?.
      Parameters:
      groupId - the group ID
      commercePaymentMethodKey - the commerce payment method key
      Returns:
      the number of matching commerce orders
    • filterCountByG_CP

      int filterCountByG_CP(long groupId, String commercePaymentMethodKey)
      Returns the number of commerce orders that the user has permission to view where groupId = ? and commercePaymentMethodKey = ?.
      Parameters:
      groupId - the group ID
      commercePaymentMethodKey - the commerce payment method key
      Returns:
      the number of matching commerce orders that the user has permission to view
    • findByG_U_O

      List<CommerceOrder> findByG_U_O(long groupId, long userId, int orderStatus)
      Returns all the commerce orders where groupId = ? and userId = ? and orderStatus = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      orderStatus - the order status
      Returns:
      the matching commerce orders
    • findByG_U_O

      List<CommerceOrder> findByG_U_O(long groupId, long userId, int orderStatus, int start, int end)
      Returns a range of all the commerce orders where groupId = ? and userId = ? and orderStatus = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      userId - the user ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      userId - the user ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      userId - the user ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      userId - the user ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 order
      groupId - the group ID
      userId - the user ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<CommerceOrder> 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 = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      orderStatus - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 order
      groupId - the group ID
      userId - the user ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      userId - the user ID
      orderStatus - 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 ID
      userId - the user ID
      orderStatus - 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 ID
      userId - the user ID
      orderStatus - the order status
      Returns:
      the number of matching commerce orders that the user has permission to view
    • findByG_C_O

      List<CommerceOrder> findByG_C_O(long groupId, long commerceAccountId, int orderStatus)
      Returns all the commerce orders where groupId = ? and commerceAccountId = ? and orderStatus = ?.
      Parameters:
      groupId - the group ID
      commerceAccountId - the commerce account ID
      orderStatus - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 order
      groupId - the group ID
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<CommerceOrder> 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 = ?.
      Parameters:
      groupId - the group ID
      commerceAccountId - the commerce account ID
      orderStatus - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      groupId - the group ID
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 order
      groupId - the group ID
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      commerceAccountId - the commerce account ID
      orderStatus - 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 ID
      commerceAccountId - the commerce account ID
      orderStatus - 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 ID
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      Returns:
      the number of matching commerce orders that the user has permission to view
    • findByU_LtC_O

      List<CommerceOrder> findByU_LtC_O(long userId, Date createDate, int orderStatus)
      Returns all the commerce orders where userId = ? and createDate < ? and orderStatus = ?.
      Parameters:
      userId - the user ID
      createDate - the create date
      orderStatus - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      userId - the user ID
      createDate - the create date
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      userId - the user ID
      createDate - the create date
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      userId - the user ID
      createDate - the create date
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      createDate - the create date
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      createDate - the create date
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      createDate - the create date
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      createDate - the create date
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 order
      userId - the user ID
      createDate - the create date
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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

      void removeByU_LtC_O(long userId, Date createDate, int orderStatus)
      Removes all the commerce orders where userId = ? and createDate < ? and orderStatus = ? from the database.
      Parameters:
      userId - the user ID
      createDate - the create date
      orderStatus - the order status
    • countByU_LtC_O

      int countByU_LtC_O(long userId, Date createDate, int orderStatus)
      Returns the number of commerce orders where userId = ? and createDate < ? and orderStatus = ?.
      Parameters:
      userId - the user ID
      createDate - the create date
      orderStatus - the order status
      Returns:
      the number of matching commerce orders
    • findByC_LtC_O

      List<CommerceOrder> findByC_LtC_O(Date createDate, long commerceAccountId, int orderStatus)
      Returns all the commerce orders where createDate < ? and commerceAccountId = ? and orderStatus = ?.
      Parameters:
      createDate - the create date
      commerceAccountId - the commerce account ID
      orderStatus - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      createDate - the create date
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      createDate - the create date
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      createDate - the create date
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 date
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 date
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 date
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 date
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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 order
      createDate - the create date
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      orderByComparator - the comparator to order the set by (optionally null)
      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

      void removeByC_LtC_O(Date createDate, long commerceAccountId, int orderStatus)
      Removes all the commerce orders where createDate < ? and commerceAccountId = ? and orderStatus = ? from the database.
      Parameters:
      createDate - the create date
      commerceAccountId - the commerce account ID
      orderStatus - the order status
    • countByC_LtC_O

      int countByC_LtC_O(Date createDate, long commerceAccountId, int orderStatus)
      Returns the number of commerce orders where createDate < ? and commerceAccountId = ? and orderStatus = ?.
      Parameters:
      createDate - the create date
      commerceAccountId - the commerce account ID
      orderStatus - the order status
      Returns:
      the number of matching commerce orders
    • findByERC_C

      CommerceOrder findByERC_C(String externalReferenceCode, long companyId) throws NoSuchOrderException
      Returns the commerce order where externalReferenceCode = ? and companyId = ? or throws a NoSuchOrderException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching commerce order
      Throws:
      NoSuchOrderException - if a matching commerce order could not be found
    • fetchByERC_C

      CommerceOrder fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the commerce order where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching commerce order, or null if a matching commerce order could not be found
    • fetchByERC_C

      CommerceOrder fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the commerce order where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - 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 code
      companyId - the company ID
      Returns:
      the commerce order that was removed
      Throws:
      NoSuchOrderException
    • countByERC_C

      int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of commerce orders where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching commerce orders
    • cacheResult

      void cacheResult(CommerceOrder commerceOrder)
      Caches the commerce order in the entity cache if it is enabled.
      Parameters:
      commerceOrder - the commerce order
    • cacheResult

      void cacheResult(List<CommerceOrder> commerceOrders)
      Caches the commerce orders in the entity cache if it is enabled.
      Parameters:
      commerceOrders - the commerce orders
    • create

      CommerceOrder create(long commerceOrderId)
      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

      CommerceOrder remove(long commerceOrderId) throws NoSuchOrderException
      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

      CommerceOrder updateImpl(CommerceOrder commerceOrder)
    • findByPrimaryKey

      CommerceOrder findByPrimaryKey(long commerceOrderId) throws NoSuchOrderException
      Returns the commerce order with the primary key or throws a NoSuchOrderException 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

      CommerceOrder fetchByPrimaryKey(long commerceOrderId)
      Returns the commerce order with the primary key or returns null 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

      List<CommerceOrder> findAll(int start, int end)
      Returns a range of all the commerce orders.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      start - the lower bound of the range of commerce orders
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceOrderModelImpl.

      Parameters:
      start - the lower bound of the range of commerce orders
      end - the upper bound of the range of commerce orders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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