code: public static CommerceAvailabilityEstimate[] findByGroupId_PrevAndNext(
  		long commerceAvailabilityEstimateId, long groupId,
  		OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
  		throws com.liferay.commerce.exception.NoSuchAvailabilityEstimateException {
  		return getPersistence()
  				   .findByGroupId_PrevAndNext(commerceAvailabilityEstimateId,
  			groupId, orderByComparator);
  	}
docs: Returns the commerce availability estimates before and after the current commerce availability estimate in the ordered set where groupId = &#63;.
  
  @param commerceAvailabilityEstimateId the primary key of the current commerce availability estimate
  @param groupId the group ID
  @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