Removes all the commerce order notes where commerceOrderId = &#63; and restricted = &#63; from the database.

@param commerceOrderId the commerce order ID
@param restricted the restricted
197652
@Override
	public void removeByC_R(long commerceOrderId, boolean restricted) {
		for (CommerceOrderNote commerceOrderNote : findByC_R(commerceOrderId,
				restricted, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceOrderNote);
		}
	}
1287611
@Override
	public void removeByCommerceCountryId(long commerceCountryId) {
		for (CommerceRegion commerceRegion : findByCommerceCountryId(
				commerceCountryId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceRegion);
		}
	}
480967
@Override
	public List<CommerceOrderItem> findByC_I(long commerceOrderId,
		long CPInstanceId) {
		return findByC_I(commerceOrderId, CPInstanceId, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
159439
@Override
	public void removeByCommercePriceListId(long commercePriceListId) {
		for (CommercePriceListAccountRel commercePriceListAccountRel : findByCommercePriceListId(
				commercePriceListId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commercePriceListAccountRel);
		}
	}
166924
@Override
	public void removeByCommercePriceListId(long commercePriceListId) {
		for (CommercePriceEntry commercePriceEntry : findByCommercePriceListId(
				commercePriceListId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commercePriceEntry);
		}
	}
151059
@Override
	public void removeByCommerceCountryId(long commerceCountryId) {
		for (CommerceAddressRestriction commerceAddressRestriction : findByCommerceCountryId(
				commerceCountryId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceAddressRestriction);
		}
	}
748134
@Override
	public void removeByUserId(long userId) {
		for (CommerceOrder commerceOrder : findByUserId(userId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceOrder);
		}
	}
198804
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceOrderPayment deleteCommerceOrderPayment(
		CommerceOrderPayment commerceOrderPayment) {
		return commerceOrderPaymentPersistence.remove(commerceOrderPayment);
	}
1021804
@Override
	public void removeByC_A(long commerceCountryId, boolean active) {
		for (CommerceRegion commerceRegion : findByC_A(commerceCountryId,
				active, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceRegion);
		}
	}
842050
@Override
	public void removeByCommerceShippingFixedOptionId(
		long commerceShippingFixedOptionId) {
		for (CommerceShippingFixedOptionRel commerceShippingFixedOptionRel : findByCommerceShippingFixedOptionId(
				commerceShippingFixedOptionId, QueryUtil.ALL_POS,
				QueryUtil.ALL_POS, null)) {
			remove(commerceShippingFixedOptionRel);
		}
	}
1012660
@Override
	public void removeByCompanyId(long companyId) {
		for (CommercePriceList commercePriceList : findByCompanyId(companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commercePriceList);
		}
	}
354860
@Override
	public void removeByLtD_S(Date displayDate, int status) {
		for (CommerceDiscount commerceDiscount : findByLtD_S(displayDate,
				status, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceDiscount);
		}
	}
641298
@Override
	public void clearCache(CommerceOrder commerceOrder) {
		entityCache.removeResult(CommerceOrderModelImpl.ENTITY_CACHE_ENABLED,
			CommerceOrderImpl.class, commerceOrder.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);

		clearUniqueFindersCache((CommerceOrderModelImpl)commerceOrder, true);
	}
931986
@Override
	public void removeByUuid(String uuid) {
		for (CommerceOrder commerceOrder : findByUuid(uuid, QueryUtil.ALL_POS,
				QueryUtil.ALL_POS, null)) {
			remove(commerceOrder);
		}
	}
649160
public static CommerceVirtualOrderItem removeByCommerceOrderItemId(
		long commerceOrderItemId)
		throws com.liferay.commerce.product.type.virtual.order.exception.NoSuchVirtualOrderItemException {
		return getPersistence().removeByCommerceOrderItemId(commerceOrderItemId);
	}
1193065
@Override
	public List<CommerceOrderNote> findByC_R(long commerceOrderId,
		boolean restricted) {
		return findByC_R(commerceOrderId, restricted, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
1186558
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CommerceOrder commerceOrder : findByUuid_C(uuid, companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceOrder);
		}
	}