Last modified by Manuel Leduc on 2023/02/02

From version 9.2
edited by Vincent Massol
on 2008/07/31
Change comment: allow view right for XWiki.XWikiGuest
To version 10.1
edited by Jean-Vincent Drean
on 2008/07/31
Change comment: Added queryable object fields section

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.jvdrean
Content
... ... @@ -111,5 +111,24 @@
111 111  #set($hql="select doc.fullName from XWikiDocument doc, BaseObject obj, StringProperty prop where doc.fullName=obj.name and obj.className='XWiki.XWikiUsers' and prop.id.id=obj.id and prop.name='first_name' and prop.value='Jean-Vincent'")
112 112  #displayQuery($hql true)
113 113  
114 +1.1 Non-exhaustive list of queryable object fields
114 114  
116 +#macro(exval $value)Example of value : ~~$value~~#end
115 115  
118 +1.1.1 XWikiDocument
119 +
120 + * *XWikiDocument.fullName* : full name, including space and page name. #exval("Main.WebHome").
121 + * XWikiDocument.author : last editor. #exval("XWiki.Admin").
122 + * XWikiDocument.creator : first editor. #exval("XWiki.Admin").
123 +
124 +1.1.1 BaseObject
125 +
126 + * *BaseObject.id* : arbitrary unique id of the object. #exval("123456789").
127 + * BaseObject.className : class. #exval("XWiki.XWikiUsers").
128 +
129 +1.1.1 *Property (StringProperty, etc)
130 +
131 + * *Property.id.id* : unique id of the object the property belongs to. #exval("123456789").
132 + * Property.name : name of the property. #exval("first_name").
133 + * Property.value : value. #exval("John").
134 +

Get Connected