Removes the cpd availability estimate where CProductId = &#63; from the database.

@param CProductId the c product ID
@return the cpd availability estimate that was removed
332168
public static CPDAvailabilityEstimate removeByCProductId(long CProductId)
		throws com.liferay.commerce.exception.NoSuchCPDAvailabilityEstimateException {
		return getPersistence().removeByCProductId(CProductId);
	}
1074651
@Override
	public CProduct create(long CProductId) {
		CProduct cProduct = new CProductImpl();

		cProduct.setNew(true);
		cProduct.setPrimaryKey(CProductId);

		String uuid = PortalUUIDUtil.generate();

		cProduct.setUuid(uuid);

		cProduct.setCompanyId(companyProvider.getCompanyId());

		return cProduct;
	}
812623
public static CPOptionValue removeByC_K(long CPOptionId, String key)
		throws com.liferay.commerce.product.exception.NoSuchCPOptionValueException {
		return getPersistence().removeByC_K(CPOptionId, key);
	}
836634
@Override
	public void removeByCP_T(long CProductId, String type) {
		for (CPDefinitionLink cpDefinitionLink : findByCP_T(CProductId, type,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionLink);
		}
	}
861442
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CommerceDiscount commerceDiscount : findByUuid_C(uuid, companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceDiscount);
		}
	}
233180
@Override
	public void removeByUuid(String uuid) {
		for (CPDefinition cpDefinition : findByUuid(uuid, QueryUtil.ALL_POS,
				QueryUtil.ALL_POS, null)) {
			remove(cpDefinition);
		}
	}
45057
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CPDefinitionInventory cpDefinitionInventory : findByUuid_C(uuid,
				companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionInventory);
		}
	}
1255895
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CommerceAvailabilityEstimate commerceAvailabilityEstimate : findByUuid_C(
				uuid, companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceAvailabilityEstimate);
		}
	}
1041097
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CPDefinition cpDefinition : findByUuid_C(uuid, companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinition);
		}
	}
298311
@Override
	public java.util.List<com.liferay.commerce.product.model.CProduct> getCProductsByUuidAndCompanyId(
		String uuid, long companyId) {
		return _cProductLocalService.getCProductsByUuidAndCompanyId(uuid,
			companyId);
	}
892094
@Override
	@Transactional(enabled = false)
	public CProduct createCProduct(long CProductId) {
		return cProductPersistence.create(CProductId);
	}
1138826
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CProduct cProduct : findByUuid_C(uuid, companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cProduct);
		}
	}
547563
@Override
	public void removeByC_S(long CProductId, int status) {
		for (CPDefinition cpDefinition : findByC_S(CProductId, status,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinition);
		}
	}
183565
public static com.liferay.commerce.product.model.CProduct createCProduct(
		long CProductId) {
		return getService().createCProduct(CProductId);
	}
486974
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CPDisplayLayout cpDisplayLayout : findByUuid_C(uuid, companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDisplayLayout);
		}
	}
763269
@Override
	public List<CPDefinition> findByC_S(long CProductId, int status) {
		return findByC_S(CProductId, status, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
579397
@Override
	public void removeByCPSpecificationOptionId(long CPSpecificationOptionId) {
		for (CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue : findByCPSpecificationOptionId(
				CPSpecificationOptionId, QueryUtil.ALL_POS, QueryUtil.ALL_POS,
				null)) {
			remove(cpDefinitionSpecificationOptionValue);
		}
	}