Removed unneeded method, added javadoc
authorMartin Taal <martin.taal@openbravo.com>
Thu, 09 Dec 2010 18:34:01 +0100
changeset 9088 3322e18ae878
parent 9087 c4e24674dbf8
child 9089 35c9b49515ef
child 9090 b3ea04de2722
Removed unneeded method, added javadoc
src/org/openbravo/dal/service/OBQuery.java
--- a/src/org/openbravo/dal/service/OBQuery.java	Thu Dec 09 18:25:07 2010 +0100
+++ b/src/org/openbravo/dal/service/OBQuery.java	Thu Dec 09 18:34:01 2010 +0100
@@ -123,14 +123,6 @@
   }
 
   /**
-   * @return the underlying hibernate query object which provides an additional api (for example
-   *         scroll).
-   */
-  public Query createHibernateQuery() {
-    return createQuery();
-  }
-
-  /**
    * Makes it possible to get a {@link ScrollableResults} from the underlying Query object.
    * 
    * @param scrollMode
@@ -160,7 +152,9 @@
   }
 
   /**
-   * Computes the row number of a record which has the id which is passed in as a parameter.
+   * Computes the row number of a record which has the id which is passed in as a parameter. The
+   * rownumber computation takes into account the filter and sorting settings of the the OBQuery
+   * object.
    * 
    * @param targetId
    *          the record id