code: @Override
  	public CommerceNotificationTemplateUserSegmentRel findByCommerceNotificationTemplateId_First(
  		long commerceNotificationTemplateId,
  		OrderByComparator<CommerceNotificationTemplateUserSegmentRel> orderByComparator)
  		throws NoSuchNotificationTemplateUserSegmentRelException {
  		CommerceNotificationTemplateUserSegmentRel commerceNotificationTemplateUserSegmentRel =
  			fetchByCommerceNotificationTemplateId_First(commerceNotificationTemplateId,
  				orderByComparator);
  
  		if (commerceNotificationTemplateUserSegmentRel != null) {
  			return commerceNotificationTemplateUserSegmentRel;
  		}
  
  		StringBundler msg = new StringBundler(4);
  
  		msg.append(_NO_SUCH_ENTITY_WITH_KEY);
  
  		msg.append("commerceNotificationTemplateId=");
  		msg.append(commerceNotificationTemplateId);
  
  		msg.append("}");
  
  		throw new NoSuchNotificationTemplateUserSegmentRelException(msg.toString());
  	}
docs: Returns the first commerce notification template user segment rel in the ordered set where commerceNotificationTemplateId = &#63;.
  
  @param commerceNotificationTemplateId the commerce notification template ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the first matching commerce notification template user segment rel
  @throws NoSuchNotificationTemplateUserSegmentRelException if a matching commerce notification template user segment rel could not be found