Removes all the cp definition option rels where CPDefinitionId = &#63; from the database.

@param CPDefinitionId the cp definition ID
501864
@Override
	public void removeByCPDefinitionId(long CPDefinitionId) {
		for (CPDefinitionOptionRel cpDefinitionOptionRel : findByCPDefinitionId(
				CPDefinitionId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionOptionRel);
		}
	}
945419
public void removeTableDef(TableDefinition tableDef) {
        assert tableDef != null;
        assert tableDef.getAppDef() == this;
        
        m_tableMap.remove(tableDef.getTableName());
    }
672342
public function removeDefinition($id)
    {
        if (isset($this->definitions[$id = $this->normalizeId($id)])) {
            unset($this->definitions[$id]);
            $this->removedIds[$id] = true;
        }
    }
816272
@Override
	public void removeByUuid(String uuid) {
		for (CPDefinitionGroupedEntry cpDefinitionGroupedEntry : findByUuid(
				uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionGroupedEntry);
		}
	}
456977
@Override
	public CPDefinitionLocalization removeByCPDefinitionId_LanguageId(
		long CPDefinitionId, String languageId)
		throws NoSuchCPDefinitionLocalizationException {
		CPDefinitionLocalization cpDefinitionLocalization = findByCPDefinitionId_LanguageId(CPDefinitionId,
				languageId);

		return remove(cpDefinitionLocalization);
	}
586373
@Override
	public void removeByGroupId(long groupId) {
		for (CPOptionCategory cpOptionCategory : findByGroupId(groupId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpOptionCategory);
		}
	}
1167969
@Override
	public CPDefinitionOptionValueRel removeByUUID_G(String uuid, long groupId)
		throws NoSuchCPDefinitionOptionValueRelException {
		CPDefinitionOptionValueRel cpDefinitionOptionValueRel = findByUUID_G(uuid,
				groupId);

		return remove(cpDefinitionOptionValueRel);
	}
1090934
public static CPDefinitionInventory removeByCPDefinitionId(
		long CPDefinitionId)
		throws com.liferay.commerce.exception.NoSuchCPDefinitionInventoryException {
		return getPersistence().removeByCPDefinitionId(CPDefinitionId);
	}
725964
@Override
	public void removeByUuid(String uuid) {
		for (CPDefinitionOptionRel cpDefinitionOptionRel : findByUuid(uuid,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionOptionRel);
		}
	}
715439
@Override
	public CPDefinitionInventory removeByUUID_G(String uuid, long groupId)
		throws NoSuchCPDefinitionInventoryException {
		CPDefinitionInventory cpDefinitionInventory = findByUUID_G(uuid, groupId);

		return remove(cpDefinitionInventory);
	}
268667
@Override
	public CPDefinitionLink removeByUUID_G(String uuid, long groupId)
		throws NoSuchCPDefinitionLinkException {
		CPDefinitionLink cpDefinitionLink = findByUUID_G(uuid, groupId);

		return remove(cpDefinitionLink);
	}
953862
public static com.liferay.commerce.model.CPDefinitionInventory deleteCPDefinitionInventory(
		com.liferay.commerce.model.CPDefinitionInventory cpDefinitionInventory) {
		return getService().deleteCPDefinitionInventory(cpDefinitionInventory);
	}
579397
@Override
	public void removeByCPSpecificationOptionId(long CPSpecificationOptionId) {
		for (CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue : findByCPSpecificationOptionId(
				CPSpecificationOptionId, QueryUtil.ALL_POS, QueryUtil.ALL_POS,
				null)) {
			remove(cpDefinitionSpecificationOptionValue);
		}
	}
1086767
protected void cascadeDeleteHistoryForProcessDefinition(String processDefinitionId) {
     // remove historic incidents which are not referenced to a process instance
    getHistoricIncidentManager().deleteHistoricIncidentsByProcessDefinitionId(processDefinitionId);

     // remove historic identity links which are not reference to a process instance
    getHistoricIdentityLinkManager().deleteHistoricIdentityLinksLogByProcessDefinitionId(processDefinitionId);

     // remove historic job log entries not related to a process instance
    getHistoricJobLogManager().deleteHistoricJobLogsByProcessDefinitionId(processDefinitionId);
  }
987234
@Override
	public void removeByUuid(String uuid) {
		for (CPDefinitionOptionValueRel cpDefinitionOptionValueRel : findByUuid(
				uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionOptionValueRel);
		}
	}
863312
@Override
	public void removeByCompanyId(long companyId) {
		for (CPDefinitionOptionValueRel cpDefinitionOptionValueRel : findByCompanyId(
				companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionOptionValueRel);
		}
	}
374123
@Override
	public void removeByC_ST(long CPDefinitionId, int status) {
		for (CPInstance cpInstance : findByC_ST(CPDefinitionId, status,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpInstance);
		}
	}