code: @Override
  	public CommerceTaxMethod[] findByGroupId_PrevAndNext(
  		long commerceTaxMethodId, long groupId,
  		OrderByComparator<CommerceTaxMethod> orderByComparator)
  		throws NoSuchTaxMethodException {
  		CommerceTaxMethod commerceTaxMethod = findByPrimaryKey(commerceTaxMethodId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CommerceTaxMethod[] array = new CommerceTaxMethodImpl[3];
  
  			array[0] = getByGroupId_PrevAndNext(session, commerceTaxMethod,
  					groupId, orderByComparator, true);
  
  			array[1] = commerceTaxMethod;
  
  			array[2] = getByGroupId_PrevAndNext(session, commerceTaxMethod,
  					groupId, orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}
docs: Returns the commerce tax methods before and after the current commerce tax method in the ordered set where groupId = &#63;.
  
  @param commerceTaxMethodId the primary key of the current commerce tax method
  @param groupId the group ID
  @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