Hi,

I have a custom ResourceProvider that is surfacing resources under a path like 
/data/external for example and it appears to be working as expected if I 
attempt to resolve a specific path like /data/external/users/1 for example.

However, I would now like to run queries for resources across the whole tree - 
in other words if I ran a query like "select * from nt:base where jcr:mimeType 
like 'image/%'" I would l like to have resources from the JCR repository that 
match returned AND resources from the external data source that match also 
returned.

I have been attempting this using the ResourceResolver.findResources method and 
passing in the query, but it appears to only return the JCR based resources, 
which seems to roughly concur with the JavaDoc for that method which states 
"For JCR repository being used as storage, the query and lanuage parameters are 
used to create a JCR Query through the QueryManager".

Am I doing something wrong? Or is this the expected behavior? If it is the 
expected behavior, is there an alternative approach?

Thanks in advance.

==========================
Craig S. Dickson
Independent Consultant
http://craigsdickson.com
http://www.linkedin.com/in/craigsdickson










Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to