@Override
	public CommerceNotificationQueueEntry findByLtS_First(Date sentDate,
		OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
		throws NoSuchNotificationQueueEntryException {
		CommerceNotificationQueueEntry commerceNotificationQueueEntry = fetchByLtS_First(sentDate,
				orderByComparator);

		if (commerceNotificationQueueEntry != null) {
			return commerceNotificationQueueEntry;
		}

		StringBundler msg = new StringBundler(4);

		msg.append(_NO_SUCH_ENTITY_WITH_KEY);

		msg.append("sentDate=");
		msg.append(sentDate);

		msg.append("}");

		throw new NoSuchNotificationQueueEntryException(msg.toString());
	}
@ Override public CommerceNotificationQueueEntry findByLtS_First ( Date sentDate , OrderByComparator < CommerceNotificationQueueEntry > orderByComparator ) throws NoSuchNotificationQueueEntryException { CommerceNotificationQueueEntry commerceNotificationQueueEntry = fetchByLtS_First ( sentDate , orderByComparator ) ; if ( commerceNotificationQueueEntry != null ) { return commerceNotificationQueueEntry ; } StringBundler msg = new StringBundler ( 4 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "sentDate=" ) ; msg . append ( sentDate ) ; msg . append ( "}" ) ; throw new NoSuchNotificationQueueEntryException ( msg . toString ( ) ) ; }
Returns the first commerce notification queue entry in the ordered set where sentDate &lt; &#63;.

@param sentDate the sent date
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the first matching commerce notification queue entry
@throws NoSuchNotificationQueueEntryException if a matching commerce notification queue entry could not be found