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
424576
public static com.liferay.commerce.model.CommerceShipment updateCommerceShipment(
		com.liferay.commerce.model.CommerceShipment commerceShipment) {
		return getService().updateCommerceShipment(commerceShipment);
	}
1282253
public static com.liferay.commerce.model.CommerceShippingMethod createCommerceShippingMethod(
		long commerceShippingMethodId) {
		return getService()
				   .createCommerceShippingMethod(commerceShippingMethodId);
	}
1316269
public static com.liferay.commerce.model.CommerceShipment deleteCommerceShipment(
		com.liferay.commerce.model.CommerceShipment commerceShipment) {
		return getService().deleteCommerceShipment(commerceShipment);
	}
1327575
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceShippingFixedOptionRel addCommerceShippingFixedOptionRel(
		CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) {
		commerceShippingFixedOptionRel.setNew(true);

		return commerceShippingFixedOptionRelPersistence.update(commerceShippingFixedOptionRel);
	}
335231
public void setCommerceShippingFixedOptionRelService(
		com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionRelService commerceShippingFixedOptionRelService) {
		this.commerceShippingFixedOptionRelService = commerceShippingFixedOptionRelService;
	}
1012770
@Override
	@Transactional(enabled = false)
	public CommerceShipmentItem createCommerceShipmentItem(
		long commerceShipmentItemId) {
		return commerceShipmentItemPersistence.create(commerceShipmentItemId);
	}
518147
@Override
	public com.liferay.commerce.model.CommerceShipmentItem updateCommerceShipmentItem(
		com.liferay.commerce.model.CommerceShipmentItem commerceShipmentItem) {
		return _commerceShipmentItemLocalService.updateCommerceShipmentItem(commerceShipmentItem);
	}
1090007
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceShipment deleteCommerceShipment(
		CommerceShipment commerceShipment) {
		return commerceShipmentPersistence.remove(commerceShipment);
	}
741877
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceShipmentItem updateCommerceShipmentItem(
		CommerceShipmentItem commerceShipmentItem) {
		return commerceShipmentItemPersistence.update(commerceShipmentItem);
	}
574108
@Override
	public void cacheResult(
		CommerceShippingFixedOption commerceShippingFixedOption) {
		entityCache.putResult(CommerceShippingFixedOptionModelImpl.ENTITY_CACHE_ENABLED,
			CommerceShippingFixedOptionImpl.class,
			commerceShippingFixedOption.getPrimaryKey(),
			commerceShippingFixedOption);

		commerceShippingFixedOption.resetOriginalValues();
	}
650428
@Override
	public void cacheResult(
		List<CommerceShippingMethod> commerceShippingMethods) {
		for (CommerceShippingMethod commerceShippingMethod : commerceShippingMethods) {
			if (entityCache.getResult(
						CommerceShippingMethodModelImpl.ENTITY_CACHE_ENABLED,
						CommerceShippingMethodImpl.class,
						commerceShippingMethod.getPrimaryKey()) == null) {
				cacheResult(commerceShippingMethod);
			}
			else {
				commerceShippingMethod.resetOriginalValues();
			}
		}
	}
352365
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceShipmentItem addCommerceShipmentItem(
		CommerceShipmentItem commerceShipmentItem) {
		commerceShipmentItem.setNew(true);

		return commerceShipmentItemPersistence.update(commerceShipmentItem);
	}
629810
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceShippingMethod updateCommerceShippingMethod(
		CommerceShippingMethod commerceShippingMethod) {
		return commerceShippingMethodPersistence.update(commerceShippingMethod);
	}
1185307
@Override
	public com.liferay.commerce.shipping.engine.fixed.model.CommerceShippingFixedOptionRel addCommerceShippingFixedOptionRel(
		com.liferay.commerce.shipping.engine.fixed.model.CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) {
		return _commerceShippingFixedOptionRelLocalService.addCommerceShippingFixedOptionRel(commerceShippingFixedOptionRel);
	}
412161
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceAccount addCommerceAccount(CommerceAccount commerceAccount) {
		commerceAccount.setNew(true);

		return commerceAccountPersistence.update(commerceAccount);
	}
1121807
public static com.liferay.commerce.model.CommerceShipmentItem deleteCommerceShipmentItem(
		com.liferay.commerce.model.CommerceShipmentItem commerceShipmentItem) {
		return getService().deleteCommerceShipmentItem(commerceShipmentItem);
	}
961981
@Override
	public com.liferay.commerce.model.CommerceOrderItem updateCommerceOrderItem(
		com.liferay.commerce.model.CommerceOrderItem commerceOrderItem) {
		return _commerceOrderItemLocalService.updateCommerceOrderItem(commerceOrderItem);
	}