Best way to read all pages/nodes along with metadata and page properties under /content | Community
Skip to main content
Level 4
October 16, 2015
Solved

Best way to read all pages/nodes along with metadata and page properties under /content

Hi,

We have a requirement to read all nodes/pages under /content with their metadata and page properties.what is the best way to do this ? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
JustinEd3Accepted solution
Employee
October 16, 2015

Hi,

You should use the visitor pattern for this. There is a base class in the JCR API expressly for this purpose: TraversingItemVisitor.Default.

Regards,

Justin

3 replies

JustinEd3Accepted solution
Employee
October 16, 2015

Hi,

You should use the visitor pattern for this. There is a base class in the JCR API expressly for this purpose: TraversingItemVisitor.Default.

Regards,

Justin

Translate
user00725Author
Level 4
October 16, 2015

Hi Justin, thanks for giving me the hint, can you please provide me a sample code or any adobe example post.

Translate