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