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

@param commerceDiscountUsageEntry the commerce discount usage entry
@return the commerce discount usage entry that was removed
345394
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceDiscountUsageEntry deleteCommerceDiscountUsageEntry(
		CommerceDiscountUsageEntry commerceDiscountUsageEntry) {
		return commerceDiscountUsageEntryPersistence.remove(commerceDiscountUsageEntry);
	}
946961
@Override
	public void clearCache(
		CommerceDiscountUsageEntry commerceDiscountUsageEntry) {
		entityCache.removeResult(CommerceDiscountUsageEntryModelImpl.ENTITY_CACHE_ENABLED,
			CommerceDiscountUsageEntryImpl.class,
			commerceDiscountUsageEntry.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
102582
@Override
	public void clearCache(CommerceAccount commerceAccount) {
		entityCache.removeResult(CommerceAccountModelImpl.ENTITY_CACHE_ENABLED,
			CommerceAccountImpl.class, commerceAccount.getPrimaryKey());

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

		clearUniqueFindersCache((CommerceAccountModelImpl)commerceAccount, true);
	}
1316269
public static com.liferay.commerce.model.CommerceShipment deleteCommerceShipment(
		com.liferay.commerce.model.CommerceShipment commerceShipment) {
		return getService().deleteCommerceShipment(commerceShipment);
	}
851210
@Override
	public com.liferay.commerce.model.CommerceSubscriptionEntry deleteCommerceSubscriptionEntry(
		com.liferay.commerce.model.CommerceSubscriptionEntry commerceSubscriptionEntry) {
		return _commerceSubscriptionEntryLocalService.deleteCommerceSubscriptionEntry(commerceSubscriptionEntry);
	}
693767
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceCurrency deleteCommerceCurrency(
		CommerceCurrency commerceCurrency) {
		return commerceCurrencyPersistence.remove(commerceCurrency);
	}
387918
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceDiscountRule deleteCommerceDiscountRule(
		CommerceDiscountRule commerceDiscountRule) throws PortalException {
		return commerceDiscountRulePersistence.remove(commerceDiscountRule);
	}
434613
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceDiscountUsageEntry addCommerceDiscountUsageEntry(
		CommerceDiscountUsageEntry commerceDiscountUsageEntry) {
		commerceDiscountUsageEntry.setNew(true);

		return commerceDiscountUsageEntryPersistence.update(commerceDiscountUsageEntry);
	}
784045
@Override
	public com.liferay.commerce.discount.model.CommerceDiscount updateCommerceDiscount(
		com.liferay.commerce.discount.model.CommerceDiscount commerceDiscount) {
		return _commerceDiscountLocalService.updateCommerceDiscount(commerceDiscount);
	}
1036439
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceDiscount updateCommerceDiscount(
		CommerceDiscount commerceDiscount) {
		return commerceDiscountPersistence.update(commerceDiscount);
	}
639344
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceDiscount deleteCommerceDiscount(
		CommerceDiscount commerceDiscount) throws PortalException {
		return commerceDiscountPersistence.remove(commerceDiscount);
	}
36274
@Override
	public void removeByCommerceUserSegmentEntryId(
		long commerceUserSegmentEntryId) {
		for (CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel : findByCommerceUserSegmentEntryId(
				commerceUserSegmentEntryId, QueryUtil.ALL_POS,
				QueryUtil.ALL_POS, null)) {
			remove(commerceDiscountUserSegmentRel);
		}
	}
706360
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceDiscountUserSegmentRel deleteCommerceDiscountUserSegmentRel(
		CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel) {
		return commerceDiscountUserSegmentRelPersistence.remove(commerceDiscountUserSegmentRel);
	}
162090
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceDiscount addCommerceDiscount(
		CommerceDiscount commerceDiscount) {
		commerceDiscount.setNew(true);

		return commerceDiscountPersistence.update(commerceDiscount);
	}
522015
public void setCommerceDiscountRuleService(
		com.liferay.commerce.discount.service.CommerceDiscountRuleService commerceDiscountRuleService) {
		this.commerceDiscountRuleService = commerceDiscountRuleService;
	}
1292879
@Override
	public com.liferay.commerce.discount.model.CommerceDiscount createCommerceDiscount(
		long commerceDiscountId) {
		return _commerceDiscountLocalService.createCommerceDiscount(commerceDiscountId);
	}
1139988
public void setCommerceDiscountRelLocalService(
		com.liferay.commerce.discount.service.CommerceDiscountRelLocalService commerceDiscountRelLocalService) {
		this.commerceDiscountRelLocalService = commerceDiscountRelLocalService;
	}