code: @Override
  	public CPDefinitionLink findByCPDefinitionId_Last(long CPDefinitionId,
  		OrderByComparator<CPDefinitionLink> orderByComparator)
  		throws NoSuchCPDefinitionLinkException {
  		CPDefinitionLink cpDefinitionLink = fetchByCPDefinitionId_Last(CPDefinitionId,
  				orderByComparator);
  
  		if (cpDefinitionLink != null) {
  			return cpDefinitionLink;
  		}
  
  		StringBundler msg = new StringBundler(4);
  
  		msg.append(_NO_SUCH_ENTITY_WITH_KEY);
  
  		msg.append("CPDefinitionId=");
  		msg.append(CPDefinitionId);
  
  		msg.append("}");
  
  		throw new NoSuchCPDefinitionLinkException(msg.toString());
  	}
docs: Returns the last cp definition link 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 last matching cp definition link
  @throws NoSuchCPDefinitionLinkException if a matching cp definition link could not be found