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