code: public static CommerceTaxMethod[] findByG_A_PrevAndNext(
  		long commerceTaxMethodId, long groupId, boolean active,
  		OrderByComparator<CommerceTaxMethod> orderByComparator)
  		throws com.liferay.commerce.tax.exception.NoSuchTaxMethodException {
  		return getPersistence()
  				   .findByG_A_PrevAndNext(commerceTaxMethodId, groupId, active,
  			orderByComparator);
  	}
docs: Returns the commerce tax methods before and after the current commerce tax method in the ordered set where groupId = &#63; and active = &#63;.
  
  @param commerceTaxMethodId the primary key of the current commerce tax method
  @param groupId the group ID
  @param active the active
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next commerce tax method
  @throws NoSuchTaxMethodException if a commerce tax method with the primary key could not be found