code: @Override
  	public CommerceAccount[] findByCompanyId_PrevAndNext(
  		long commerceAccountId, long companyId,
  		OrderByComparator<CommerceAccount> orderByComparator)
  		throws NoSuchAccountException {
  		CommerceAccount commerceAccount = findByPrimaryKey(commerceAccountId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CommerceAccount[] array = new CommerceAccountImpl[3];
  
  			array[0] = getByCompanyId_PrevAndNext(session, commerceAccount,
  					companyId, orderByComparator, true);
  
  			array[1] = commerceAccount;
  
  			array[2] = getByCompanyId_PrevAndNext(session, commerceAccount,
  					companyId, orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}
docs: Returns the commerce accounts before and after the current commerce account in the ordered set where companyId = &#63;.
  
  @param commerceAccountId the primary key of the current commerce account
  @param companyId the company ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next commerce account
  @throws NoSuchAccountException if a commerce account with the primary key could not be found