code: public static CommerceAddressRestriction[] findByC_C_PrevAndNext(
  		long commerceAddressRestrictionId, long classNameId, long classPK,
  		OrderByComparator<CommerceAddressRestriction> orderByComparator)
  		throws com.liferay.commerce.exception.NoSuchAddressRestrictionException {
  		return getPersistence()
  				   .findByC_C_PrevAndNext(commerceAddressRestrictionId,
  			classNameId, classPK, orderByComparator);
  	}
docs: Returns the commerce address restrictions before and after the current commerce address restriction in the ordered set where classNameId = &#63; and classPK = &#63;.
  
  @param commerceAddressRestrictionId the primary key of the current commerce address restriction
  @param classNameId the class name ID
  @param classPK the class pk
  @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