code: @Override
  	public CommerceWishListItem[] findByCPInstanceUuid_PrevAndNext(
  		long commerceWishListItemId, String CPInstanceUuid,
  		OrderByComparator<CommerceWishListItem> orderByComparator)
  		throws NoSuchWishListItemException {
  		CommerceWishListItem commerceWishListItem = findByPrimaryKey(commerceWishListItemId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CommerceWishListItem[] array = new CommerceWishListItemImpl[3];
  
  			array[0] = getByCPInstanceUuid_PrevAndNext(session,
  					commerceWishListItem, CPInstanceUuid, orderByComparator,
  					true);
  
  			array[1] = commerceWishListItem;
  
  			array[2] = getByCPInstanceUuid_PrevAndNext(session,
  					commerceWishListItem, CPInstanceUuid, orderByComparator,
  					false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}
docs: Returns the commerce wish list items before and after the current commerce wish list item in the ordered set where CPInstanceUuid = &#63;.
  
  @param commerceWishListItemId the primary key of the current commerce wish list item
  @param CPInstanceUuid the cp instance uuid
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next commerce wish list item
  @throws NoSuchWishListItemException if a commerce wish list item with the primary key could not be found