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