Hi正在介绍如何使用sling解决方案。= b)Y(套索:resourceType= c,套索:resourceSuperType= a)
/x的类型层次结构是c,b,a,而/y的层次结构是c,a,因为/y具有sling它本身有一个sling:resourceSuperType as b。是否也应该将sling解析为/b。超类型是如何被覆盖的,资源是如何解析为a而不是b的。
String query = "select * from nt:unstructured where jcr:path like '/content/some/path/%' and ( contains(sling:resourceType, 'resourceType1') or contains(sling:resourceType, 'resourceType2')) ";
Iterator<Resource