code: public static CPDefinitionOptionValueRel[] findByCompanyId_PrevAndNext(
  		long CPDefinitionOptionValueRelId, long companyId,
  		OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
  		throws com.liferay.commerce.product.exception.NoSuchCPDefinitionOptionValueRelException {
  		return getPersistence()
  				   .findByCompanyId_PrevAndNext(CPDefinitionOptionValueRelId,
  			companyId, orderByComparator);
  	}
docs: Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where companyId = &#63;.
  
  @param CPDefinitionOptionValueRelId the primary key of the current cp definition option value rel
  @param companyId the company 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