Deletes the commerce discount rel from the database. Also notifies the appropriate model listeners.

@param commerceDiscountRel the commerce discount rel
@return the commerce discount rel that was removed
@throws PortalException
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);
	}
387918
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceDiscountRule deleteCommerceDiscountRule(
		CommerceDiscountRule commerceDiscountRule) throws PortalException {
		return commerceDiscountRulePersistence.remove(commerceDiscountRule);
	}
568137
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceTierPriceEntry deleteCommerceTierPriceEntry(
		CommerceTierPriceEntry commerceTierPriceEntry)
		throws PortalException {
		return commerceTierPriceEntryPersistence.remove(commerceTierPriceEntry);
	}
356900
@Override
	public CommerceDiscountRel create(long commerceDiscountRelId) {
		CommerceDiscountRel commerceDiscountRel = new CommerceDiscountRelImpl();

		commerceDiscountRel.setNew(true);
		commerceDiscountRel.setPrimaryKey(commerceDiscountRelId);

		commerceDiscountRel.setCompanyId(companyProvider.getCompanyId());

		return commerceDiscountRel;
	}
639344
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceDiscount deleteCommerceDiscount(
		CommerceDiscount commerceDiscount) throws PortalException {
		return commerceDiscountPersistence.remove(commerceDiscount);
	}
828002
@Override
	public void clearCache(CommerceAccountUserRel commerceAccountUserRel) {
		entityCache.removeResult(CommerceAccountUserRelModelImpl.ENTITY_CACHE_ENABLED,
			CommerceAccountUserRelImpl.class,
			commerceAccountUserRel.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
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);
	}
784045
@Override
	public com.liferay.commerce.discount.model.CommerceDiscount updateCommerceDiscount(
		com.liferay.commerce.discount.model.CommerceDiscount commerceDiscount) {
		return _commerceDiscountLocalService.updateCommerceDiscount(commerceDiscount);
	}
52527
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceCountry deleteCommerceCountry(
		CommerceCountry commerceCountry) throws PortalException {
		return commerceCountryPersistence.remove(commerceCountry);
	}
706360
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceDiscountUserSegmentRel deleteCommerceDiscountUserSegmentRel(
		CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel) {
		return commerceDiscountUserSegmentRelPersistence.remove(commerceDiscountUserSegmentRel);
	}
120013
@Deprecated
	@Override
	public com.liferay.commerce.model.CommerceOrderItem deleteCommerceOrderItem(
		com.liferay.commerce.model.CommerceOrderItem commerceOrderItem)
		throws com.liferay.portal.kernel.exception.PortalException {
		return _commerceOrderItemLocalService.deleteCommerceOrderItem(commerceOrderItem);
	}
182236
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceOrder deleteCommerceOrder(CommerceOrder commerceOrder)
		throws PortalException {
		return commerceOrderPersistence.remove(commerceOrder);
	}
580927
@Override
	public void clearCache(
		CommerceAccountOrganizationRel commerceAccountOrganizationRel) {
		entityCache.removeResult(CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
			CommerceAccountOrganizationRelImpl.class,
			commerceAccountOrganizationRel.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
203983
@Override
	public com.liferay.commerce.discount.model.CommerceDiscountRel getCommerceDiscountRel(
		long commerceDiscountRelId)
		throws com.liferay.portal.kernel.exception.PortalException {
		return _commerceDiscountRelLocalService.getCommerceDiscountRel(commerceDiscountRelId);
	}
1316269
public static com.liferay.commerce.model.CommerceShipment deleteCommerceShipment(
		com.liferay.commerce.model.CommerceShipment commerceShipment) {
		return getService().deleteCommerceShipment(commerceShipment);
	}
1367361
@Override
	public void removeByCD_CN(long commerceDiscountId, long classNameId) {
		for (CommerceDiscountRel commerceDiscountRel : findByCD_CN(
				commerceDiscountId, classNameId, QueryUtil.ALL_POS,
				QueryUtil.ALL_POS, null)) {
			remove(commerceDiscountRel);
		}
	}
851210
@Override
	public com.liferay.commerce.model.CommerceSubscriptionEntry deleteCommerceSubscriptionEntry(
		com.liferay.commerce.model.CommerceSubscriptionEntry commerceSubscriptionEntry) {
		return _commerceSubscriptionEntryLocalService.deleteCommerceSubscriptionEntry(commerceSubscriptionEntry);
	}