Removes the cp definition where companyId = &#63; and externalReferenceCode = &#63; from the database.

@param companyId the company ID
@param externalReferenceCode the external reference code
@return the cp definition that was removed
494115
@Override
	public CPDefinition removeByC_ERC(long companyId,
		String externalReferenceCode) throws NoSuchCPDefinitionException {
		CPDefinition cpDefinition = findByC_ERC(companyId, externalReferenceCode);

		return remove(cpDefinition);
	}
1105010
@Override
	public void removeByCompanyId(long companyId) {
		for (CPDefinition cpDefinition : findByCompanyId(companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinition);
		}
	}
999683
@Override
	public void removeByCompanyId(long companyId) {
		for (CommerceTierPriceEntry commerceTierPriceEntry : findByCompanyId(
				companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceTierPriceEntry);
		}
	}
961215
public OvhCompany register_company_companyId_GET(String companyId) throws IOException {
		String qPath = "/partners/register/company/{companyId}";
		StringBuilder sb = path(qPath, companyId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhCompany.class);
	}
204339
@Override
	public void removeByCPDefinitionId(long CPDefinitionId) {
		for (CPInstance cpInstance : findByCPDefinitionId(CPDefinitionId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpInstance);
		}
	}
1060813
@Override
	public void removeByC_LtD_S(long CPDefinitionId, Date displayDate,
		int status) {
		for (CPInstance cpInstance : findByC_LtD_S(CPDefinitionId, displayDate,
				status, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpInstance);
		}
	}
167742
@Override
	public void removeByCPDefinitionId(long CPDefinitionId) {
		for (CPDefinitionGroupedEntry cpDefinitionGroupedEntry : findByCPDefinitionId(
				CPDefinitionId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionGroupedEntry);
		}
	}
1094127
@Override
	public void removeByCPDefinitionId(long CPDefinitionId) {
		for (CPDefinitionLink cpDefinitionLink : findByCPDefinitionId(
				CPDefinitionId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionLink);
		}
	}
370356
public static List<CPDefinitionInventory> findByUuid_C(String uuid,
		long companyId) {
		return getPersistence().findByUuid_C(uuid, companyId);
	}
810768
public static List<CPDefinitionOptionValueRel> findByUuid_C(String uuid,
		long companyId) {
		return getPersistence().findByUuid_C(uuid, companyId);
	}
501864
@Override
	public void removeByCPDefinitionId(long CPDefinitionId) {
		for (CPDefinitionOptionRel cpDefinitionOptionRel : findByCPDefinitionId(
				CPDefinitionId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionOptionRel);
		}
	}
1301363
@Override
	public void removeByCompanyId(long companyId) {
		for (CPInstance cpInstance : findByCompanyId(companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpInstance);
		}
	}
1293058
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CPDefinitionVirtualSetting cpDefinitionVirtualSetting : findByUuid_C(
				uuid, companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionVirtualSetting);
		}
	}
608572
public static List<CPDefinitionSpecificationOptionValue> findByUuid_C(
		String uuid, long companyId) {
		return getPersistence().findByUuid_C(uuid, companyId);
	}
1275101
@Override
	public List<CPDefinitionOptionRel> findByCompanyId(long companyId) {
		return findByCompanyId(companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS,
			null);
	}
273787
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CPSpecificationOption cpSpecificationOption : findByUuid_C(uuid,
				companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpSpecificationOption);
		}
	}
688239
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CPOption cpOption : findByUuid_C(uuid, companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpOption);
		}
	}