AnsweredAssumed Answered

[Resolved]: List of immediate child files of a node

Question asked by unknown-user on Jan 8, 2009
Latest reply on Jan 13, 2009 by unknown-user
Hi All

How to get list of immediate child files of the given node.
I am trying with the following code–

import org.alfresco.service.cmr.model.FileFolderService;
org.alfresco.repo.model.filefolder.FileFolderServiceImpl;

FileFolderService ffs = new FileFolderServiceImpl();
java.util.List list = ffs.listfiles(NodeRef folderNodeRef);

But not able to import org.alfresco.service.cmr.model and org.alfresco.repo.model.filefolder  packages.What are the jar files required for these two packages?


Regards
Nishant

Outcomes