code: @Override
  	public CommercePriceList[] findByLtD_S_PrevAndNext(
  		long commercePriceListId, Date displayDate, int status,
  		OrderByComparator<CommercePriceList> orderByComparator)
  		throws NoSuchPriceListException {
  		CommercePriceList commercePriceList = findByPrimaryKey(commercePriceListId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CommercePriceList[] array = new CommercePriceListImpl[3];
  
  			array[0] = getByLtD_S_PrevAndNext(session, commercePriceList,
  					displayDate, status, orderByComparator, true);
  
  			array[1] = commercePriceList;
  
  			array[2] = getByLtD_S_PrevAndNext(session, commercePriceList,
  					displayDate, status, orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}
docs: Returns the commerce price lists before and after the current commerce price list in the ordered set where displayDate &lt; &#63; and status = &#63;.
  
  @param commercePriceListId the primary key of the current commerce price list
  @param displayDate the display date
  @param status the status
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next commerce price list
  @throws NoSuchPriceListException if a commerce price list with the primary key could not be found