code: @Override
  	public CPDefinitionLink fetchByCProductId_Last(long CProductId,
  		OrderByComparator<CPDefinitionLink> orderByComparator) {
  		int count = countByCProductId(CProductId);
  
  		if (count == 0) {
  			return null;
  		}
  
  		List<CPDefinitionLink> list = findByCProductId(CProductId, 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 CProductId = &#63;.
  
  @param CProductId the c product ID
  @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