code: @Override
  	public CPAttachmentFileEntry findByLtD_S_First(Date displayDate,
  		int status, OrderByComparator<CPAttachmentFileEntry> orderByComparator)
  		throws NoSuchCPAttachmentFileEntryException {
  		CPAttachmentFileEntry cpAttachmentFileEntry = fetchByLtD_S_First(displayDate,
  				status, orderByComparator);
  
  		if (cpAttachmentFileEntry != null) {
  			return cpAttachmentFileEntry;
  		}
  
  		StringBundler msg = new StringBundler(6);
  
  		msg.append(_NO_SUCH_ENTITY_WITH_KEY);
  
  		msg.append("displayDate=");
  		msg.append(displayDate);
  
  		msg.append(", status=");
  		msg.append(status);
  
  		msg.append("}");
  
  		throw new NoSuchCPAttachmentFileEntryException(msg.toString());
  	}
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