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

@param commerceWarehouse the commerce warehouse
@return the commerce warehouse that was updated
518860
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceWarehouse updateCommerceWarehouse(
		CommerceWarehouse commerceWarehouse) {
		return commerceWarehousePersistence.update(commerceWarehouse);
	}
1225744
public static com.liferay.commerce.model.CommerceShippingMethod addCommerceShippingMethod(
		com.liferay.commerce.model.CommerceShippingMethod commerceShippingMethod) {
		return getService().addCommerceShippingMethod(commerceShippingMethod);
	}
43072
@Override
	public com.liferay.commerce.model.CommerceWarehouseItem updateCommerceWarehouseItem(
		com.liferay.commerce.model.CommerceWarehouseItem commerceWarehouseItem) {
		return _commerceWarehouseItemLocalService.updateCommerceWarehouseItem(commerceWarehouseItem);
	}
162433
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceShipment updateCommerceShipment(
		CommerceShipment commerceShipment) {
		return commerceShipmentPersistence.update(commerceShipment);
	}
1081098
@Override
	public List<CommerceWarehouseItem> findByCommerceWarehouseId(
		long commerceWarehouseId) {
		return findByCommerceWarehouseId(commerceWarehouseId,
			QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
52163
public static com.liferay.commerce.model.CommerceOrderPayment updateCommerceOrderPayment(
		com.liferay.commerce.model.CommerceOrderPayment commerceOrderPayment) {
		return getService().updateCommerceOrderPayment(commerceOrderPayment);
	}
519855
public static com.liferay.commerce.discount.model.CommerceDiscountRel updateCommerceDiscountRel(
		com.liferay.commerce.discount.model.CommerceDiscountRel commerceDiscountRel) {
		return getService().updateCommerceDiscountRel(commerceDiscountRel);
	}
681524
public function setWarehouseFrom(\Flowcode\ShopBundle\Entity\Warehouse $warehouseFrom = null)
    {
        $this->warehouseFrom = $warehouseFrom;

        return $this;
    }
1118474
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceWarehouseItem updateCommerceWarehouseItem(
		CommerceWarehouseItem commerceWarehouseItem) {
		return commerceWarehouseItemPersistence.update(commerceWarehouseItem);
	}
518147
@Override
	public com.liferay.commerce.model.CommerceShipmentItem updateCommerceShipmentItem(
		com.liferay.commerce.model.CommerceShipmentItem commerceShipmentItem) {
		return _commerceShipmentItemLocalService.updateCommerceShipmentItem(commerceShipmentItem);
	}
694611
public static com.liferay.commerce.model.CommerceWarehouse deleteCommerceWarehouse(
		com.liferay.commerce.model.CommerceWarehouse commerceWarehouse) {
		return getService().deleteCommerceWarehouse(commerceWarehouse);
	}
76459
@Override
	public com.liferay.commerce.model.CommerceCountry updateCommerceCountry(
		com.liferay.commerce.model.CommerceCountry commerceCountry) {
		return _commerceCountryLocalService.updateCommerceCountry(commerceCountry);
	}
419264
@Override
	public void removeByCommerceWarehouseId(long commerceWarehouseId) {
		for (CommerceWarehouseItem commerceWarehouseItem : findByCommerceWarehouseId(
				commerceWarehouseId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceWarehouseItem);
		}
	}
838354
public static com.liferay.commerce.model.CommerceOrder addCommerceOrder(
		com.liferay.commerce.model.CommerceOrder commerceOrder) {
		return getService().addCommerceOrder(commerceOrder);
	}
160014
@Override
	public com.liferay.commerce.model.CommerceShippingMethod updateCommerceShippingMethod(
		com.liferay.commerce.model.CommerceShippingMethod commerceShippingMethod) {
		return _commerceShippingMethodLocalService.updateCommerceShippingMethod(commerceShippingMethod);
	}
912164
public static com.liferay.commerce.model.CommerceWarehouseItem createCommerceWarehouseItem(
		long commerceWarehouseItemId) {
		return getService().createCommerceWarehouseItem(commerceWarehouseItemId);
	}
962116
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceTierPriceEntry updateCommerceTierPriceEntry(
		CommerceTierPriceEntry commerceTierPriceEntry) {
		return commerceTierPriceEntryPersistence.update(commerceTierPriceEntry);
	}