public static CommerceOrder[] findByShippingAddressId_PrevAndNext(
		long commerceOrderId, long shippingAddressId,
		OrderByComparator<CommerceOrder> orderByComparator)
		throws com.liferay.commerce.exception.NoSuchOrderException {
		return getPersistence()
				   .findByShippingAddressId_PrevAndNext(commerceOrderId,
			shippingAddressId, orderByComparator);
	}
public static CommerceOrder [ ] findByShippingAddressId_PrevAndNext ( long commerceOrderId , long shippingAddressId , OrderByComparator < CommerceOrder > orderByComparator ) throws com . liferay . commerce . exception . NoSuchOrderException { return getPersistence ( ) . findByShippingAddressId_PrevAndNext ( commerceOrderId , shippingAddressId , orderByComparator ) ; }
Returns the commerce orders before and after the current commerce order in the ordered set where shippingAddressId = &#63;.

@param commerceOrderId the primary key of the current commerce order
@param shippingAddressId the shipping address ID
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the previous, current, and next commerce order
@throws NoSuchOrderException if a commerce order with the primary key could not be found