icfnext / aem-groovy-extension

OSGi bundle containing Groovy builders and metaclasses for Adobe Experience Manager.
http://icfnext.github.io/aem-groovy-extension/groovydocs/index.html
Other
4 stars 10 forks source link

Update GroovyExtensionMetaClassRegistry.groovy #2

Closed CptBartender closed 10 years ago

CptBartender commented 10 years ago

Extend node's get metaclass extension so that it supports retrieval of referenced nodes.

The method used to retrieve nodes by UUID from session is taken from Jackrabbit's code: http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/PropertyImpl.java

Currently, the Property API does not provide an easy way of retrieving referenced nodes if the property is multivalued.