Clears the cache for all commerce price entries.

<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p>
356877
@Override
	public void clearCache() {
		entityCache.clearCache(CommercePriceEntryImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
717927
@Override
	public void clearCache() {
		entityCache.clearCache(CommerceVirtualOrderItemImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
745936
@Override
	public void clearCache() {
		entityCache.clearCache(CommerceNotificationQueueEntryImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
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();
			}
		}
	}
1285656
@Override
	public void clearCache() {
		entityCache.clearCache(CommerceTaxFixedRateImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
33382
@Override
	public void clearCache(CommerceDiscountRel commerceDiscountRel) {
		entityCache.removeResult(CommerceDiscountRelModelImpl.ENTITY_CACHE_ENABLED,
			CommerceDiscountRelImpl.class, commerceDiscountRel.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
228252
@Override
	public void clearCache(CommerceWishListItem commerceWishListItem) {
		entityCache.removeResult(CommerceWishListItemModelImpl.ENTITY_CACHE_ENABLED,
			CommerceWishListItemImpl.class, commerceWishListItem.getPrimaryKey());

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

		clearUniqueFindersCache((CommerceWishListItemModelImpl)commerceWishListItem,
			true);
	}
1085017
@Override
	public void clearCache() {
		entityCache.clearCache(CPRuleImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
880420
@Override
	public void clearCache(CommerceTaxMethod commerceTaxMethod) {
		entityCache.removeResult(CommerceTaxMethodModelImpl.ENTITY_CACHE_ENABLED,
			CommerceTaxMethodImpl.class, commerceTaxMethod.getPrimaryKey());

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

		clearUniqueFindersCache((CommerceTaxMethodModelImpl)commerceTaxMethod,
			true);
	}
1120270
@Override
	public void clearCache() {
		entityCache.clearCache(CommercePriceListUserSegmentEntryRelImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
1019912
protected function clearPriceCache()
    {
        $obItem = $this->obElement->item;
        if (empty($obItem)) {
            return;
        }

        if ($obItem instanceof Offer) {

            $sSorting = !empty($this->obElement->price_type) ? '|'.$this->obElement->price_type : '';

            OfferListStore::instance()->sorting->clear(OfferListStore::SORT_PRICE_ASC.$sSorting);
            OfferListStore::instance()->sorting->clear(OfferListStore::SORT_PRICE_DESC.$sSorting);

            if ($obItem->active) {
                ProductListStore::instance()->sorting->clear(ProductListStore::SORT_PRICE_ASC.$sSorting);
                ProductListStore::instance()->sorting->clear(ProductListStore::SORT_PRICE_DESC.$sSorting);
            }
        }
    }
711560
@Override
	public void clearCache(CommerceShipment commerceShipment) {
		entityCache.removeResult(CommerceShipmentModelImpl.ENTITY_CACHE_ENABLED,
			CommerceShipmentImpl.class, commerceShipment.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
811830
@Override
	public void clearCache() {
		entityCache.clearCache(CommerceRegionImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
800870
@Override
	public void clearCache() {
		entityCache.clearCache(CommerceShipmentItemImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
66636
@Override
	public void clearCache() {
		entityCache.clearCache(CommerceDiscountRuleImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
406629
@Override
	public void clearCache() {
		entityCache.clearCache(CommerceNotificationTemplateUserSegmentRelImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
1313692
@Override
	public void clearCache() {
		entityCache.clearCache(CPDefinitionInventoryImpl.class);

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