After going through the CMIS specification, I think having application written using CMIS getObjectByPath
would provide uniqueness to application code as well as source of data instead of objectId.
Problem with objectId (unique id based on CMS product) is that it will differ from product to product.
What I see is most of the methods accept objectId and not the objectPath. So everytime I have to use getObjectByPath to fetch objectId and then use this id to call other methods, for e.g. getContentStream.
I think CMIS specification could be improved by having objectPath of an object as an additional parameter in addition to objectId.
Please provide your comments also.