code: public static CommerceSubscriptionEntry[] findByG_U_PrevAndNext(
  		long commerceSubscriptionEntryId, long groupId, long userId,
  		OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
  		throws com.liferay.commerce.exception.NoSuchSubscriptionEntryException {
  		return getPersistence()
  				   .findByG_U_PrevAndNext(commerceSubscriptionEntryId, groupId,
  			userId, orderByComparator);
  	}
docs: Returns the commerce subscription entries before and after the current commerce subscription entry in the ordered set where groupId = &#63; and userId = &#63;.
  
  @param commerceSubscriptionEntryId the primary key of the current commerce subscription entry
  @param groupId the group ID
  @param userId the user ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next commerce subscription entry
  @throws NoSuchSubscriptionEntryException if a commerce subscription entry with the primary key could not be found