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