public static CommerceOrderItem findByC_S_First(long commerceOrderId,
		boolean subscription,
		OrderByComparator<CommerceOrderItem> orderByComparator)
		throws com.liferay.commerce.exception.NoSuchOrderItemException {
		return getPersistence()
				   .findByC_S_First(commerceOrderId, subscription,
			orderByComparator);
	}
public static CommerceOrderItem findByC_S_First ( long commerceOrderId , boolean subscription , OrderByComparator < CommerceOrderItem > orderByComparator ) throws com . liferay . commerce . exception . NoSuchOrderItemException { return getPersistence ( ) . findByC_S_First ( commerceOrderId , subscription , orderByComparator ) ; }
Returns the first commerce order item in the ordered set where commerceOrderId = &#63; and subscription = &#63;.

@param commerceOrderId the commerce order ID
@param subscription the subscription
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the first matching commerce order item
@throws NoSuchOrderItemException if a matching commerce order item could not be found