Removes the cp definition virtual setting where classNameId = &#63; and classPK = &#63; from the database.

@param classNameId the class name ID
@param classPK the class pk
@return the cp definition virtual setting that was removed
349858
public static CPDefinitionVirtualSetting removeByC_C(long classNameId,
		long classPK)
		throws com.liferay.commerce.product.type.virtual.exception.NoSuchCPDefinitionVirtualSettingException {
		return getPersistence().removeByC_C(classNameId, classPK);
	}
937362
@Override
	public void clearCache(
		CPDefinitionVirtualSetting cpDefinitionVirtualSetting) {
		entityCache.removeResult(CPDefinitionVirtualSettingModelImpl.ENTITY_CACHE_ENABLED,
			CPDefinitionVirtualSettingImpl.class,
			cpDefinitionVirtualSetting.getPrimaryKey());

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

		clearUniqueFindersCache((CPDefinitionVirtualSettingModelImpl)cpDefinitionVirtualSetting,
			true);
	}
721879
@Override
	public void clearCache() {
		entityCache.clearCache(CPDefinitionSpecificationOptionValueImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
812623
public static CPOptionValue removeByC_K(long CPOptionId, String key)
		throws com.liferay.commerce.product.exception.NoSuchCPOptionValueException {
		return getPersistence().removeByC_K(CPOptionId, key);
	}
232253
@Override
	public CPOptionValue removeByC_K(long CPOptionId, String key)
		throws NoSuchCPOptionValueException {
		CPOptionValue cpOptionValue = findByC_K(CPOptionId, key);

		return remove(cpOptionValue);
	}
816272
@Override
	public void removeByUuid(String uuid) {
		for (CPDefinitionGroupedEntry cpDefinitionGroupedEntry : findByUuid(
				uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionGroupedEntry);
		}
	}
1367361
@Override
	public void removeByCD_CN(long commerceDiscountId, long classNameId) {
		for (CommerceDiscountRel commerceDiscountRel : findByCD_CN(
				commerceDiscountId, classNameId, QueryUtil.ALL_POS,
				QueryUtil.ALL_POS, null)) {
			remove(commerceDiscountRel);
		}
	}
836634
@Override
	public void removeByCP_T(long CProductId, String type) {
		for (CPDefinitionLink cpDefinitionLink : findByCP_T(CProductId, type,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionLink);
		}
	}
715439
@Override
	public CPDefinitionInventory removeByUUID_G(String uuid, long groupId)
		throws NoSuchCPDefinitionInventoryException {
		CPDefinitionInventory cpDefinitionInventory = findByUUID_G(uuid, groupId);

		return remove(cpDefinitionInventory);
	}
1206760
@Override
	public CPDefinitionVirtualSetting removeByUUID_G(String uuid, long groupId)
		throws NoSuchCPDefinitionVirtualSettingException {
		CPDefinitionVirtualSetting cpDefinitionVirtualSetting = findByUUID_G(uuid,
				groupId);

		return remove(cpDefinitionVirtualSetting);
	}
762265
public static void removeByC_C_T_ST(long classNameId, long classPK,
		int type, int status) {
		getPersistence().removeByC_C_T_ST(classNameId, classPK, type, status);
	}
461049
@Override
	public CPInstance removeByC_C(long CPDefinitionId, String CPInstanceUuid)
		throws NoSuchCPInstanceException {
		CPInstance cpInstance = findByC_C(CPDefinitionId, CPInstanceUuid);

		return remove(cpInstance);
	}
118578
@Override
	public void removeByUuid(String uuid) {
		for (CPDefinitionLink cpDefinitionLink : findByUuid(uuid,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionLink);
		}
	}
52913
@Override
	public void clearCache() {
		entityCache.clearCache(CPDefinitionLinkImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
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);
	}
456977
@Override
	public CPDefinitionLocalization removeByCPDefinitionId_LanguageId(
		long CPDefinitionId, String languageId)
		throws NoSuchCPDefinitionLocalizationException {
		CPDefinitionLocalization cpDefinitionLocalization = findByCPDefinitionId_LanguageId(CPDefinitionId,
				languageId);

		return remove(cpDefinitionLocalization);
	}
237425
@Override
	public CPDefinitionOptionRel removeByUUID_G(String uuid, long groupId)
		throws NoSuchCPDefinitionOptionRelException {
		CPDefinitionOptionRel cpDefinitionOptionRel = findByUUID_G(uuid, groupId);

		return remove(cpDefinitionOptionRel);
	}