Author: epbernard
Date: 2007-07-29 11:59:13 -0400 (Sun, 29 Jul 2007)
New Revision: 12848
Modified:
trunk/HibernateExt/search/src/java/org/hibernate/search/FullTextQuery.java
Log:
Allow method chaining for setFirstResult and setMaxResults
Modified: trunk/HibernateExt/search/src/java/org/hibernate/search/FullTextQuery.java
===================================================================
--- trunk/HibernateExt/search/src/java/org/hibernate/search/FullTextQuery.java 2007-07-29
15:35:48 UTC (rev 12847)
+++ trunk/HibernateExt/search/src/java/org/hibernate/search/FullTextQuery.java 2007-07-29
15:59:13 UTC (rev 12848)
@@ -84,4 +84,14 @@
*/
void disableFullTextFilter(String name);
+ /**
+ * {link:Query#setFirstResult}
+ */
+ FullTextQuery setFirstResult(int firstResult);
+
+ /**
+ * {link:Query#setMaxResults}
+ */
+ FullTextQuery setMaxResults(int maxResults);
+
}
Show replies by date