code: @Override
  	public CommerceNotificationTemplate[] findByUuid_PrevAndNext(
  		long commerceNotificationTemplateId, String uuid,
  		OrderByComparator<CommerceNotificationTemplate> orderByComparator)
  		throws NoSuchNotificationTemplateException {
  		CommerceNotificationTemplate commerceNotificationTemplate = findByPrimaryKey(commerceNotificationTemplateId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CommerceNotificationTemplate[] array = new CommerceNotificationTemplateImpl[3];
  
  			array[0] = getByUuid_PrevAndNext(session,
  					commerceNotificationTemplate, uuid, orderByComparator, true);
  
  			array[1] = commerceNotificationTemplate;
  
  			array[2] = getByUuid_PrevAndNext(session,
  					commerceNotificationTemplate, uuid, orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}
docs: Returns the commerce notification templates before and after the current commerce notification template in the ordered set where uuid = &#63;.
  
  @param commerceNotificationTemplateId the primary key of the current commerce notification template
  @param uuid the uuid
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next commerce notification template
  @throws NoSuchNotificationTemplateException if a commerce notification template with the primary key could not be found