jcr - Unique identifier for documents stored in Jackrabbit -
i m new apache jackrabbit , not concrete answer question far checked. hence m posting following question:
i need unique identifier documents stored in jackrabbit (irrespective of whether documents stored in file system or db). did found method getidentifier()
in javax.jcr.node
. not sure whether unique each document node inside repository , whether can rely on identfier fetch document updation or deletion?
basically m looking unique identifier 1 returned new idfsysobject().getobjectid().getid()
in case of documentum
through can track document.
the identifier indeed unique, might not stable (for instance, when document moved around).
you can make stable though adding mixin type "mix:referenceable" (see https://docs.adobe.com/docs/en/spec/jcr/2.0/3_repository_model.html#3.8%20referenceable%20nodes)
Comments
Post a Comment