DocumentIdIterator contentIterator = workspace.findByType(DocumentTypes.Content);
while(contentIterator.hasNext())
{
contentId = contentIterator.nextId();
System.out.println(workspace.getPathById(contentId, false, false));
}
while(contentIterator.hasNext())
{
contentId = contentIterator.nextId();
System.out.println(workspace.getPathById(contentId, false, false));
}
No comments:
Post a Comment