code: public static CPDAvailabilityEstimate findByCommerceAvailabilityEstimateId_First(
  		long commerceAvailabilityEstimateId,
  		OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
  		throws com.liferay.commerce.exception.NoSuchCPDAvailabilityEstimateException {
  		return getPersistence()
  				   .findByCommerceAvailabilityEstimateId_First(commerceAvailabilityEstimateId,
  			orderByComparator);
  	}
docs: Returns the first cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = &#63;.
  
  @param commerceAvailabilityEstimateId the commerce availability estimate ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the first matching cpd availability estimate
  @throws NoSuchCPDAvailabilityEstimateException if a matching cpd availability estimate could not be found