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