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