code: public static CPDefinition findByCompanyId_Last(long companyId,
  		OrderByComparator<CPDefinition> orderByComparator)
  		throws com.liferay.commerce.product.exception.NoSuchCPDefinitionException {
  		return getPersistence()
  				   .findByCompanyId_Last(companyId, orderByComparator);
  	}
docs: Returns the last cp definition in the ordered set where companyId = &#63;.
  
  @param companyId the company ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the last matching cp definition
  @throws NoSuchCPDefinitionException if a matching cp definition could not be found