code: public static CProduct[] findByGroupId_PrevAndNext(long CProductId,
  		long groupId, OrderByComparator<CProduct> orderByComparator)
  		throws com.liferay.commerce.product.exception.NoSuchCProductException {
  		return getPersistence()
  				   .findByGroupId_PrevAndNext(CProductId, groupId,
  			orderByComparator);
  	}
docs: Returns the c products before and after the current c product in the ordered set where groupId = &#63;.
  
  @param CProductId the primary key of the current c product
  @param groupId the group ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next c product
  @throws NoSuchCProductException if a c product with the primary key could not be found