code: public static CPDefinitionLink fetchByCPD_T_Last(long CPDefinitionId,
  		String type, OrderByComparator<CPDefinitionLink> orderByComparator) {
  		return getPersistence()
  				   .fetchByCPD_T_Last(CPDefinitionId, type, orderByComparator);
  	}
docs: Returns the last cp definition link in the ordered set where CPDefinitionId = &#63; and type = &#63;.
  
  @param CPDefinitionId the cp definition ID
  @param type the type
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the last matching cp definition link, or <code>null</code> if a matching cp definition link could not be found