There is no difference between the dms repository or any other repository. If 
you succeeded in reading data nodes you should be able to read dms nodes too. 
Have a look at the ContentUtil class [1] for instance. This is a very easy way 
to get the nodes you want.

In the end, when you've got the node you need, you can simply convert it to a 
DMS Document [2] object by using its constructor.

-will

[1] 
http://dev.magnolia-cms.com/ref/4.1.1/apidocs/info/magnolia/cms/util/ContentUtil.html
[2] 
http://dev.magnolia-cms.com/modules/magnolia-module-dms/1.2.6/magnolia-module-dms/apidocs/info/magnolia/module/dms/beans/Document.html


On 11.01.2010, at 16:01, Ionut G. Stan wrote:

> 
> Hi,
> 
> I'm trying to read the tree of folders and file names that are stored in the 
> DMS module, but I can't find any reference nor API that would help me achieve 
> that. I've looked at the HierarchyManager and Content classes, because I've 
> used them in the past to read node data, but I didn't find a way to read the 
> actual tree of nodes.
> 
> Can you please point me to some javadocs, or wiki entry, or whatever that 
> would help me with this issue?
> 
> Thanks in advance,
> -- 
> Ionut G. Stan
> Aspiring Software Craftsman  |  http://blog.igstan.ro/
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to