Deletes the commerce price entry from the database. Also notifies the appropriate model listeners.

@param commercePriceEntry the commerce price entry
@return the commerce price entry that was removed
@throws PortalException
558476
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommercePriceEntry deleteCommercePriceEntry(
		CommercePriceEntry commercePriceEntry) throws PortalException {
		return commercePriceEntryPersistence.remove(commercePriceEntry);
	}
1333450
public static com.liferay.commerce.price.list.model.CommercePriceEntry addCommercePriceEntry(
		long cpInstanceId, long commercePriceListId,
		java.math.BigDecimal price, java.math.BigDecimal promoPrice,
		com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {
		return getService()
				   .addCommercePriceEntry(cpInstanceId, commercePriceListId,
			price, promoPrice, serviceContext);
	}
918505
public static CommercePriceEntry removeByC_ERC(long companyId,
		String externalReferenceCode)
		throws com.liferay.commerce.price.list.exception.NoSuchPriceEntryException {
		return getPersistence().removeByC_ERC(companyId, externalReferenceCode);
	}
1042075
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceDiscountRel deleteCommerceDiscountRel(
		CommerceDiscountRel commerceDiscountRel) throws PortalException {
		return commerceDiscountRelPersistence.remove(commerceDiscountRel);
	}
75537
public static com.liferay.commerce.model.CommerceOrderPayment deleteCommerceOrderPayment(
		com.liferay.commerce.model.CommerceOrderPayment commerceOrderPayment) {
		return getService().deleteCommerceOrderPayment(commerceOrderPayment);
	}
774409
public static com.liferay.commerce.model.CommerceCountry deleteCommerceCountry(
		com.liferay.commerce.model.CommerceCountry commerceCountry)
		throws com.liferay.portal.kernel.exception.PortalException {
		return getService().deleteCommerceCountry(commerceCountry);
	}
1083295
@Override
	public com.liferay.commerce.model.CommerceShippingMethod deleteCommerceShippingMethod(
		com.liferay.commerce.model.CommerceShippingMethod commerceShippingMethod)
		throws com.liferay.portal.kernel.exception.PortalException {
		return _commerceShippingMethodLocalService.deleteCommerceShippingMethod(commerceShippingMethod);
	}
222053
@Override
	public void cacheResult(List<CommercePriceEntry> commercePriceEntries) {
		for (CommercePriceEntry commercePriceEntry : commercePriceEntries) {
			if (entityCache.getResult(
						CommercePriceEntryModelImpl.ENTITY_CACHE_ENABLED,
						CommercePriceEntryImpl.class,
						commercePriceEntry.getPrimaryKey()) == null) {
				cacheResult(commercePriceEntry);
			}
			else {
				commercePriceEntry.resetOriginalValues();
			}
		}
	}
559897
public static com.liferay.commerce.discount.model.CommerceDiscountRel deleteCommerceDiscountRel(
		com.liferay.commerce.discount.model.CommerceDiscountRel commerceDiscountRel)
		throws com.liferay.portal.kernel.exception.PortalException {
		return getService().deleteCommerceDiscountRel(commerceDiscountRel);
	}
787998
public static void deleteCommerceSubscriptionEntry(
		long commerceSubscriptionEntryId)
		throws com.liferay.portal.kernel.exception.PortalException {
		getService().deleteCommerceSubscriptionEntry(commerceSubscriptionEntryId);
	}
1079467
@Override
	public com.liferay.commerce.price.list.model.CommerceTierPriceEntry updateCommerceTierPriceEntry(
		com.liferay.commerce.price.list.model.CommerceTierPriceEntry commerceTierPriceEntry) {
		return _commerceTierPriceEntryLocalService.updateCommerceTierPriceEntry(commerceTierPriceEntry);
	}
207611
@Override
	@Transactional(enabled = false)
	public CommerceTierPriceEntry createCommerceTierPriceEntry(
		long commerceTierPriceEntryId) {
		return commerceTierPriceEntryPersistence.create(commerceTierPriceEntryId);
	}
1021708
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceRegion deleteCommerceRegion(CommerceRegion commerceRegion)
		throws PortalException {
		return commerceRegionPersistence.remove(commerceRegion);
	}
111733
@Override
	public void clearCache() {
		entityCache.clearCache(CommerceTierPriceEntryImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
182236
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceOrder deleteCommerceOrder(CommerceOrder commerceOrder)
		throws PortalException {
		return commerceOrderPersistence.remove(commerceOrder);
	}
519014
public static MozuUrl deletePriceListUrl(Boolean cascadeDeleteEntries, String priceListCode)
	{
		UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/pricelists/{priceListCode}?cascadeDeleteEntries={cascadeDeleteEntries}");
		formatter.formatUrl("cascadeDeleteEntries", cascadeDeleteEntries);
		formatter.formatUrl("priceListCode", priceListCode);
		return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ;
	}
370605
@Override
	public List<CommercePriceEntry> findByCommercePriceListId(
		long commercePriceListId) {
		return findByCommercePriceListId(commercePriceListId,
			QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}