Removes all the cp option values where groupId = &#63; from the database.

@param groupId the group ID
343700
@Override
	public void removeByGroupId(long groupId) {
		for (CPOptionValue cpOptionValue : findByGroupId(groupId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpOptionValue);
		}
	}
819340
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CPDefinitionGroupedEntry cpDefinitionGroupedEntry : findByUuid_C(
				uuid, companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionGroupedEntry);
		}
	}
735691
@Override
	public List<CPDefinitionOptionValueRel> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
663760
@Override
	public CPOptionValue removeByUUID_G(String uuid, long groupId)
		throws NoSuchCPOptionValueException {
		CPOptionValue cpOptionValue = findByUUID_G(uuid, groupId);

		return remove(cpOptionValue);
	}
87355
public void setGroupId(final String groupId) {
        if (groupId == null && this.groupId == null) {
            return;
        } else if (groupId == null) {
            removeChild(this.groupId);
            this.groupId = null;
        } else if (this.groupId == null) {
            this.groupId = new KeyValueNode<String>(CommonConstants.CS_MAVEN_GROUP_ID_TITLE, groupId);
            appendChild(this.groupId, false);
        } else {
            this.groupId.setValue(groupId);
        }
    }
614762
public static CPOptionValue removeByUUID_G(String uuid, long groupId)
		throws com.liferay.commerce.product.exception.NoSuchCPOptionValueException {
		return getPersistence().removeByUUID_G(uuid, groupId);
	}
724964
@Override
	public void removeByG_C(long groupId, long commerceCountryId) {
		for (CommerceWarehouse commerceWarehouse : findByG_C(groupId,
				commerceCountryId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceWarehouse);
		}
	}
872913
@Override
	public void removeByUuid(String uuid) {
		for (CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue : findByUuid(
				uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionSpecificationOptionValue);
		}
	}
537788
@Override
	public void removeByGroupId(long groupId) {
		for (CommercePriceEntry commercePriceEntry : findByGroupId(groupId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commercePriceEntry);
		}
	}
814418
@Override
	public CPOptionCategory removeByUUID_G(String uuid, long groupId)
		throws NoSuchCPOptionCategoryException {
		CPOptionCategory cpOptionCategory = findByUUID_G(uuid, groupId);

		return remove(cpOptionCategory);
	}
209697
@Override
	public void removeByGroupId(long groupId) {
		for (CommerceShippingMethod commerceShippingMethod : findByGroupId(
				groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceShippingMethod);
		}
	}
167742
@Override
	public void removeByCPDefinitionId(long CPDefinitionId) {
		for (CPDefinitionGroupedEntry cpDefinitionGroupedEntry : findByCPDefinitionId(
				CPDefinitionId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionGroupedEntry);
		}
	}
757306
@Override
	public List<CPOption> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
268667
@Override
	public CPDefinitionLink removeByUUID_G(String uuid, long groupId)
		throws NoSuchCPDefinitionLinkException {
		CPDefinitionLink cpDefinitionLink = findByUUID_G(uuid, groupId);

		return remove(cpDefinitionLink);
	}
1167969
@Override
	public CPDefinitionOptionValueRel removeByUUID_G(String uuid, long groupId)
		throws NoSuchCPDefinitionOptionValueRelException {
		CPDefinitionOptionValueRel cpDefinitionOptionValueRel = findByUUID_G(uuid,
				groupId);

		return remove(cpDefinitionOptionValueRel);
	}
539687
@Override
	public void removeByCPDefinitionId(long CPDefinitionId) {
		for (CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue : findByCPDefinitionId(
				CPDefinitionId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionSpecificationOptionValue);
		}
	}
332201
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CPOptionValue cpOptionValue : findByUuid_C(uuid, companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpOptionValue);
		}
	}