public static CPInstance fetchByCPDefinitionId_First(long CPDefinitionId,
		OrderByComparator<CPInstance> orderByComparator) {
		return getPersistence()
				   .fetchByCPDefinitionId_First(CPDefinitionId,
			orderByComparator);
	}
public static CPInstance fetchByCPDefinitionId_First ( long CPDefinitionId , OrderByComparator < CPInstance > orderByComparator ) { return getPersistence ( ) . fetchByCPDefinitionId_First ( CPDefinitionId , orderByComparator ) ; }
Returns the first cp instance in the ordered set where CPDefinitionId = &#63;.

@param CPDefinitionId the cp definition ID
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the first matching cp instance, or <code>null</code> if a matching cp instance could not be found