Removes all the cp tax categories where groupId = &#63; from the database.

@param groupId the group ID
487720
@Override
	public void removeByGroupId(long groupId) {
		for (CPTaxCategory cpTaxCategory : findByGroupId(groupId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpTaxCategory);
		}
	}
645156
private void removeAllRelatedFromCache(String groupId)
   {
      cache.remove(CacheHandler.GROUP_PREFIX + groupId, CacheType.MEMBERSHIP);
   }
848340
@Override
	public void removeByG_C_C(long groupId, long classNameId, long classPK) {
		for (CommerceAddress commerceAddress : findByG_C_C(groupId,
				classNameId, classPK, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceAddress);
		}
	}
1215226
@Override
	public void removeByGroupId(long groupId) {
		for (CPDefinitionOptionRel cpDefinitionOptionRel : findByGroupId(
				groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionOptionRel);
		}
	}
927722
@Override
	public void removeByCPTaxCategoryId(long CPTaxCategoryId) {
		for (CPDefinition cpDefinition : findByCPTaxCategoryId(
				CPTaxCategoryId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinition);
		}
	}
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);
		}
	}
543423
@Override
	public CPDefinitionGroupedEntry removeByUUID_G(String uuid, long groupId)
		throws NoSuchCPDefinitionGroupedEntryException {
		CPDefinitionGroupedEntry cpDefinitionGroupedEntry = findByUUID_G(uuid,
				groupId);

		return remove(cpDefinitionGroupedEntry);
	}
1250480
public void deleteServerGroup(int id) {
        try {
            sqlService.executeUpdate("DELETE FROM " + Constants.DB_TABLE_SERVER_GROUPS +
                                         " WHERE " + Constants.GENERIC_ID + " = " + id + ";");

            sqlService.executeUpdate("DELETE FROM " + Constants.DB_TABLE_SERVERS +
                                         " WHERE " + Constants.SERVER_REDIRECT_GROUP_ID + " = " + id);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
856026
@Override
	public CPOptionCategory removeByG_K(long groupId, String key)
		throws NoSuchCPOptionCategoryException {
		CPOptionCategory cpOptionCategory = findByG_K(groupId, key);

		return remove(cpOptionCategory);
	}
712690
@Override
	public CPDefinitionSpecificationOptionValue removeByUUID_G(String uuid,
		long groupId)
		throws NoSuchCPDefinitionSpecificationOptionValueException {
		CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue =
			findByUUID_G(uuid, groupId);

		return remove(cpDefinitionSpecificationOptionValue);
	}
991194
@Override
	public void removeByGroupId(long groupId) {
		for (CPRule cpRule : findByGroupId(groupId, QueryUtil.ALL_POS,
				QueryUtil.ALL_POS, null)) {
			remove(cpRule);
		}
	}
366916
@Override
	public void removeByCompanyId(long companyId) {
		for (CommerceAccount commerceAccount : findByCompanyId(companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceAccount);
		}
	}
370028
@Override
	public List<CommerceDiscount> filterFindByGroupId(long groupId) {
		return filterFindByGroupId(groupId, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
927780
@Override
	public void removeByGroupId(long groupId) {
		for (CommerceShipment commerceShipment : findByGroupId(groupId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceShipment);
		}
	}
251097
@Override
	public void removeByG_A(long groupId, boolean active) {
		for (CommerceTaxMethod commerceTaxMethod : findByG_A(groupId, active,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceTaxMethod);
		}
	}
1010679
@Override
	public void removeByGroupId(long groupId) {
		for (CPSpecificationOption cpSpecificationOption : findByGroupId(
				groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpSpecificationOption);
		}
	}
1301363
@Override
	public void removeByCompanyId(long companyId) {
		for (CPInstance cpInstance : findByCompanyId(companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpInstance);
		}
	}