Deletes the commerce warehouse item from the database. Also notifies the appropriate model listeners.

@param commerceWarehouseItem the commerce warehouse item
@return the commerce warehouse item that was removed
772195
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceWarehouseItem deleteCommerceWarehouseItem(
		CommerceWarehouseItem commerceWarehouseItem) {
		return commerceWarehouseItemPersistence.remove(commerceWarehouseItem);
	}
508251
@Override
	public CommerceOrderItem removeByC_ERC(long companyId,
		String externalReferenceCode) throws NoSuchOrderItemException {
		CommerceOrderItem commerceOrderItem = findByC_ERC(companyId,
				externalReferenceCode);

		return remove(commerceOrderItem);
	}
589227
@Override
	public com.liferay.commerce.model.CommerceOrderNote deleteCommerceOrderNote(
		com.liferay.commerce.model.CommerceOrderNote commerceOrderNote) {
		return _commerceOrderNoteLocalService.deleteCommerceOrderNote(commerceOrderNote);
	}
834005
@Override
	public void clearCache(CommerceShipmentItem commerceShipmentItem) {
		entityCache.removeResult(CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
			CommerceShipmentItemImpl.class, commerceShipmentItem.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
434664
public static com.liferay.commerce.model.CommerceShipmentItem updateCommerceShipmentItem(
		com.liferay.commerce.model.CommerceShipmentItem commerceShipmentItem) {
		return getService().updateCommerceShipmentItem(commerceShipmentItem);
	}
419264
@Override
	public void removeByCommerceWarehouseId(long commerceWarehouseId) {
		for (CommerceWarehouseItem commerceWarehouseItem : findByCommerceWarehouseId(
				commerceWarehouseId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceWarehouseItem);
		}
	}
851210
@Override
	public com.liferay.commerce.model.CommerceSubscriptionEntry deleteCommerceSubscriptionEntry(
		com.liferay.commerce.model.CommerceSubscriptionEntry commerceSubscriptionEntry) {
		return _commerceSubscriptionEntryLocalService.deleteCommerceSubscriptionEntry(commerceSubscriptionEntry);
	}
1042075
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceDiscountRel deleteCommerceDiscountRel(
		CommerceDiscountRel commerceDiscountRel) throws PortalException {
		return commerceDiscountRelPersistence.remove(commerceDiscountRel);
	}
440414
public static com.liferay.commerce.model.CommerceWarehouse updateCommerceWarehouse(
		com.liferay.commerce.model.CommerceWarehouse commerceWarehouse) {
		return getService().updateCommerceWarehouse(commerceWarehouse);
	}
1037077
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceNotificationQueueEntry deleteCommerceNotificationQueueEntry(
		CommerceNotificationQueueEntry commerceNotificationQueueEntry) {
		return commerceNotificationQueueEntryPersistence.remove(commerceNotificationQueueEntry);
	}
933610
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceWishListItem deleteCommerceWishListItem(
		CommerceWishListItem commerceWishListItem) {
		return commerceWishListItemPersistence.remove(commerceWishListItem);
	}
1021708
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceRegion deleteCommerceRegion(CommerceRegion commerceRegion)
		throws PortalException {
		return commerceRegionPersistence.remove(commerceRegion);
	}
860845
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceVirtualOrderItem deleteCommerceVirtualOrderItem(
		CommerceVirtualOrderItem commerceVirtualOrderItem) {
		return commerceVirtualOrderItemPersistence.remove(commerceVirtualOrderItem);
	}
570242
@Override
	public void cacheResult(CommerceWarehouse commerceWarehouse) {
		entityCache.putResult(CommerceWarehouseModelImpl.ENTITY_CACHE_ENABLED,
			CommerceWarehouseImpl.class, commerceWarehouse.getPrimaryKey(),
			commerceWarehouse);

		commerceWarehouse.resetOriginalValues();
	}
1249337
@Override
    public void deleteStoreIfPresent(String storeName) {
        DBConn dbConn = getDBConnection();
        try {
            synchronized (m_schemaLock) {
                if (m_schemaMgr.columnFamilyExists(dbConn, m_keyspace, storeName)) {
                    m_schemaMgr.deleteColumnFamily(dbConn, storeName);
                }
            }
        } finally {
            returnDBConnection(dbConn);
        }
    }
494164
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceAccount deleteCommerceAccount(
		CommerceAccount commerceAccount) throws PortalException {
		return commerceAccountPersistence.remove(commerceAccount);
	}
891580
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceSubscriptionEntry deleteCommerceSubscriptionEntry(
		CommerceSubscriptionEntry commerceSubscriptionEntry) {
		return commerceSubscriptionEntryPersistence.remove(commerceSubscriptionEntry);
	}