docs: @Override
  	public CommerceNotificationTemplateUserSegmentRel[] findByCommerceNotificationTemplateId_PrevAndNext(
  		long commerceNotificationTemplateUserSegmentRelId,
  		long commerceNotificationTemplateId,
  		OrderByComparator<CommerceNotificationTemplateUserSegmentRel> orderByComparator)
  		throws NoSuchNotificationTemplateUserSegmentRelException {
  		CommerceNotificationTemplateUserSegmentRel commerceNotificationTemplateUserSegmentRel =
  			findByPrimaryKey(commerceNotificationTemplateUserSegmentRelId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CommerceNotificationTemplateUserSegmentRel[] array = new CommerceNotificationTemplateUserSegmentRelImpl[3];
  
  			array[0] = getByCommerceNotificationTemplateId_PrevAndNext(session,
  					commerceNotificationTemplateUserSegmentRel,
  					commerceNotificationTemplateId, orderByComparator, true);
  
  			array[1] = commerceNotificationTemplateUserSegmentRel;
  
  			array[2] = getByCommerceNotificationTemplateId_PrevAndNext(session,
  					commerceNotificationTemplateUserSegmentRel,
  					commerceNotificationTemplateId, orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}