[xwiki-dev] [vote] Missing searchDocumentsNames functionality
Vincent Massol
vincent at massol.net
Tue Jan 2 11:50:25 CET 2007
I don’t have an opinion on this yet. I’ll follow what you guys says is best.
-Vincent
From: Sergiu Dumitriu [mailto:sergiu.dumitriu at gmail.com]
Sent: dimanche 31 décembre 2006 02:35
To: xwiki-dev at objectweb.org
Subject: [xwiki-dev] [vote] Missing searchDocumentsNames functionality
com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames supports a selectColumns parameter which is supposed to specify which columns should be selected.
This parameter is used when building the select string, but the columns are not included in the returned list, so this parameter just makes a bigger select string and increases the execution time.
In order to include the specified columns in the result, I propose this:
- if selectedColumns is the empty string, keep the previous behavior (return a list of document names)
- if selectedColumns is not empty, then return a list of hashmaps, with the column name as the key, with a special name for the document name (for example docname)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/devs/attachments/20070102/451921ce/attachment.html
More information about the devs
mailing list