Author: vmassol
Date: 2007-09-28 11:05:13 +0200 (Fri, 28 Sep 2007)
New Revision: 5125

Modified:
   
xwiki-platform/core/branches/xwiki-core-1.1/src/main/java/com/xpn/xwiki/api/XWiki.java
   
xwiki-platform/core/branches/xwiki-core-1.1/src/main/java/com/xpn/xwiki/store/XWikiStoreInterface.java
Log:
XWIKI-1770: Add new searchDocuments() API that accepts named HQL queries

* Fixed invalid javadoc

Merged from trunk (revs 5124)

Modified: 
xwiki-platform/core/branches/xwiki-core-1.1/src/main/java/com/xpn/xwiki/api/XWiki.java
===================================================================
--- 
xwiki-platform/core/branches/xwiki-core-1.1/src/main/java/com/xpn/xwiki/api/XWiki.java
      2007-09-28 09:04:18 UTC (rev 5124)
+++ 
xwiki-platform/core/branches/xwiki-core-1.1/src/main/java/com/xpn/xwiki/api/XWiki.java
      2007-09-28 09:05:13 UTC (rev 5125)
@@ -432,7 +432,7 @@
      * </code></pre>
      *
      * @param parametrizedSqlClause the HQL where clause. For example <code>" 
where doc.fullName
-     *        <> ? and (doc.parent = ? or (doc.parent = ? and doc.web = ?))"
+     *        <> ? and (doc.parent = ? or (doc.parent = ? and doc.web = 
?))"</code>
      * @param nb the number of rows to return. If 0 then all rows are returned
      * @param start the number of rows to skip. If 0 don't skip any row
      * @param parameterValues the where clause values that replace the 
question marks (?)

Modified: 
xwiki-platform/core/branches/xwiki-core-1.1/src/main/java/com/xpn/xwiki/store/XWikiStoreInterface.java
===================================================================
--- 
xwiki-platform/core/branches/xwiki-core-1.1/src/main/java/com/xpn/xwiki/store/XWikiStoreInterface.java
      2007-09-28 09:04:18 UTC (rev 5124)
+++ 
xwiki-platform/core/branches/xwiki-core-1.1/src/main/java/com/xpn/xwiki/store/XWikiStoreInterface.java
      2007-09-28 09:05:13 UTC (rev 5125)
@@ -56,7 +56,7 @@
      * </code></pre>
      *
      * @param parametrizedSqlClause the HQL where clause. For example <code>" 
where doc.fullName
-     *        <> ? and (doc.parent = ? or (doc.parent = ? and doc.web = ?))"
+     *        <> ? and (doc.parent = ? or (doc.parent = ? and doc.web = 
?))"</code>
      * @param nb the number of rows to return. If 0 then all rows are returned
      * @param start the number of rows to skip. If 0 don't skip any row
      * @param parameterValues the where clause values that replace the 
question marks (?)

_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to