Adds the commerce discount to the database. Also notifies the appropriate model listeners.

@param commerceDiscount the commerce discount
@return the commerce discount that was added
162090
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceDiscount addCommerceDiscount(
		CommerceDiscount commerceDiscount) {
		commerceDiscount.setNew(true);

		return commerceDiscountPersistence.update(commerceDiscount);
	}
400187
@Override
	public com.liferay.commerce.currency.model.CommerceCurrency addCommerceCurrency(
		com.liferay.commerce.currency.model.CommerceCurrency commerceCurrency) {
		return _commerceCurrencyLocalService.addCommerceCurrency(commerceCurrency);
	}
677895
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceDiscountRel updateCommerceDiscountRel(
		CommerceDiscountRel commerceDiscountRel) {
		return commerceDiscountRelPersistence.update(commerceDiscountRel);
	}
1176180
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceDiscountRule updateCommerceDiscountRule(
		CommerceDiscountRule commerceDiscountRule) {
		return commerceDiscountRulePersistence.update(commerceDiscountRule);
	}
1139988
public void setCommerceDiscountRelLocalService(
		com.liferay.commerce.discount.service.CommerceDiscountRelLocalService commerceDiscountRelLocalService) {
		this.commerceDiscountRelLocalService = commerceDiscountRelLocalService;
	}
838354
public static com.liferay.commerce.model.CommerceOrder addCommerceOrder(
		com.liferay.commerce.model.CommerceOrder commerceOrder) {
		return getService().addCommerceOrder(commerceOrder);
	}
1313708
public static com.liferay.commerce.model.CommerceSubscriptionEntry addCommerceSubscriptionEntry(
		com.liferay.commerce.model.CommerceSubscriptionEntry commerceSubscriptionEntry) {
		return getService()
				   .addCommerceSubscriptionEntry(commerceSubscriptionEntry);
	}
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);
	}
628946
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommercePriceList addCommercePriceList(
		CommercePriceList commercePriceList) {
		commercePriceList.setNew(true);

		return commercePriceListPersistence.update(commercePriceList);
	}
381455
public static com.liferay.commerce.model.CommerceCountry addCommerceCountry(
		com.liferay.commerce.model.CommerceCountry commerceCountry) {
		return getService().addCommerceCountry(commerceCountry);
	}
737345
public void setCommerceDiscountLocalService(
		com.liferay.commerce.discount.service.CommerceDiscountLocalService commerceDiscountLocalService) {
		this.commerceDiscountLocalService = commerceDiscountLocalService;
	}
434613
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceDiscountUsageEntry addCommerceDiscountUsageEntry(
		CommerceDiscountUsageEntry commerceDiscountUsageEntry) {
		commerceDiscountUsageEntry.setNew(true);

		return commerceDiscountUsageEntryPersistence.update(commerceDiscountUsageEntry);
	}
639344
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceDiscount deleteCommerceDiscount(
		CommerceDiscount commerceDiscount) throws PortalException {
		return commerceDiscountPersistence.remove(commerceDiscount);
	}
1079753
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommercePriceEntry addCommercePriceEntry(
		CommercePriceEntry commercePriceEntry) {
		commercePriceEntry.setNew(true);

		return commercePriceEntryPersistence.update(commercePriceEntry);
	}
1235996
public void setCommerceDiscountUsageEntryLocalService(
		com.liferay.commerce.discount.service.CommerceDiscountUsageEntryLocalService commerceDiscountUsageEntryLocalService) {
		this.commerceDiscountUsageEntryLocalService = commerceDiscountUsageEntryLocalService;
	}
69082
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceDiscountRel addCommerceDiscountRel(
		CommerceDiscountRel commerceDiscountRel) {
		commerceDiscountRel.setNew(true);

		return commerceDiscountRelPersistence.update(commerceDiscountRel);
	}
643010
public static com.liferay.commerce.discount.model.CommerceDiscountUserSegmentRel deleteCommerceDiscountUserSegmentRel(
		com.liferay.commerce.discount.model.CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel) {
		return getService()
				   .deleteCommerceDiscountUserSegmentRel(commerceDiscountUserSegmentRel);
	}