Hello Moritz,
unfortunately I'm not aware such class using Node-API. DMS is still pretty tied
up to Content-API. I would suggest you to create your own file util class to
retrieve such properties. I would export file, look how the properties are
stored...
[code]
<sv:node sv:name="document">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>mgnl:resource</sv:value>
</sv:property>
<sv:property sv:name="jcr:uuid" sv:type="String">
<sv:value>68a05a2c-d9b2-4ab2-b8c9-7ba78a79ac36</sv:value>
</sv:property>
<sv:property sv:name="extension" sv:type="String">
<sv:value>png</sv:value>
</sv:property>
<sv:property sv:name="fileName" sv:type="String">
<sv:value>magnolia-logo</sv:value>
</sv:property>
<sv:property sv:name="height" sv:type="String">
<sv:value>51</sv:value>
</sv:property>
<sv:property sv:name="jcr:data" sv:type="Binary">
...
[/code]
...and then use Node-API methods like Node.getNode(), Node.getProperty() to
retrieve them.
Hope that helps.
Roman
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=468190f4-5fa7-4dad-be23-9401c7142f6a
You are invited to Magnolia Conference. Less than a month to go! Register now:
http://www.magnolia-cms.com/conference/register.html
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------