code: public static CommerceAddressRestriction[] findByCommerceCountryId_PrevAndNext(
  		long commerceAddressRestrictionId, long commerceCountryId,
  		OrderByComparator<CommerceAddressRestriction> orderByComparator)
  		throws com.liferay.commerce.exception.NoSuchAddressRestrictionException {
  		return getPersistence()
  				   .findByCommerceCountryId_PrevAndNext(commerceAddressRestrictionId,
  			commerceCountryId, orderByComparator);
  	}
docs: Returns the commerce address restrictions before and after the current commerce address restriction in the ordered set where commerceCountryId = &#63;.
  
  @param commerceAddressRestrictionId the primary key of the current commerce address restriction
  @param commerceCountryId the commerce country ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next commerce address restriction
  @throws NoSuchAddressRestrictionException if a commerce address restriction with the primary key could not be found