@ProviderType public interface CommerceOrderPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrder>
Caching information and settings can be found in portal.properties
com.liferay.commerce.service.persistence.impl.CommerceOrderPersistenceImpl,
CommerceOrderUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommerceOrder commerceOrder)
Caches the commerce order in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceOrder> commerceOrders)
Caches the commerce orders in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce orders.
|
int |
countByBillingAddressId(long billingAddressId)
Returns the number of commerce orders where billingAddressId = ?.
|
int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of commerce orders where companyId = ? and externalReferenceCode = ?.
|
int |
countByG_O(long groupId,
long orderUserId)
Returns the number of commerce orders where groupId = ? and orderUserId = ?.
|
int |
countByG_U_O(long groupId,
long userId,
int orderStatus)
Returns the number of commerce orders where groupId = ? and userId = ? and orderStatus = ?.
|
int |
countByGroupId(long groupId)
Returns the number of commerce orders where groupId = ?.
|
int |
countByShippingAddressId(long shippingAddressId)
Returns the number of commerce orders where shippingAddressId = ?.
|
int |
countByU_LtC_O(long userId,
java.util.Date createDate,
int orderStatus)
Returns the number of commerce orders where userId = ? and createDate < ? and orderStatus = ?.
|
int |
countByUserId(long userId)
Returns the number of commerce orders where userId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce orders where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce orders where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce orders where uuid = ?.
|
CommerceOrder |
create(long commerceOrderId)
Creates a new commerce order with the primary key.
|
CommerceOrder |
fetchByBillingAddressId_First(long billingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where billingAddressId = ?.
|
CommerceOrder |
fetchByBillingAddressId_Last(long billingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where billingAddressId = ?.
|
CommerceOrder |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce order where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
CommerceOrder |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean retrieveFromCache)
Returns the commerce order where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceOrder |
fetchByG_O_First(long groupId,
long orderUserId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ? and orderUserId = ?.
|
CommerceOrder |
fetchByG_O_Last(long groupId,
long orderUserId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ? and orderUserId = ?.
|
CommerceOrder |
fetchByG_U_O_First(long groupId,
long userId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ? and userId = ? and orderStatus = ?.
|
CommerceOrder |
fetchByG_U_O_Last(long groupId,
long userId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ? and userId = ? and orderStatus = ?.
|
CommerceOrder |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ?.
|
CommerceOrder |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ?.
|
CommerceOrder |
fetchByPrimaryKey(long commerceOrderId)
Returns the commerce order with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,CommerceOrder> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
CommerceOrder |
fetchByShippingAddressId_First(long shippingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where shippingAddressId = ?.
|
CommerceOrder |
fetchByShippingAddressId_Last(long shippingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where shippingAddressId = ?.
|
CommerceOrder |
fetchByU_LtC_O_First(long userId,
java.util.Date createDate,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where userId = ? and createDate < ? and orderStatus = ?.
|
CommerceOrder |
fetchByU_LtC_O_Last(long userId,
java.util.Date createDate,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where userId = ? and createDate < ? and orderStatus = ?.
|
CommerceOrder |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where userId = ?.
|
CommerceOrder |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where userId = ?.
|
CommerceOrder |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrder |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrder |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where uuid = ?.
|
CommerceOrder |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce order where uuid = ? and groupId = ? or returns
null if it could not be found. |
CommerceOrder |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the commerce order where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceOrder |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where uuid = ?.
|
java.util.List<CommerceOrder> |
findAll()
Returns all the commerce orders.
|
java.util.List<CommerceOrder> |
findAll(int start,
int end)
Returns a range of all the commerce orders.
|
java.util.List<CommerceOrder> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders.
|
java.util.List<CommerceOrder> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce orders.
|
CommerceOrder |
findByBillingAddressId_First(long billingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where billingAddressId = ?.
|
CommerceOrder |
findByBillingAddressId_Last(long billingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where billingAddressId = ?.
|
CommerceOrder[] |
findByBillingAddressId_PrevAndNext(long commerceOrderId,
long billingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where billingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByBillingAddressId(long billingAddressId)
Returns all the commerce orders where billingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByBillingAddressId(long billingAddressId,
int start,
int end)
Returns a range of all the commerce orders where billingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByBillingAddressId(long billingAddressId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where billingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByBillingAddressId(long billingAddressId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce orders where billingAddressId = ?.
|
CommerceOrder |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce order where companyId = ? and externalReferenceCode = ? or throws a
NoSuchOrderException if it could not be found. |
CommerceOrder |
findByG_O_First(long groupId,
long orderUserId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ? and orderUserId = ?.
|
CommerceOrder |
findByG_O_Last(long groupId,
long orderUserId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ? and orderUserId = ?.
|
CommerceOrder[] |
findByG_O_PrevAndNext(long commerceOrderId,
long groupId,
long orderUserId,
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 orderUserId = ?.
|
java.util.List<CommerceOrder> |
findByG_O(long groupId,
long orderUserId)
Returns all the commerce orders where groupId = ? and orderUserId = ?.
|
java.util.List<CommerceOrder> |
findByG_O(long groupId,
long orderUserId,
int start,
int end)
Returns a range of all the commerce orders where groupId = ? and orderUserId = ?.
|
java.util.List<CommerceOrder> |
findByG_O(long groupId,
long orderUserId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where groupId = ? and orderUserId = ?.
|
java.util.List<CommerceOrder> |
findByG_O(long groupId,
long orderUserId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce orders where groupId = ? and orderUserId = ?.
|
CommerceOrder |
findByG_U_O_First(long groupId,
long userId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ? and userId = ? and orderStatus = ?.
|
CommerceOrder |
findByG_U_O_Last(long groupId,
long userId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ? and userId = ? and orderStatus = ?.
|
CommerceOrder[] |
findByG_U_O_PrevAndNext(long commerceOrderId,
long groupId,
long userId,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where groupId = ? and userId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByG_U_O(long groupId,
long userId,
int orderStatus)
Returns all the commerce orders where groupId = ? and userId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByG_U_O(long groupId,
long userId,
int orderStatus,
int start,
int end)
Returns a range of all the commerce orders where groupId = ? and userId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByG_U_O(long groupId,
long userId,
int orderStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where groupId = ? and userId = ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByG_U_O(long groupId,
long userId,
int orderStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce orders where groupId = ? and userId = ? and orderStatus = ?.
|
CommerceOrder |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where groupId = ?.
|
CommerceOrder |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where groupId = ?.
|
CommerceOrder[] |
findByGroupId_PrevAndNext(long commerceOrderId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where groupId = ?.
|
java.util.List<CommerceOrder> |
findByGroupId(long groupId)
Returns all the commerce orders where groupId = ?.
|
java.util.List<CommerceOrder> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce orders where groupId = ?.
|
java.util.List<CommerceOrder> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where groupId = ?.
|
java.util.List<CommerceOrder> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce orders where groupId = ?.
|
CommerceOrder |
findByPrimaryKey(long commerceOrderId)
Returns the commerce order with the primary key or throws a
NoSuchOrderException if it could not be found. |
CommerceOrder |
findByShippingAddressId_First(long shippingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where shippingAddressId = ?.
|
CommerceOrder |
findByShippingAddressId_Last(long shippingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where shippingAddressId = ?.
|
CommerceOrder[] |
findByShippingAddressId_PrevAndNext(long commerceOrderId,
long shippingAddressId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where shippingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByShippingAddressId(long shippingAddressId)
Returns all the commerce orders where shippingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByShippingAddressId(long shippingAddressId,
int start,
int end)
Returns a range of all the commerce orders where shippingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByShippingAddressId(long shippingAddressId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where shippingAddressId = ?.
|
java.util.List<CommerceOrder> |
findByShippingAddressId(long shippingAddressId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce orders where shippingAddressId = ?.
|
CommerceOrder |
findByU_LtC_O_First(long userId,
java.util.Date createDate,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where userId = ? and createDate < ? and orderStatus = ?.
|
CommerceOrder |
findByU_LtC_O_Last(long userId,
java.util.Date createDate,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where userId = ? and createDate < ? and orderStatus = ?.
|
CommerceOrder[] |
findByU_LtC_O_PrevAndNext(long commerceOrderId,
long userId,
java.util.Date createDate,
int orderStatus,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where userId = ? and createDate < ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByU_LtC_O(long userId,
java.util.Date createDate,
int orderStatus)
Returns all the commerce orders where userId = ? and createDate < ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByU_LtC_O(long userId,
java.util.Date createDate,
int orderStatus,
int start,
int end)
Returns a range of all the commerce orders where userId = ? and createDate < ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByU_LtC_O(long userId,
java.util.Date createDate,
int orderStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where userId = ? and createDate < ? and orderStatus = ?.
|
java.util.List<CommerceOrder> |
findByU_LtC_O(long userId,
java.util.Date createDate,
int orderStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce orders where userId = ? and createDate < ? and orderStatus = ?.
|
CommerceOrder |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where userId = ?.
|
CommerceOrder |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where userId = ?.
|
CommerceOrder[] |
findByUserId_PrevAndNext(long commerceOrderId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where userId = ?.
|
java.util.List<CommerceOrder> |
findByUserId(long userId)
Returns all the commerce orders where userId = ?.
|
java.util.List<CommerceOrder> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the commerce orders where userId = ?.
|
java.util.List<CommerceOrder> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where userId = ?.
|
java.util.List<CommerceOrder> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce orders where userId = ?.
|
CommerceOrder |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrder |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrder[] |
findByUuid_C_PrevAndNext(long commerceOrderId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrder> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce orders where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrder> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce orders where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrder> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrder> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce orders where uuid = ? and companyId = ?.
|
CommerceOrder |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the first commerce order in the ordered set where uuid = ?.
|
CommerceOrder |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce order where uuid = ? and groupId = ? or throws a
NoSuchOrderException if it could not be found. |
CommerceOrder |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the last commerce order in the ordered set where uuid = ?.
|
CommerceOrder[] |
findByUuid_PrevAndNext(long commerceOrderId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns the commerce orders before and after the current commerce order in the ordered set where uuid = ?.
|
java.util.List<CommerceOrder> |
findByUuid(java.lang.String uuid)
Returns all the commerce orders where uuid = ?.
|
java.util.List<CommerceOrder> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce orders where uuid = ?.
|
java.util.List<CommerceOrder> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Returns an ordered range of all the commerce orders where uuid = ?.
|
java.util.List<CommerceOrder> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce orders where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
CommerceOrder |
remove(long commerceOrderId)
Removes the commerce order with the primary key from the database.
|
void |
removeAll()
Removes all the commerce orders from the database.
|
void |
removeByBillingAddressId(long billingAddressId)
Removes all the commerce orders where billingAddressId = ? from the database.
|
CommerceOrder |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the commerce order where companyId = ? and externalReferenceCode = ? from the database.
|
void |
removeByG_O(long groupId,
long orderUserId)
Removes all the commerce orders where groupId = ? and orderUserId = ? from the database.
|
void |
removeByG_U_O(long groupId,
long userId,
int orderStatus)
Removes all the commerce orders where groupId = ? and userId = ? and orderStatus = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the commerce orders where groupId = ? from the database.
|
void |
removeByShippingAddressId(long shippingAddressId)
Removes all the commerce orders where shippingAddressId = ? from the database.
|
void |
removeByU_LtC_O(long userId,
java.util.Date createDate,
int orderStatus)
Removes all the commerce orders where userId = ? and createDate < ? and orderStatus = ? from the database.
|
void |
removeByUserId(long userId)
Removes all the commerce orders where userId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce orders where uuid = ? and companyId = ? from the database.
|
CommerceOrder |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce order where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce orders where uuid = ? from the database.
|
CommerceOrder |
updateImpl(CommerceOrder commerceOrder) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<CommerceOrder> findByUuid(java.lang.String uuid)
uuid - the uuidjava.util.List<CommerceOrder> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceOrder> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceOrder findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder[] findByUuid_PrevAndNext(long commerceOrderId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId - the primary key of the current commerce orderuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a commerce order with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid - the uuidint countByUuid(java.lang.String uuid)
uuid - the uuidCommerceOrder findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchOrderException
NoSuchOrderException if it could not be found.uuid - the uuidgroupId - the group IDNoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByUUID_G(java.lang.String uuid, long groupId)
null if it could not be found. Uses the finder cache.uuid - the uuidgroupId - the group IDnull if a matching commerce order could not be foundCommerceOrder fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.uuid - the uuidgroupId - the group IDretrieveFromCache - whether to retrieve from the finder cachenull if a matching commerce order could not be foundCommerceOrder removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchOrderException
uuid - the uuidgroupId - the group IDNoSuchOrderExceptionint countByUUID_G(java.lang.String uuid,
long groupId)
uuid - the uuidgroupId - the group IDjava.util.List<CommerceOrder> findByUuid_C(java.lang.String uuid, long companyId)
uuid - the uuidcompanyId - the company IDjava.util.List<CommerceOrder> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceOrder> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceOrder findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder[] findByUuid_C_PrevAndNext(long commerceOrderId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId - the primary key of the current commerce orderuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a commerce order with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid,
long companyId)
uuid - the uuidcompanyId - the company IDint countByUuid_C(java.lang.String uuid,
long companyId)
uuid - the uuidcompanyId - the company IDjava.util.List<CommerceOrder> findByGroupId(long groupId)
groupId - the group IDjava.util.List<CommerceOrder> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceOrder> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceOrder findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder[] findByGroupId_PrevAndNext(long commerceOrderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId - the primary key of the current commerce ordergroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a commerce order with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId - the group IDint countByGroupId(long groupId)
groupId - the group IDjava.util.List<CommerceOrder> findByUserId(long userId)
userId - the user IDjava.util.List<CommerceOrder> findByUserId(long userId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceOrder> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceOrder findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder[] findByUserId_PrevAndNext(long commerceOrderId, long userId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId - the primary key of the current commerce orderuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a commerce order with the primary key could not be foundvoid removeByUserId(long userId)
userId - the user IDint countByUserId(long userId)
userId - the user IDjava.util.List<CommerceOrder> findByBillingAddressId(long billingAddressId)
billingAddressId - the billing address IDjava.util.List<CommerceOrder> findByBillingAddressId(long billingAddressId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
billingAddressId - the billing address IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByBillingAddressId(long billingAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
billingAddressId - the billing address IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceOrder> findByBillingAddressId(long billingAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
billingAddressId - the billing address IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceOrder findByBillingAddressId_First(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
billingAddressId - the billing address IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByBillingAddressId_First(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
billingAddressId - the billing address IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder findByBillingAddressId_Last(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
billingAddressId - the billing address IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByBillingAddressId_Last(long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
billingAddressId - the billing address IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder[] findByBillingAddressId_PrevAndNext(long commerceOrderId, long billingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId - the primary key of the current commerce orderbillingAddressId - the billing address IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a commerce order with the primary key could not be foundvoid removeByBillingAddressId(long billingAddressId)
billingAddressId - the billing address IDint countByBillingAddressId(long billingAddressId)
billingAddressId - the billing address IDjava.util.List<CommerceOrder> findByShippingAddressId(long shippingAddressId)
shippingAddressId - the shipping address IDjava.util.List<CommerceOrder> findByShippingAddressId(long shippingAddressId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
shippingAddressId - the shipping address IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByShippingAddressId(long shippingAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
shippingAddressId - the shipping address IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceOrder> findByShippingAddressId(long shippingAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
shippingAddressId - the shipping address IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceOrder findByShippingAddressId_First(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
shippingAddressId - the shipping address IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByShippingAddressId_First(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
shippingAddressId - the shipping address IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder findByShippingAddressId_Last(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
shippingAddressId - the shipping address IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByShippingAddressId_Last(long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
shippingAddressId - the shipping address IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder[] findByShippingAddressId_PrevAndNext(long commerceOrderId, long shippingAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId - the primary key of the current commerce ordershippingAddressId - the shipping address IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a commerce order with the primary key could not be foundvoid removeByShippingAddressId(long shippingAddressId)
shippingAddressId - the shipping address IDint countByShippingAddressId(long shippingAddressId)
shippingAddressId - the shipping address IDjava.util.List<CommerceOrder> findByG_O(long groupId, long orderUserId)
groupId - the group IDorderUserId - the order user IDjava.util.List<CommerceOrder> findByG_O(long groupId, long orderUserId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDorderUserId - the order user IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByG_O(long groupId, long orderUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDorderUserId - the order user IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceOrder> findByG_O(long groupId, long orderUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDorderUserId - the order user IDstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceOrder findByG_O_First(long groupId, long orderUserId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId - the group IDorderUserId - the order user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByG_O_First(long groupId, long orderUserId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId - the group IDorderUserId - the order user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder findByG_O_Last(long groupId, long orderUserId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId - the group IDorderUserId - the order user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByG_O_Last(long groupId, long orderUserId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId - the group IDorderUserId - the order user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder[] findByG_O_PrevAndNext(long commerceOrderId, long groupId, long orderUserId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId - the primary key of the current commerce ordergroupId - the group IDorderUserId - the order user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a commerce order with the primary key could not be foundvoid removeByG_O(long groupId,
long orderUserId)
groupId - the group IDorderUserId - the order user IDint countByG_O(long groupId,
long orderUserId)
groupId - the group IDorderUserId - the order user IDjava.util.List<CommerceOrder> findByG_U_O(long groupId, long userId, int orderStatus)
groupId - the group IDuserId - the user IDorderStatus - the order statusjava.util.List<CommerceOrder> findByG_U_O(long groupId, long userId, int orderStatus, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDuserId - the user IDorderStatus - the order statusstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByG_U_O(long groupId, long userId, int orderStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDuserId - the user IDorderStatus - the order statusstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceOrder> findByG_U_O(long groupId, long userId, int orderStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDuserId - the user IDorderStatus - the order statusstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceOrder findByG_U_O_First(long groupId, long userId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId - the group IDuserId - the user IDorderStatus - the order statusorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByG_U_O_First(long groupId, long userId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId - the group IDuserId - the user IDorderStatus - the order statusorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder findByG_U_O_Last(long groupId, long userId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
groupId - the group IDuserId - the user IDorderStatus - the order statusorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByG_U_O_Last(long groupId, long userId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
groupId - the group IDuserId - the user IDorderStatus - the order statusorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder[] findByG_U_O_PrevAndNext(long commerceOrderId, long groupId, long userId, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId - the primary key of the current commerce ordergroupId - the group IDuserId - the user IDorderStatus - the order statusorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a commerce order with the primary key could not be foundvoid removeByG_U_O(long groupId,
long userId,
int orderStatus)
groupId - the group IDuserId - the user IDorderStatus - the order statusint countByG_U_O(long groupId,
long userId,
int orderStatus)
groupId - the group IDuserId - the user IDorderStatus - the order statusjava.util.List<CommerceOrder> findByU_LtC_O(long userId, java.util.Date createDate, int orderStatus)
userId - the user IDcreateDate - the create dateorderStatus - the order statusjava.util.List<CommerceOrder> findByU_LtC_O(long userId, java.util.Date createDate, int orderStatus, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDcreateDate - the create dateorderStatus - the order statusstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findByU_LtC_O(long userId, java.util.Date createDate, int orderStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDcreateDate - the create dateorderStatus - the order statusstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceOrder> findByU_LtC_O(long userId, java.util.Date createDate, int orderStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDcreateDate - the create dateorderStatus - the order statusstart - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceOrder findByU_LtC_O_First(long userId, java.util.Date createDate, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
userId - the user IDcreateDate - the create dateorderStatus - the order statusorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByU_LtC_O_First(long userId, java.util.Date createDate, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
userId - the user IDcreateDate - the create dateorderStatus - the order statusorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder findByU_LtC_O_Last(long userId, java.util.Date createDate, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
userId - the user IDcreateDate - the create dateorderStatus - the order statusorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByU_LtC_O_Last(long userId, java.util.Date createDate, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
userId - the user IDcreateDate - the create dateorderStatus - the order statusorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce order could not be foundCommerceOrder[] findByU_LtC_O_PrevAndNext(long commerceOrderId, long userId, java.util.Date createDate, int orderStatus, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator) throws NoSuchOrderException
commerceOrderId - the primary key of the current commerce orderuserId - the user IDcreateDate - the create dateorderStatus - the order statusorderByComparator - the comparator to order the set by (optionally null)NoSuchOrderException - if a commerce order with the primary key could not be foundvoid removeByU_LtC_O(long userId,
java.util.Date createDate,
int orderStatus)
userId - the user IDcreateDate - the create dateorderStatus - the order statusint countByU_LtC_O(long userId,
java.util.Date createDate,
int orderStatus)
userId - the user IDcreateDate - the create dateorderStatus - the order statusCommerceOrder findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchOrderException
NoSuchOrderException if it could not be found.companyId - the company IDexternalReferenceCode - the external reference codeNoSuchOrderException - if a matching commerce order could not be foundCommerceOrder fetchByC_ERC(long companyId, java.lang.String externalReferenceCode)
null if it could not be found. Uses the finder cache.companyId - the company IDexternalReferenceCode - the external reference codenull if a matching commerce order could not be foundCommerceOrder fetchByC_ERC(long companyId, java.lang.String externalReferenceCode, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.companyId - the company IDexternalReferenceCode - the external reference coderetrieveFromCache - whether to retrieve from the finder cachenull if a matching commerce order could not be foundCommerceOrder removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchOrderException
companyId - the company IDexternalReferenceCode - the external reference codeNoSuchOrderExceptionint countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
companyId - the company IDexternalReferenceCode - the external reference codevoid cacheResult(CommerceOrder commerceOrder)
commerceOrder - the commerce ordervoid cacheResult(java.util.List<CommerceOrder> commerceOrders)
commerceOrders - the commerce ordersCommerceOrder create(long commerceOrderId)
commerceOrderId - the primary key for the new commerce orderCommerceOrder remove(long commerceOrderId) throws NoSuchOrderException
commerceOrderId - the primary key of the commerce orderNoSuchOrderException - if a commerce order with the primary key could not be foundCommerceOrder updateImpl(CommerceOrder commerceOrder)
CommerceOrder findByPrimaryKey(long commerceOrderId) throws NoSuchOrderException
NoSuchOrderException if it could not be found.commerceOrderId - the primary key of the commerce orderNoSuchOrderException - if a commerce order with the primary key could not be foundCommerceOrder fetchByPrimaryKey(long commerceOrderId)
null if it could not be found.commerceOrderId - the primary key of the commerce ordernull if a commerce order with the primary key could not be foundjava.util.Map<java.io.Serializable,CommerceOrder> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrder>java.util.List<CommerceOrder> findAll()
java.util.List<CommerceOrder> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)java.util.List<CommerceOrder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceOrder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrder> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of commerce ordersend - the upper bound of the range of commerce orders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrder>