code: public static CPDefinition[] findByCPTaxCategoryId_PrevAndNext(
  		long CPDefinitionId, long CPTaxCategoryId,
  		OrderByComparator<CPDefinition> orderByComparator)
  		throws com.liferay.commerce.product.exception.NoSuchCPDefinitionException {
  		return getPersistence()
  				   .findByCPTaxCategoryId_PrevAndNext(CPDefinitionId,
  			CPTaxCategoryId, orderByComparator);
  	}
docs: Returns the cp definitions before and after the current cp definition in the ordered set where CPTaxCategoryId = &#63;.
  
  @param CPDefinitionId the primary key of the current cp definition
  @param CPTaxCategoryId the cp tax category ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next cp definition
  @throws NoSuchCPDefinitionException if a cp definition with the primary key could not be found