Using Content Web Services and JAVA API, I want to verify whether a specific Document exists in specific folder e.g. Document with Title "Doc XYZ" is in Folder "Folder ABC".
I want to know cleanest and best (performance) way of doing same as it would be a bulk verification process?
One I Know is fetching Node using getNodeByName(getID(), Name).But I feel this might be slow considering Folder ABC can be at any level in hierarchy and it might conatain many documents.
Please do suggest?