Removes the cp specification option where groupId = &#63; and key = &#63; from the database.

@param groupId the group ID
@param key the key
@return the cp specification option that was removed
485509
public static CPSpecificationOption removeByG_K(long groupId, String key)
		throws com.liferay.commerce.product.exception.NoSuchCPSpecificationOptionException {
		return getPersistence().removeByG_K(groupId, key);
	}
756579
@Override
	public CPOption fetchCPOptionByUuidAndGroupId(String uuid, long groupId) {
		return cpOptionPersistence.fetchByUUID_G(uuid, groupId);
	}
614762
public static CPOptionValue removeByUUID_G(String uuid, long groupId)
		throws com.liferay.commerce.product.exception.NoSuchCPOptionValueException {
		return getPersistence().removeByUUID_G(uuid, groupId);
	}
771980
@Override
	public void removeByGroupId(long groupId) {
		for (CommerceWarehouse commerceWarehouse : findByGroupId(groupId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceWarehouse);
		}
	}
678012
@Override
	public void removeByGroupId(long groupId) {
		for (CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue : findByGroupId(
				groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionSpecificationOptionValue);
		}
	}
730660
public static CPDefinitionSpecificationOptionValue removeByUUID_G(
		String uuid, long groupId)
		throws com.liferay.commerce.product.exception.NoSuchCPDefinitionSpecificationOptionValueException {
		return getPersistence().removeByUUID_G(uuid, groupId);
	}
454866
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue : findByUuid_C(
				uuid, companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionSpecificationOptionValue);
		}
	}
232253
@Override
	public CPOptionValue removeByC_K(long CPOptionId, String key)
		throws NoSuchCPOptionValueException {
		CPOptionValue cpOptionValue = findByC_K(CPOptionId, key);

		return remove(cpOptionValue);
	}
706376
@Override
	public void removeByG_C_C(long groupId, long classNameId, long classPK) {
		for (CPFriendlyURLEntry cpFriendlyURLEntry : findByG_C_C(groupId,
				classNameId, classPK, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpFriendlyURLEntry);
		}
	}
916118
@Override
	public CPSpecificationOption removeByUUID_G(String uuid, long groupId)
		throws NoSuchCPSpecificationOptionException {
		CPSpecificationOption cpSpecificationOption = findByUUID_G(uuid, groupId);

		return remove(cpSpecificationOption);
	}
1323993
public void removeCorporateGroupId(final String organizationId, final String corporateGroupId) {
        final DbOrganization dbOrganization = getOrganization(organizationId);

        if(dbOrganization.getCorporateGroupIdPrefixes().contains(corporateGroupId)){
            dbOrganization.getCorporateGroupIdPrefixes().remove(corporateGroupId);
            repositoryHandler.store(dbOrganization);
        }

        repositoryHandler.removeModulesOrganization(corporateGroupId, dbOrganization);
    }
202356
public static synchronized void removeChannelGroup(String groupId) {
        try {
            if (_removeChannelGroup(groupId)) {
                save();
            }
        } catch (Exception ex) {
            Log.e(WonderPush.TAG, "Unexpected error while removing channel group " + groupId, ex);
        }
    }
51106
public static CPDefinitionInventory removeByUUID_G(String uuid, long groupId)
		throws com.liferay.commerce.exception.NoSuchCPDefinitionInventoryException {
		return getPersistence().removeByUUID_G(uuid, groupId);
	}
663795
@Override
	public void removeByGroupId(long groupId) {
		for (CPDefinition cpDefinition : findByGroupId(groupId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinition);
		}
	}
521451
public static CPDisplayLayout removeByUUID_G(String uuid, long groupId)
		throws com.liferay.commerce.product.exception.NoSuchCPDisplayLayoutException {
		return getPersistence().removeByUUID_G(uuid, groupId);
	}
1247249
public static CPDefinitionGroupedEntry removeByUUID_G(String uuid,
		long groupId)
		throws com.liferay.commerce.product.type.grouped.exception.NoSuchCPDefinitionGroupedEntryException {
		return getPersistence().removeByUUID_G(uuid, groupId);
	}
715439
@Override
	public CPDefinitionInventory removeByUUID_G(String uuid, long groupId)
		throws NoSuchCPDefinitionInventoryException {
		CPDefinitionInventory cpDefinitionInventory = findByUUID_G(uuid, groupId);

		return remove(cpDefinitionInventory);
	}