public static CPDefinition findByLtD_S_Last(Date displayDate, int status,
		OrderByComparator<CPDefinition> orderByComparator)
		throws com.liferay.commerce.product.exception.NoSuchCPDefinitionException {
		return getPersistence()
				   .findByLtD_S_Last(displayDate, status, orderByComparator);
	}
public static CPDefinition findByLtD_S_Last ( Date displayDate , int status , OrderByComparator < CPDefinition > orderByComparator ) throws com . liferay . commerce . product . exception . NoSuchCPDefinitionException { return getPersistence ( ) . findByLtD_S_Last ( displayDate , status , orderByComparator ) ; }
Returns the last cp definition 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 last matching cp definition
@throws NoSuchCPDefinitionException if a matching cp definition could not be found