[xwiki-users] Query field in XWiki.WatchListClass object
Hello, I'd like to subscribe for Watch list email notification for my full XWiki. I know that I can subscribe space per space, but it is too long and I want to setup this later on user creation. So, I take a look on objects attached to my page and I see that there is third way to subscribe: QUERY. But I found nothing about what QUERY should look like! Can somebody provide a sample? Regards, Arnaud.
On Fri, Oct 3, 2008 at 8:22 AM, Arnaud bourree <[email protected]>wrote:
So, I take a look on objects attached to my page and I see that there is third way to subscribe: QUERY.
But I found nothing about what QUERY should look like!
Is that what this is about -- http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise16#H3Pla... More about the language in XWQL design page<http://dev.xwiki.org/xwiki/bin/view/Design/XWikiQueryLanguage>.
The Main syntax and a translator to HQL are implemented. It currently requires programming rights to use in scripts. The current XWQL syntax is not the final one. We'd like some feedback to improve it. The language will fully replace current $xwiki.search methods in XE 1.7. The XWQL language is accessible via the Query Manager. Example: $xwiki.xWiki.store.queryManager.createQuery('from doc.object(XWiki.XWikiUsers) as user', 'xwql').execute().
-- Niels http://nielsmayer.com
You've looked at the right place, this field allows you to use a HQL query to retreive a list of watched documents. You can have a look at : http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples#HPubli... Example : where doc.space not like 'XWiki' and doc.space not like 'Scheduler' JV. On Fri, Oct 3, 2008 at 5:22 PM, Arnaud bourree <[email protected]> wrote:
Hello,
I'd like to subscribe for Watch list email notification for my full XWiki. I know that I can subscribe space per space, but it is too long and I want to setup this later on user creation. So, I take a look on objects attached to my page and I see that there is third way to subscribe: QUERY.
But I found nothing about what QUERY should look like!
Can somebody provide a sample?
Regards,
Arnaud. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Jean-Vincent Drean
Thanks Jean Vincent, exactly the kind of sample I expect. Arnaud. 2008/10/6 Jean-Vincent Drean <[email protected]>
You've looked at the right place, this field allows you to use a HQL query to retreive a list of watched documents. You can have a look at :
http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples#HPubli...
Example : where doc.space not like 'XWiki' and doc.space not like 'Scheduler'
JV.
On Fri, Oct 3, 2008 at 5:22 PM, Arnaud bourree <[email protected]> wrote:
Hello,
I'd like to subscribe for Watch list email notification for my full XWiki. I know that I can subscribe space per space, but it is too long and I want to setup this later on user creation. So, I take a look on objects attached to my page and I see that there is third way to subscribe: QUERY.
But I found nothing about what QUERY should look like!
Can somebody provide a sample?
Regards,
Arnaud. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Jean-Vincent Drean _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
Arnaud bourree -
Jean-Vincent Drean -
Niels Mayer