On 1/4/07, Vincent Massol <vincent(a)massol.net> wrote:
  Hi Sergiu,
 *From:* Sergiu Dumitriu [mailto:sergiu.dumitriu@gmail.com]
 *Sent:* mercredi 3 janvier 2007 22:49
 *To:* xwiki-dev(a)objectweb.org
 *Subject:* [xwiki-dev] [vote] doc.isTemplate
 Hi,
 I often see queries like "select something where doc.fullName !=
 XWiki.SomeTemplate", which is definitely not nice. I would like to add a
 new property to the document class, which indicates if the document is a
 template.
 With the 1.0 approaching I wonder if that's required now and whether this
 could be postponed to 1.1. I'm also worried this could break something.
 WDYT?
 
It shouldn't break anything, it just adds something new. It wasn't planned
for too soon, if I'll run out of bugs until the RC, I'll write this too. I
know other things are more important now.
Also, we should provide an api to select documents containing a certain type
  of objects, like:
 $xwiki.searchDocumentsWithObjects("XWiki.ArticleClass", [extraquery],
 [count, start])
 This should behave like the current searchDocuments, but it also writes
 the from and where parts of the query that tie the right type of object to
 the document, and filters out the template documents.
 +1, I can see the need for this.
 Thanks
 -Vincent