code: public static CommerceOrderItem[] findByC_S_PrevAndNext(
  		long commerceOrderItemId, long commerceOrderId, boolean subscription,
  		OrderByComparator<CommerceOrderItem> orderByComparator)
  		throws com.liferay.commerce.exception.NoSuchOrderItemException {
  		return getPersistence()
  				   .findByC_S_PrevAndNext(commerceOrderItemId, commerceOrderId,
  			subscription, orderByComparator);
  	}
docs: Returns the commerce order items before and after the current commerce order item in the ordered set where commerceOrderId = &#63; and subscription = &#63;.
  
  @param commerceOrderItemId the primary key of the current commerce order item
  @param commerceOrderId the commerce order ID
  @param subscription the subscription
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next commerce order item
  @throws NoSuchOrderItemException if a commerce order item with the primary key could not be found