code: public static CPOptionCategory findByGroupId_First(long groupId,
  		OrderByComparator<CPOptionCategory> orderByComparator)
  		throws com.liferay.commerce.product.exception.NoSuchCPOptionCategoryException {
  		return getPersistence().findByGroupId_First(groupId, orderByComparator);
  	}
docs: Returns the first cp option category 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 option category
  @throws NoSuchCPOptionCategoryException if a matching cp option category could not be found