Hi, On Tue, Sep 21, 2010 at 1:37 AM, [Ricardo Rodriguez] eBioTIC. <[email protected]> wrote:
Hi,
Please, as an new XWiki *user* is created as a new instance of XWiki.XWikiUser class, what class is instantiated to create a new XWiki *document*?
There is a difference between XWiki classes and Java classes. 'XWiki.XWikiUsers' class is an XWiki class and when a new user is created, a new XWiki document is created and an object of type 'XWiki.XWikiUsers' is attached to that XWiki document. A default XWiki document has no object of an XWiki class type attached. But, any XWiki instance is built on the top of the XWiki platform - written in Java (see the API reference: http://platform.xwiki.org/xwiki/bin/view/DevGuide/API/) . So, an XWiki document is an instance of type Document (see Document class inside the platform API). Raluca.
Thanks!
-- Ricardo RodrÃguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users