Caches the commerce address in the entity cache if it is enabled.

@param commerceAddress the commerce address
161815
@Override
	public void cacheResult(CommerceAddress commerceAddress) {
		entityCache.putResult(CommerceAddressModelImpl.ENTITY_CACHE_ENABLED,
			CommerceAddressImpl.class, commerceAddress.getPrimaryKey(),
			commerceAddress);

		commerceAddress.resetOriginalValues();
	}
101255
@Override
	public void cacheResult(
		List<CommerceAddressRestriction> commerceAddressRestrictions) {
		for (CommerceAddressRestriction commerceAddressRestriction : commerceAddressRestrictions) {
			if (entityCache.getResult(
						CommerceAddressRestrictionModelImpl.ENTITY_CACHE_ENABLED,
						CommerceAddressRestrictionImpl.class,
						commerceAddressRestriction.getPrimaryKey()) == null) {
				cacheResult(commerceAddressRestriction);
			}
			else {
				commerceAddressRestriction.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();
			}
		}
	}
1044
@Override
	public void cacheResult(CommerceTierPriceEntry commerceTierPriceEntry) {
		entityCache.putResult(CommerceTierPriceEntryModelImpl.ENTITY_CACHE_ENABLED,
			CommerceTierPriceEntryImpl.class,
			commerceTierPriceEntry.getPrimaryKey(), commerceTierPriceEntry);

		finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
			new Object[] {
				commerceTierPriceEntry.getUuid(),
				commerceTierPriceEntry.getGroupId()
			}, commerceTierPriceEntry);

		finderCache.putResult(FINDER_PATH_FETCH_BY_C_M,
			new Object[] {
				commerceTierPriceEntry.getCommercePriceEntryId(),
				commerceTierPriceEntry.getMinQuantity()
			}, commerceTierPriceEntry);

		finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC,
			new Object[] {
				commerceTierPriceEntry.getCompanyId(),
				commerceTierPriceEntry.getExternalReferenceCode()
			}, commerceTierPriceEntry);

		commerceTierPriceEntry.resetOriginalValues();
	}
471953
@Override
	public void cacheResult(
		List<CommerceTierPriceEntry> commerceTierPriceEntries) {
		for (CommerceTierPriceEntry commerceTierPriceEntry : commerceTierPriceEntries) {
			if (entityCache.getResult(
						CommerceTierPriceEntryModelImpl.ENTITY_CACHE_ENABLED,
						CommerceTierPriceEntryImpl.class,
						commerceTierPriceEntry.getPrimaryKey()) == null) {
				cacheResult(commerceTierPriceEntry);
			}
			else {
				commerceTierPriceEntry.resetOriginalValues();
			}
		}
	}
794744
@Override
	public void cacheResult(List<CommerceWishList> commerceWishLists) {
		for (CommerceWishList commerceWishList : commerceWishLists) {
			if (entityCache.getResult(
						CommerceWishListModelImpl.ENTITY_CACHE_ENABLED,
						CommerceWishListImpl.class,
						commerceWishList.getPrimaryKey()) == null) {
				cacheResult(commerceWishList);
			}
			else {
				commerceWishList.resetOriginalValues();
			}
		}
	}
1330143
@Override
	public void cacheResult(List<CommerceOrderItem> commerceOrderItems) {
		for (CommerceOrderItem commerceOrderItem : commerceOrderItems) {
			if (entityCache.getResult(
						CommerceOrderItemModelImpl.ENTITY_CACHE_ENABLED,
						CommerceOrderItemImpl.class,
						commerceOrderItem.getPrimaryKey()) == null) {
				cacheResult(commerceOrderItem);
			}
			else {
				commerceOrderItem.resetOriginalValues();
			}
		}
	}
945809
@Override
	public void clearCache() {
		entityCache.clearCache(CommerceAddressRestrictionImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
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();
			}
		}
	}
142398
@Override
	public com.liferay.commerce.model.CommerceAddress deleteCommerceAddress(
		com.liferay.commerce.model.CommerceAddress commerceAddress)
		throws com.liferay.portal.kernel.exception.PortalException {
		return _commerceAddressLocalService.deleteCommerceAddress(commerceAddress);
	}
729152
@Override
	public void cacheResult(CommerceShipmentItem commerceShipmentItem) {
		entityCache.putResult(CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
			CommerceShipmentItemImpl.class,
			commerceShipmentItem.getPrimaryKey(), commerceShipmentItem);

		commerceShipmentItem.resetOriginalValues();
	}
1136580
@Override
	public void clearCache(CommerceWarehouseItem commerceWarehouseItem) {
		entityCache.removeResult(CommerceWarehouseItemModelImpl.ENTITY_CACHE_ENABLED,
			CommerceWarehouseItemImpl.class,
			commerceWarehouseItem.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);

		clearUniqueFindersCache((CommerceWarehouseItemModelImpl)commerceWarehouseItem,
			true);
	}
946961
@Override
	public void clearCache(
		CommerceDiscountUsageEntry commerceDiscountUsageEntry) {
		entityCache.removeResult(CommerceDiscountUsageEntryModelImpl.ENTITY_CACHE_ENABLED,
			CommerceDiscountUsageEntryImpl.class,
			commerceDiscountUsageEntry.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
947213
@Override
	public void cacheResult(List<CommerceRegion> commerceRegions) {
		for (CommerceRegion commerceRegion : commerceRegions) {
			if (entityCache.getResult(
						CommerceRegionModelImpl.ENTITY_CACHE_ENABLED,
						CommerceRegionImpl.class, commerceRegion.getPrimaryKey()) == null) {
				cacheResult(commerceRegion);
			}
			else {
				commerceRegion.resetOriginalValues();
			}
		}
	}
713872
@Override
	public void cacheResult(List<CommerceTaxMethod> commerceTaxMethods) {
		for (CommerceTaxMethod commerceTaxMethod : commerceTaxMethods) {
			if (entityCache.getResult(
						CommerceTaxMethodModelImpl.ENTITY_CACHE_ENABLED,
						CommerceTaxMethodImpl.class,
						commerceTaxMethod.getPrimaryKey()) == null) {
				cacheResult(commerceTaxMethod);
			}
			else {
				commerceTaxMethod.resetOriginalValues();
			}
		}
	}
641298
@Override
	public void clearCache(CommerceOrder commerceOrder) {
		entityCache.removeResult(CommerceOrderModelImpl.ENTITY_CACHE_ENABLED,
			CommerceOrderImpl.class, commerceOrder.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);

		clearUniqueFindersCache((CommerceOrderModelImpl)commerceOrder, true);
	}
1299832
@Override
	public void clearCache() {
		entityCache.clearCache(CommerceAddressImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}