@Override
	public CommerceCountry findByG_A_First(long groupId, boolean active,
		OrderByComparator<CommerceCountry> orderByComparator)
		throws NoSuchCountryException {
		CommerceCountry commerceCountry = fetchByG_A_First(groupId, active,
				orderByComparator);

		if (commerceCountry != null) {
			return commerceCountry;
		}

		StringBundler msg = new StringBundler(6);

		msg.append(_NO_SUCH_ENTITY_WITH_KEY);

		msg.append("groupId=");
		msg.append(groupId);

		msg.append(", active=");
		msg.append(active);

		msg.append("}");

		throw new NoSuchCountryException(msg.toString());
	}
@ Override public CommerceCountry findByG_A_First ( long groupId , boolean active , OrderByComparator < CommerceCountry > orderByComparator ) throws NoSuchCountryException { CommerceCountry commerceCountry = fetchByG_A_First ( groupId , active , orderByComparator ) ; if ( commerceCountry != null ) { return commerceCountry ; } StringBundler msg = new StringBundler ( 6 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "groupId=" ) ; msg . append ( groupId ) ; msg . append ( ", active=" ) ; msg . append ( active ) ; msg . append ( "}" ) ; throw new NoSuchCountryException ( msg . toString ( ) ) ; }
Returns the first commerce country in the ordered set where groupId = &#63; and active = &#63;.

@param groupId the group ID
@param active the active
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the first matching commerce country
@throws NoSuchCountryException if a matching commerce country could not be found