Clears the cache for the cp specification option.

<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p>
188807
@Override
	public void clearCache(CPSpecificationOption cpSpecificationOption) {
		entityCache.removeResult(CPSpecificationOptionModelImpl.ENTITY_CACHE_ENABLED,
			CPSpecificationOptionImpl.class,
			cpSpecificationOption.getPrimaryKey());

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

		clearUniqueFindersCache((CPSpecificationOptionModelImpl)cpSpecificationOption,
			true);
	}
1281193
@Override
	public void clearCache(CPRuleAssetCategoryRel cpRuleAssetCategoryRel) {
		entityCache.removeResult(CPRuleAssetCategoryRelModelImpl.ENTITY_CACHE_ENABLED,
			CPRuleAssetCategoryRelImpl.class,
			cpRuleAssetCategoryRel.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
39714
@Override
	public void clearCache(CProduct cProduct) {
		entityCache.removeResult(CProductModelImpl.ENTITY_CACHE_ENABLED,
			CProductImpl.class, cProduct.getPrimaryKey());

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

		clearUniqueFindersCache((CProductModelImpl)cProduct, true);
	}
871732
@Override
	public void clearCache() {
		entityCache.clearCache(CommerceUserSegmentCriterionImpl.class);

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

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

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

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

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
26710
@Override
	public void clearCache(CPRule cpRule) {
		entityCache.removeResult(CPRuleModelImpl.ENTITY_CACHE_ENABLED,
			CPRuleImpl.class, cpRule.getPrimaryKey());

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

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

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
1032279
@Override
	public void clearCache(
		CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) {
		entityCache.removeResult(CommerceShippingFixedOptionRelModelImpl.ENTITY_CACHE_ENABLED,
			CommerceShippingFixedOptionRelImpl.class,
			commerceShippingFixedOptionRel.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
46182
@Override
	public void cacheResult(CPSpecificationOption cpSpecificationOption) {
		entityCache.putResult(CPSpecificationOptionModelImpl.ENTITY_CACHE_ENABLED,
			CPSpecificationOptionImpl.class,
			cpSpecificationOption.getPrimaryKey(), cpSpecificationOption);

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

		finderCache.putResult(FINDER_PATH_FETCH_BY_G_K,
			new Object[] {
				cpSpecificationOption.getGroupId(),
				cpSpecificationOption.getKey()
			}, cpSpecificationOption);

		cpSpecificationOption.resetOriginalValues();
	}
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);
	}
1006864
@Override
	public void cacheResult(List<CPOption> cpOptions) {
		for (CPOption cpOption : cpOptions) {
			if (entityCache.getResult(CPOptionModelImpl.ENTITY_CACHE_ENABLED,
						CPOptionImpl.class, cpOption.getPrimaryKey()) == null) {
				cacheResult(cpOption);
			}
			else {
				cpOption.resetOriginalValues();
			}
		}
	}
614414
@Override
	public void clearCache() {
		entityCache.clearCache(CPDefinitionVirtualSettingImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
708226
@Override
	public void clearCache(CPOptionCategory cpOptionCategory) {
		entityCache.removeResult(CPOptionCategoryModelImpl.ENTITY_CACHE_ENABLED,
			CPOptionCategoryImpl.class, cpOptionCategory.getPrimaryKey());

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

		clearUniqueFindersCache((CPOptionCategoryModelImpl)cpOptionCategory,
			true);
	}