Updates the commerce address in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

@param commerceAddress the commerce address
@return the commerce address that was updated
510094
public static com.liferay.commerce.model.CommerceAddress updateCommerceAddress(
		com.liferay.commerce.model.CommerceAddress commerceAddress) {
		return getService().updateCommerceAddress(commerceAddress);
	}
221515
public static com.liferay.commerce.discount.model.CommerceDiscount updateCommerceDiscount(
		com.liferay.commerce.discount.model.CommerceDiscount commerceDiscount) {
		return getService().updateCommerceDiscount(commerceDiscount);
	}
759681
@Override
	public void clearCache(CommerceAddress commerceAddress) {
		entityCache.removeResult(CommerceAddressModelImpl.ENTITY_CACHE_ENABLED,
			CommerceAddressImpl.class, commerceAddress.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
632076
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommercePriceList updateCommercePriceList(
		CommercePriceList commercePriceList) {
		return commercePriceListPersistence.update(commercePriceList);
	}
424153
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceWishList updateCommerceWishList(
		CommerceWishList commerceWishList) {
		return commerceWishListPersistence.update(commerceWishList);
	}
1273342
public void setCommerceTaxFixedRateAddressRelService(
		com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateAddressRelService commerceTaxFixedRateAddressRelService) {
		this.commerceTaxFixedRateAddressRelService = commerceTaxFixedRateAddressRelService;
	}
269727
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceOrder updateCommerceOrder(CommerceOrder commerceOrder) {
		return commerceOrderPersistence.update(commerceOrder);
	}
901148
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceAddress deleteCommerceAddress(
		CommerceAddress commerceAddress) throws PortalException {
		return commerceAddressPersistence.remove(commerceAddress);
	}
514956
public static com.liferay.commerce.tax.engine.fixed.model.CommerceTaxFixedRate updateCommerceTaxFixedRate(
		com.liferay.commerce.tax.engine.fixed.model.CommerceTaxFixedRate commerceTaxFixedRate) {
		return getService().updateCommerceTaxFixedRate(commerceTaxFixedRate);
	}
1166235
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceCountry updateCommerceCountry(
		CommerceCountry commerceCountry) {
		return commerceCountryPersistence.update(commerceCountry);
	}
637748
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceOrderPayment addCommerceOrderPayment(
		CommerceOrderPayment commerceOrderPayment) {
		commerceOrderPayment.setNew(true);

		return commerceOrderPaymentPersistence.update(commerceOrderPayment);
	}
518147
@Override
	public com.liferay.commerce.model.CommerceShipmentItem updateCommerceShipmentItem(
		com.liferay.commerce.model.CommerceShipmentItem commerceShipmentItem) {
		return _commerceShipmentItemLocalService.updateCommerceShipmentItem(commerceShipmentItem);
	}
232670
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceOrderNote addCommerceOrderNote(
		CommerceOrderNote commerceOrderNote) {
		commerceOrderNote.setNew(true);

		return commerceOrderNotePersistence.update(commerceOrderNote);
	}
471702
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceAddress addCommerceAddress(CommerceAddress commerceAddress) {
		commerceAddress.setNew(true);

		return commerceAddressPersistence.update(commerceAddress);
	}
1036439
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceDiscount updateCommerceDiscount(
		CommerceDiscount commerceDiscount) {
		return commerceDiscountPersistence.update(commerceDiscount);
	}
161815
@Override
	public void cacheResult(CommerceAddress commerceAddress) {
		entityCache.putResult(CommerceAddressModelImpl.ENTITY_CACHE_ENABLED,
			CommerceAddressImpl.class, commerceAddress.getPrimaryKey(),
			commerceAddress);

		commerceAddress.resetOriginalValues();
	}
629810
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceShippingMethod updateCommerceShippingMethod(
		CommerceShippingMethod commerceShippingMethod) {
		return commerceShippingMethodPersistence.update(commerceShippingMethod);
	}