Creates a new commerce warehouse with the primary key. Does not add the commerce warehouse to the database.

@param commerceWarehouseId the primary key for the new commerce warehouse
@return the new commerce warehouse
511129
@Override
	public CommerceWarehouse create(long commerceWarehouseId) {
		CommerceWarehouse commerceWarehouse = new CommerceWarehouseImpl();

		commerceWarehouse.setNew(true);
		commerceWarehouse.setPrimaryKey(commerceWarehouseId);

		commerceWarehouse.setCompanyId(companyProvider.getCompanyId());

		return commerceWarehouse;
	}
880364
@Override
	public CommercePriceList create(long commercePriceListId) {
		CommercePriceList commercePriceList = new CommercePriceListImpl();

		commercePriceList.setNew(true);
		commercePriceList.setPrimaryKey(commercePriceListId);

		String uuid = PortalUUIDUtil.generate();

		commercePriceList.setUuid(uuid);

		commercePriceList.setCompanyId(companyProvider.getCompanyId());

		return commercePriceList;
	}
424576
public static com.liferay.commerce.model.CommerceShipment updateCommerceShipment(
		com.liferay.commerce.model.CommerceShipment commerceShipment) {
		return getService().updateCommerceShipment(commerceShipment);
	}
1155842
@Override
	public CommerceRegion create(long commerceRegionId) {
		CommerceRegion commerceRegion = new CommerceRegionImpl();

		commerceRegion.setNew(true);
		commerceRegion.setPrimaryKey(commerceRegionId);

		String uuid = PortalUUIDUtil.generate();

		commerceRegion.setUuid(uuid);

		commerceRegion.setCompanyId(companyProvider.getCompanyId());

		return commerceRegion;
	}
440965
@Override
	public CommerceOrderPayment create(long commerceOrderPaymentId) {
		CommerceOrderPayment commerceOrderPayment = new CommerceOrderPaymentImpl();

		commerceOrderPayment.setNew(true);
		commerceOrderPayment.setPrimaryKey(commerceOrderPaymentId);

		commerceOrderPayment.setCompanyId(companyProvider.getCompanyId());

		return commerceOrderPayment;
	}
93197
@Override
	public CommerceTierPriceEntry create(long commerceTierPriceEntryId) {
		CommerceTierPriceEntry commerceTierPriceEntry = new CommerceTierPriceEntryImpl();

		commerceTierPriceEntry.setNew(true);
		commerceTierPriceEntry.setPrimaryKey(commerceTierPriceEntryId);

		String uuid = PortalUUIDUtil.generate();

		commerceTierPriceEntry.setUuid(uuid);

		commerceTierPriceEntry.setCompanyId(companyProvider.getCompanyId());

		return commerceTierPriceEntry;
	}
341906
public static com.liferay.commerce.model.CommerceWarehouseItem addCommerceWarehouseItem(
		com.liferay.commerce.model.CommerceWarehouseItem commerceWarehouseItem) {
		return getService().addCommerceWarehouseItem(commerceWarehouseItem);
	}
807519
@Override
	public void cacheResult(List<CommerceWarehouseItem> commerceWarehouseItems) {
		for (CommerceWarehouseItem commerceWarehouseItem : commerceWarehouseItems) {
			if (entityCache.getResult(
						CommerceWarehouseItemModelImpl.ENTITY_CACHE_ENABLED,
						CommerceWarehouseItemImpl.class,
						commerceWarehouseItem.getPrimaryKey()) == null) {
				cacheResult(commerceWarehouseItem);
			}
			else {
				commerceWarehouseItem.resetOriginalValues();
			}
		}
	}
963213
@Override
	public CommerceAccount create(long commerceAccountId) {
		CommerceAccount commerceAccount = new CommerceAccountImpl();

		commerceAccount.setNew(true);
		commerceAccount.setPrimaryKey(commerceAccountId);

		commerceAccount.setCompanyId(companyProvider.getCompanyId());

		return commerceAccount;
	}
478271
@Override
	public com.liferay.commerce.model.CommerceShipmentItem createCommerceShipmentItem(
		long commerceShipmentItemId) {
		return _commerceShipmentItemLocalService.createCommerceShipmentItem(commerceShipmentItemId);
	}
772195
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceWarehouseItem deleteCommerceWarehouseItem(
		CommerceWarehouseItem commerceWarehouseItem) {
		return commerceWarehouseItemPersistence.remove(commerceWarehouseItem);
	}
879509
public static com.liferay.commerce.currency.model.CommerceCurrency createCommerceCurrency(
		long commerceCurrencyId) {
		return getService().createCommerceCurrency(commerceCurrencyId);
	}
423065
@Override
	public CommerceShipment create(long commerceShipmentId) {
		CommerceShipment commerceShipment = new CommerceShipmentImpl();

		commerceShipment.setNew(true);
		commerceShipment.setPrimaryKey(commerceShipmentId);

		commerceShipment.setCompanyId(companyProvider.getCompanyId());

		return commerceShipment;
	}
440414
public static com.liferay.commerce.model.CommerceWarehouse updateCommerceWarehouse(
		com.liferay.commerce.model.CommerceWarehouse commerceWarehouse) {
		return getService().updateCommerceWarehouse(commerceWarehouse);
	}
518860
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceWarehouse updateCommerceWarehouse(
		CommerceWarehouse commerceWarehouse) {
		return commerceWarehousePersistence.update(commerceWarehouse);
	}
356900
@Override
	public CommerceDiscountRel create(long commerceDiscountRelId) {
		CommerceDiscountRel commerceDiscountRel = new CommerceDiscountRelImpl();

		commerceDiscountRel.setNew(true);
		commerceDiscountRel.setPrimaryKey(commerceDiscountRelId);

		commerceDiscountRel.setCompanyId(companyProvider.getCompanyId());

		return commerceDiscountRel;
	}
695017
@Override
	public CommerceWarehouseItem create(long commerceWarehouseItemId) {
		CommerceWarehouseItem commerceWarehouseItem = new CommerceWarehouseItemImpl();

		commerceWarehouseItem.setNew(true);
		commerceWarehouseItem.setPrimaryKey(commerceWarehouseItemId);

		commerceWarehouseItem.setCompanyId(companyProvider.getCompanyId());

		return commerceWarehouseItem;
	}