public static CommerceUserSegmentCriterion findByCommerceUserSegmentEntryId_Last(
		long commerceUserSegmentEntryId,
		OrderByComparator<CommerceUserSegmentCriterion> orderByComparator)
		throws com.liferay.commerce.user.segment.exception.NoSuchUserSegmentCriterionException {
		return getPersistence()
				   .findByCommerceUserSegmentEntryId_Last(commerceUserSegmentEntryId,
			orderByComparator);
	}
public static CommerceUserSegmentCriterion findByCommerceUserSegmentEntryId_Last ( long commerceUserSegmentEntryId , OrderByComparator < CommerceUserSegmentCriterion > orderByComparator ) throws com . liferay . commerce . user . segment . exception . NoSuchUserSegmentCriterionException { return getPersistence ( ) . findByCommerceUserSegmentEntryId_Last ( commerceUserSegmentEntryId , orderByComparator ) ; }
Returns the last commerce user segment criterion in the ordered set where commerceUserSegmentEntryId = &#63;.

@param commerceUserSegmentEntryId the commerce user segment entry ID
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the last matching commerce user segment criterion
@throws NoSuchUserSegmentCriterionException if a matching commerce user segment criterion could not be found