code: @Override
  	public CPDefinitionLink fetchByCPD_T_Last(long CPDefinitionId, String type,
  		OrderByComparator<CPDefinitionLink> orderByComparator) {
  		int count = countByCPD_T(CPDefinitionId, type);
  
  		if (count == 0) {
  			return null;
  		}
  
  		List<CPDefinitionLink> list = findByCPD_T(CPDefinitionId, type,
  				count - 1, count, orderByComparator);
  
  		if (!list.isEmpty()) {
  			return list.get(0);
  		}
  
  		return null;
  	}
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