code: public static CPAttachmentFileEntry findByLtD_S_First(Date displayDate,
  		int status, OrderByComparator<CPAttachmentFileEntry> orderByComparator)
  		throws com.liferay.commerce.product.exception.NoSuchCPAttachmentFileEntryException {
  		return getPersistence()
  				   .findByLtD_S_First(displayDate, status, orderByComparator);
  	}
docs: Returns the first cp attachment file entry in the ordered set where displayDate &lt; &#63; and status = &#63;.
  
  @param displayDate the display date
  @param status the status
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the first matching cp attachment file entry
  @throws NoSuchCPAttachmentFileEntryException if a matching cp attachment file entry could not be found