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