details: /erp/devel/pi/rev/3322e18ae878
changeset: 9074:3322e18ae878
user: Martin Taal <martin.taal <at> openbravo.com>
date: Thu Dec 09 18:34:01 2010 +0100
summary: Removed unneeded method, added javadoc
diffstat:
src/org/openbravo/dal/service/OBQuery.java | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
diffs (29 lines):
diff -r c4e24674dbf8 -r 3322e18ae878 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
------------------------------------------------------------------------------
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits