@Override
	public CommerceOrder fetchByBillingAddressId_First(long billingAddressId,
		OrderByComparator<CommerceOrder> orderByComparator) {
		List<CommerceOrder> list = findByBillingAddressId(billingAddressId, 0,
				1, orderByComparator);

		if (!list.isEmpty()) {
			return list.get(0);
		}

		return null;
	}
@ Override public CommerceOrder fetchByBillingAddressId_First ( long billingAddressId , OrderByComparator < CommerceOrder > orderByComparator ) { List < CommerceOrder > list = findByBillingAddressId ( billingAddressId , 0 , 1 , orderByComparator ) ; if ( ! list . isEmpty ( ) ) { return list . get ( 0 ) ; } return null ; }
Returns the first commerce order in the ordered set where billingAddressId = &#63;.

@param billingAddressId the billing address ID
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the first matching commerce order, or <code>null</code> if a matching commerce order could not be found