Hi,
Is there a way to get all the values for the properties of an object
attached to a page? For example, in my case, I need to get all the
properties that were defined and their values for an object which belongs to
XWiki.XWikiUsers class, given the name of the document (that the object
belongs to).
From my component I use DocumentAccessBridge, but the
only methods to get
properties values are the ones like:
public String getProperty(String documentName, String className, String
propertyName)
Is there a more elegant way to get all of them, besides calling
.getProperty() for each of the property names ? Or, is there a way to get
all the properties defined for a class? (i.e. for the XWiki.XWikiUsers
class).
Are there any other components which provide access to the data model? From
what I understood from here [0], the XWiki data model resides in the old
xwiki-core module, therefore must be used a bridge (like
DocumentAccessBridge).
[0] -
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents#HTheXWi…
Thanks a lot,
Anamaria