Returns all the cp definitions where CProductId = &#63; and status = &#63;.

@param CProductId the c product ID
@param status the status
@return the matching cp definitions
763269
@Override
	public List<CPDefinition> findByC_S(long CProductId, int status) {
		return findByC_S(CProductId, status, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
926698
@Override
	public List<CPDefinitionLink> findByCPD_T(long CPDefinitionId, String type) {
		return findByCPD_T(CPDefinitionId, type, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
548881
@Override
	public List<CPDefinitionOptionRel> findByCPDefinitionId(long CPDefinitionId) {
		return findByCPDefinitionId(CPDefinitionId, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
332168
public static CPDAvailabilityEstimate removeByCProductId(long CProductId)
		throws com.liferay.commerce.exception.NoSuchCPDAvailabilityEstimateException {
		return getPersistence().removeByCProductId(CProductId);
	}
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);
		}
	}
294175
@Override
	public List<CPInstance> findByC_ST(long CPDefinitionId, int status) {
		return findByC_ST(CPDefinitionId, status, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
1033397
@Override
	public List<CPDefinitionInventory> findAll() {
		return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
805845
@Override
	public List<CommerceWishListItem> findByCW_CP(long commerceWishListId,
		long CProductId) {
		return findByCW_CP(commerceWishListId, CProductId, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
133882
@Override
	public List<CPDefinitionLocalization> findByCPDefinitionId(
		long CPDefinitionId) {
		return findByCPDefinitionId(CPDefinitionId, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
215223
@Override
	public List<CPRuleAssetCategoryRel> findByCPRuleId(long CPRuleId) {
		return findByCPRuleId(CPRuleId, QueryUtil.ALL_POS, QueryUtil.ALL_POS,
			null);
	}
471205
@Override
	public List<CPDefinition> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
484183
public static String getStatusDescription(int status)
   {
      String description = "";

      Integer statusKey = new Integer(status);
      if (statusDescriptions.containsKey(statusKey))
      {
         description = statusDescriptions.get(statusKey);
      }

      return String.format("%s %d %s", WebDavConst.HTTPVER, status, description);
   }
1104310
@Override
	public List<CPDefinitionGroupedEntry> findAll() {
		return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
806753
@Override
	public com.liferay.commerce.product.model.CProduct createCProduct(
		long CProductId) {
		return _cProductLocalService.createCProduct(CProductId);
	}
809408
@Override
	public List<CPDefinitionSpecificationOptionValue> findAll() {
		return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
608572
public static List<CPDefinitionSpecificationOptionValue> findByUuid_C(
		String uuid, long companyId) {
		return getPersistence().findByUuid_C(uuid, companyId);
	}
298311
@Override
	public java.util.List<com.liferay.commerce.product.model.CProduct> getCProductsByUuidAndCompanyId(
		String uuid, long companyId) {
		return _cProductLocalService.getCProductsByUuidAndCompanyId(uuid,
			companyId);
	}