code: @Override
  	public CommerceDiscount fetchByLtE_S_First(Date expirationDate, int status,
  		OrderByComparator<CommerceDiscount> orderByComparator) {
  		List<CommerceDiscount> list = findByLtE_S(expirationDate, status, 0, 1,
  				orderByComparator);
  
  		if (!list.isEmpty()) {
  			return list.get(0);
  		}
  
  		return null;
  	}
docs: Returns the first commerce discount in the ordered set where expirationDate &lt; &#63; and status = &#63;.
  
  @param expirationDate the expiration date
  @param status the status
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the first matching commerce discount, or <code>null</code> if a matching commerce discount could not be found