code: @Override
  	public CommerceShipmentItem[] findByGroupId_PrevAndNext(
  		long commerceShipmentItemId, long groupId,
  		OrderByComparator<CommerceShipmentItem> orderByComparator)
  		throws NoSuchShipmentItemException {
  		CommerceShipmentItem commerceShipmentItem = findByPrimaryKey(commerceShipmentItemId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CommerceShipmentItem[] array = new CommerceShipmentItemImpl[3];
  
  			array[0] = getByGroupId_PrevAndNext(session, commerceShipmentItem,
  					groupId, orderByComparator, true);
  
  			array[1] = commerceShipmentItem;
  
  			array[2] = getByGroupId_PrevAndNext(session, commerceShipmentItem,
  					groupId, orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}
docs: Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where groupId = &#63;.
  
  @param commerceShipmentItemId the primary key of the current commerce shipment item
  @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 shipment item
  @throws NoSuchShipmentItemException if a commerce shipment item with the primary key could not be found