Returns the c product matching the UUID and group.

@param uuid the c product's UUID
@param groupId the primary key of the group
@return the matching c product, or <code>null</code> if a matching c product could not be found
174447
@Override
	public CProduct fetchCProductByUuidAndGroupId(String uuid, long groupId) {
		return cProductPersistence.fetchByUUID_G(uuid, groupId);
	}
241623
public static java.util.List<com.liferay.commerce.model.CommerceCountry> getCommerceCountriesByUuidAndCompanyId(
		String uuid, long companyId) {
		return getService()
				   .getCommerceCountriesByUuidAndCompanyId(uuid, companyId);
	}
252331
@Override
	public List<CommerceRegion> getCommerceRegionsByUuidAndCompanyId(
		String uuid, long companyId) {
		return commerceRegionPersistence.findByUuid_C(uuid, companyId);
	}
789686
@Override
	public com.liferay.commerce.product.model.CPOption fetchCPOptionByUuidAndGroupId(
		String uuid, long groupId) {
		return _cpOptionLocalService.fetchCPOptionByUuidAndGroupId(uuid, groupId);
	}
711860
public static com.liferay.commerce.model.CommerceRegion fetchCommerceRegionByUuidAndGroupId(
		String uuid, long groupId) {
		return getService().fetchCommerceRegionByUuidAndGroupId(uuid, groupId);
	}
856175
@Override
	public List<CommerceUserSegmentEntry> filterFindByGroupId(long groupId) {
		return filterFindByGroupId(groupId, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
414365
public static CPOptionCategory removeByUUID_G(String uuid, long groupId)
		throws com.liferay.commerce.product.exception.NoSuchCPOptionCategoryException {
		return getPersistence().removeByUUID_G(uuid, groupId);
	}
234633
public static List<CommerceSubscriptionEntry> 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);
	}
660104
@Override
	public int countByUUID_G(String uuid, long groupId) {
		FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G;

		Object[] finderArgs = new Object[] { uuid, groupId };

		Long count = (Long)finderCache.getResult(finderPath, finderArgs, this);

		if (count == null) {
			StringBundler query = new StringBundler(3);

			query.append(_SQL_COUNT_COMMERCENOTIFICATIONATTACHMENT_WHERE);

			boolean bindUuid = false;

			if (uuid == null) {
				query.append(_FINDER_COLUMN_UUID_G_UUID_1);
			}
			else if (uuid.equals("")) {
				query.append(_FINDER_COLUMN_UUID_G_UUID_3);
			}
			else {
				bindUuid = true;

				query.append(_FINDER_COLUMN_UUID_G_UUID_2);
			}

			query.append(_FINDER_COLUMN_UUID_G_GROUPID_2);

			String sql = query.toString();

			Session session = null;

			try {
				session = openSession();

				Query q = session.createQuery(sql);

				QueryPos qPos = QueryPos.getInstance(q);

				if (bindUuid) {
					qPos.add(uuid);
				}

				qPos.add(groupId);

				count = (Long)q.uniqueResult();

				finderCache.putResult(finderPath, finderArgs, count);
			}
			catch (Exception e) {
				finderCache.removeResult(finderPath, finderArgs);

				throw processException(e);
			}
			finally {
				closeSession(session);
			}
		}

		return count.intValue();
	}
219507
public static java.util.List<com.liferay.commerce.model.CommerceOrder> getCommerceOrdersByUuidAndCompanyId(
		String uuid, long companyId) {
		return getService().getCommerceOrdersByUuidAndCompanyId(uuid, companyId);
	}
1106641
@Override
	public com.liferay.commerce.product.model.CPDefinition fetchCPDefinitionByUuidAndGroupId(
		String uuid, long groupId) {
		return _cpDefinitionLocalService.fetchCPDefinitionByUuidAndGroupId(uuid,
			groupId);
	}
757697
@Override
	public List<CommerceVirtualOrderItem> findByUuid(String uuid) {
		return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
1257660
public static java.util.List<com.liferay.commerce.product.model.CPInstance> getCPInstancesByUuidAndCompanyId(
		String uuid, long companyId) {
		return getService().getCPInstancesByUuidAndCompanyId(uuid, companyId);
	}
948372
public static java.util.List<com.liferay.commerce.discount.model.CommerceDiscount> getCommerceDiscountsByUuidAndCompanyId(
		String uuid, long companyId) {
		return getService()
				   .getCommerceDiscountsByUuidAndCompanyId(uuid, companyId);
	}
1234718
@Override
	public CPOption removeByUUID_G(String uuid, long groupId)
		throws NoSuchCPOptionException {
		CPOption cpOption = findByUUID_G(uuid, groupId);

		return remove(cpOption);
	}
752275
public static List<CommercePriceEntry> findByUuid_C(String uuid,
		long companyId) {
		return getPersistence().findByUuid_C(uuid, companyId);
	}