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