@Override
	public CommerceShippingMethod findByG_A_Last(long groupId, boolean active,
		OrderByComparator<CommerceShippingMethod> orderByComparator)
		throws NoSuchShippingMethodException {
		CommerceShippingMethod commerceShippingMethod = fetchByG_A_Last(groupId,
				active, orderByComparator);

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

		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 NoSuchShippingMethodException(msg.toString());
	}
@ Override public CommerceShippingMethod findByG_A_Last ( long groupId , boolean active , OrderByComparator < CommerceShippingMethod > orderByComparator ) throws NoSuchShippingMethodException { CommerceShippingMethod commerceShippingMethod = fetchByG_A_Last ( groupId , active , orderByComparator ) ; if ( commerceShippingMethod != null ) { return commerceShippingMethod ; } 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 NoSuchShippingMethodException ( msg . toString ( ) ) ; }
Returns the last commerce shipping method 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 last matching commerce shipping method
@throws NoSuchShippingMethodException if a matching commerce shipping method could not be found