03-21-2017 10:09 AM
Hello, looking at the APIs for querying a directory, it looks like the ability to search on exact match is supported through org.nuxeo.ecm.directory. My question is: is there an alternate way to query directories? Specifically: say I have a vocabulary with 5 entries, ID values 1,2,3,4, & 5. Say I want to load from an incoming data set containing IDs 1,2,3,4,5,6 & 7. What I'm looking for is some way in Java to say:
select max(id) from my-vocabulary where id < 7. The query would return 5. Then I would know that I only need to load 6 and 7 from the incoming data set. Thank you.
03-21-2017 01:21 PM
No, directories don't provide such extended query mechanisms.
You're probably better off doing your query directly using JDBC, if you have a SQL directory.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.