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

@param commerceShipment the commerce shipment
@return the commerce shipment that was updated
162433
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceShipment updateCommerceShipment(
		CommerceShipment commerceShipment) {
		return commerceShipmentPersistence.update(commerceShipment);
	}
735462
@Override
	@Transactional(enabled = false)
	public CommerceShipment createCommerceShipment(long commerceShipmentId) {
		return commerceShipmentPersistence.create(commerceShipmentId);
	}
518860
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceWarehouse updateCommerceWarehouse(
		CommerceWarehouse commerceWarehouse) {
		return commerceWarehousePersistence.update(commerceWarehouse);
	}
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);
	}
1052763
@Override
	public List<CommerceShipmentItem> findByCommerceShipment(
		long commerceShipmentId) {
		return findByCommerceShipment(commerceShipmentId, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
160014
@Override
	public com.liferay.commerce.model.CommerceShippingMethod updateCommerceShippingMethod(
		com.liferay.commerce.model.CommerceShippingMethod commerceShippingMethod) {
		return _commerceShippingMethodLocalService.updateCommerceShippingMethod(commerceShippingMethod);
	}
973019
@Override
	public CommerceShipmentItem create(long commerceShipmentItemId) {
		CommerceShipmentItem commerceShipmentItem = new CommerceShipmentItemImpl();

		commerceShipmentItem.setNew(true);
		commerceShipmentItem.setPrimaryKey(commerceShipmentItemId);

		commerceShipmentItem.setCompanyId(companyProvider.getCompanyId());

		return commerceShipmentItem;
	}
844891
@Override
	public com.liferay.commerce.discount.model.CommerceDiscountRel updateCommerceDiscountRel(
		com.liferay.commerce.discount.model.CommerceDiscountRel commerceDiscountRel) {
		return _commerceDiscountRelLocalService.updateCommerceDiscountRel(commerceDiscountRel);
	}
1225744
public static com.liferay.commerce.model.CommerceShippingMethod addCommerceShippingMethod(
		com.liferay.commerce.model.CommerceShippingMethod commerceShippingMethod) {
		return getService().addCommerceShippingMethod(commerceShippingMethod);
	}
52163
public static com.liferay.commerce.model.CommerceOrderPayment updateCommerceOrderPayment(
		com.liferay.commerce.model.CommerceOrderPayment commerceOrderPayment) {
		return getService().updateCommerceOrderPayment(commerceOrderPayment);
	}
1067553
public com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionLocalService getCommerceShippingFixedOptionLocalService() {
		return commerceShippingFixedOptionLocalService;
	}
1327575
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceShippingFixedOptionRel addCommerceShippingFixedOptionRel(
		CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) {
		commerceShippingFixedOptionRel.setNew(true);

		return commerceShippingFixedOptionRelPersistence.update(commerceShippingFixedOptionRel);
	}
43072
@Override
	public com.liferay.commerce.model.CommerceWarehouseItem updateCommerceWarehouseItem(
		com.liferay.commerce.model.CommerceWarehouseItem commerceWarehouseItem) {
		return _commerceWarehouseItemLocalService.updateCommerceWarehouseItem(commerceWarehouseItem);
	}
298829
@Override
	public List<CommerceShippingFixedOption> findByCommerceShippingMethodId(
		long commerceShippingMethodId) {
		return findByCommerceShippingMethodId(commerceShippingMethodId,
			QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
518147
@Override
	public com.liferay.commerce.model.CommerceShipmentItem updateCommerceShipmentItem(
		com.liferay.commerce.model.CommerceShipmentItem commerceShipmentItem) {
		return _commerceShipmentItemLocalService.updateCommerceShipmentItem(commerceShipmentItem);
	}
886950
@Override
	public void cacheResult(
		CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) {
		entityCache.putResult(CommerceShippingFixedOptionRelModelImpl.ENTITY_CACHE_ENABLED,
			CommerceShippingFixedOptionRelImpl.class,
			commerceShippingFixedOptionRel.getPrimaryKey(),
			commerceShippingFixedOptionRel);

		commerceShippingFixedOptionRel.resetOriginalValues();
	}
808316
@Override
	public void cacheResult(List<CommerceShipmentItem> commerceShipmentItems) {
		for (CommerceShipmentItem commerceShipmentItem : commerceShipmentItems) {
			if (entityCache.getResult(
						CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
						CommerceShipmentItemImpl.class,
						commerceShipmentItem.getPrimaryKey()) == null) {
				cacheResult(commerceShipmentItem);
			}
			else {
				commerceShipmentItem.resetOriginalValues();
			}
		}
	}