public static CommercePriceEntry[] findByCPInstanceUuid_PrevAndNext(
		long commercePriceEntryId, String CPInstanceUuid,
		OrderByComparator<CommercePriceEntry> orderByComparator)
		throws com.liferay.commerce.price.list.exception.NoSuchPriceEntryException {
		return getPersistence()
				   .findByCPInstanceUuid_PrevAndNext(commercePriceEntryId,
			CPInstanceUuid, orderByComparator);
	}
public static CommercePriceEntry [ ] findByCPInstanceUuid_PrevAndNext ( long commercePriceEntryId , String CPInstanceUuid , OrderByComparator < CommercePriceEntry > orderByComparator ) throws com . liferay . commerce . price . list . exception . NoSuchPriceEntryException { return getPersistence ( ) . findByCPInstanceUuid_PrevAndNext ( commercePriceEntryId , CPInstanceUuid , orderByComparator ) ; }
Returns the commerce price entries before and after the current commerce price entry in the ordered set where CPInstanceUuid = &#63;.

@param commercePriceEntryId the primary key of the current commerce price entry
@param CPInstanceUuid the cp instance uuid
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the previous, current, and next commerce price entry
@throws NoSuchPriceEntryException if a commerce price entry with the primary key could not be found