Returns all the commerce countries where groupId = &#63; and shippingAllowed = &#63; and active = &#63;.

@param groupId the group ID
@param shippingAllowed the shipping allowed
@param active the active
@return the matching commerce countries
332410
@Override
	public List<CommerceCountry> findByG_S_A(long groupId,
		boolean shippingAllowed, boolean active) {
		return findByG_S_A(groupId, shippingAllowed, active, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
577186
@Override
	public List<CommerceShipmentItem> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
960501
public static com.liferay.commerce.model.CommerceCountry fetchCommerceCountryByUuidAndGroupId(
		String uuid, long groupId) {
		return getService().fetchCommerceCountryByUuidAndGroupId(uuid, groupId);
	}
1014059
public static boolean checkGroupAllowed(String containerType, CmsGroupContainerBean groupContainer) {

        return !Sets.intersection(CmsContainer.splitType(containerType), groupContainer.getTypes()).isEmpty();
    }
1348938
@Override
	public List<CommerceCurrency> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
1366527
@Override
	public List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(
		long commerceShippingFixedOptionId) {
		return findByCommerceShippingFixedOptionId(commerceShippingFixedOptionId,
			QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
519163
@Override
	public com.liferay.commerce.model.CommerceCountry fetchCommerceCountryByUuidAndGroupId(
		String uuid, long groupId) {
		return _commerceCountryLocalService.fetchCommerceCountryByUuidAndGroupId(uuid,
			groupId);
	}
241623
public static java.util.List<com.liferay.commerce.model.CommerceCountry> getCommerceCountriesByUuidAndCompanyId(
		String uuid, long companyId) {
		return getService()
				   .getCommerceCountriesByUuidAndCompanyId(uuid, companyId);
	}
651725
@Override
	public List<CommerceCountry> getCommerceCountriesByUuidAndCompanyId(
		String uuid, long companyId) {
		return commerceCountryPersistence.findByUuid_C(uuid, companyId);
	}
847834
@Override
	public List<CommercePriceList> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
966209
@Override
	public List<CProduct> findByGroupId(long groupId) {
		return findByGroupId(groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
1311589
public function getAllowedShippingCountries()
    {
        $allowedShippingCountriesRaw = $this->getAllowedShippingCountriesRaw();
        $allowedShippingCountries    = [];

        foreach ($allowedShippingCountriesRaw as $countryCode => $states) {
            $states = empty($states) ? ['All' => true] : $states;
            $states = array_filter(
                array_keys($states),
                function ($st) {
                    return is_string($st) ? $st : 'All';
                }
            );

            $states = in_array('All', $states, true) ? ['All'] : $states;

            array_walk(
                $states,
                function (&$state, $key, $country) {
                    $state = $state === 'All' ? $state : $country . '-' . $state;
                },
                $countryCode
            );

            $allowedShippingCountries[] =
                [
                    'country' => $countryCode,
                    'state'   => $states
                ];
        }

        return $allowedShippingCountries;
    }
661716
@Override
	public List<CommerceCountry> findAll() {
		return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
417365
public static List<CommerceWishList> findByG_U_D(long groupId, long userId,
		boolean defaultWishList) {
		return getPersistence().findByG_U_D(groupId, userId, defaultWishList);
	}
933958
@Override
	public List<CommerceOrder> findByG_U_O(long groupId, long userId,
		int orderStatus) {
		return findByG_U_O(groupId, userId, orderStatus, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
1355421
@Override
	public void removeByG_S_A(long groupId, boolean shippingAllowed,
		boolean active) {
		for (CommerceCountry commerceCountry : findByG_S_A(groupId,
				shippingAllowed, active, QueryUtil.ALL_POS, QueryUtil.ALL_POS,
				null)) {
			remove(commerceCountry);
		}
	}
872111
public static List<CommerceCountry> findByG_B_A(long groupId,
		boolean billingAllowed, boolean active) {
		return getPersistence().findByG_B_A(groupId, billingAllowed, active);
	}